Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 172 kB / 24.91 MB, free: 8.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.268/0.268, allocations: 32.82 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.736e-05, allocations: 2.859 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002851/0.002878, allocations: 1.671 MB / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.003688, allocations: 0.5452 MB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.003749, allocations: 4 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.003969, allocations: 23.84 kB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.004228, allocations: 79.56 kB / 325.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.0045, allocations: 115.5 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.004627, allocations: 59.84 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.004707, allocations: 7.984 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.627e-05/0.004763, allocations: 31.91 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.004816, allocations: 23.92 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.00483, allocations: 4 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.0049, allocations: 35.92 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.004938, allocations: 11.92 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.00496, allocations: 15.92 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.005095, allocations: 71.75 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005097, allocations: 0 / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005098, allocations: 0 / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005102, allocations: 0 / 326 MB, free: 6.93 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002981/0.0054, allocations: 289.6 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.00543, allocations: 12.03 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.005459, allocations: 8.938 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.00558, allocations: 137.6 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.005588, allocations: 384 / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.005605, allocations: 4.375 kB / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.005687, allocations: 58.89 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.005695, allocations: 4.172 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.005702, allocations: 4.125 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005708, allocations: 4 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.005727, allocations: 7.984 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.005938, allocations: 159.7 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.006062, allocations: 37.45 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.006078, allocations: 8.859 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.006095, allocations: 0 / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.006117, allocations: 38.64 kB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.006117, allocations: 0 / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002714/0.006389, allocations: 85.47 kB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.006413, allocations: 51.41 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.006496, allocations: 151.3 kB / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.006505, allocations: 29.7 kB / 327 MB, free: 5.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.006533, allocations: 96.05 kB / 327.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.006549, allocations: 11.91 kB / 327.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.006576, allocations: 21.7 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.006658, allocations: 322.8 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.006673, allocations: 7.938 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.006683, allocations: 4 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.006717, allocations: 19.67 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006718, allocations: 192 / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.856e-05/0.006776, allocations: 61.61 kB / 327.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006788, allocations: 4 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006792, allocations: 0 / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.006802, allocations: 4 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.006843, allocations: 8 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006846, allocations: 11.92 kB / 327.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.006862, allocations: 4.266 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.006867, allocations: 0 / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.006919, allocations: 116.7 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.006936, allocations: 7.938 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.169e-05/0.007028, allocations: 58.12 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00703, allocations: 0 / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007031, allocations: 7.938 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007033, allocations: 4 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.007219, allocations: 222.6 kB / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.007221, allocations: 0 / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.007252, allocations: 11.98 kB / 328 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007254, allocations: 0 / 328 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.007259, allocations: 4 kB / 328 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.00726, allocations: 0 / 328 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007262, allocations: 0 / 328 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.349e-05/0.007335, allocations: 143.7 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.007346, allocations: 15.94 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.007357, allocations: 8 kB / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.007384, allocations: 4 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.007407, allocations: 4 kB / 328.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007411, allocations: 3.984 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.186e-05/0.007443, allocations: 35.66 kB / 328.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007443, allocations: 0 / 328.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.007578, allocations: 15.94 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.008619, allocations: 0.5039 MB / 328.8 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.008695, allocations: 28.78 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.008699, allocations: 0 / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-05/0.008715, allocations: 16.8 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.008875, allocations: 15.98 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.00915, allocations: 175.2 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.009185, allocations: 66.33 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.966e-05/0.009214, allocations: 11.98 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.009264, allocations: 63.36 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/0.009265, allocations: 0 / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of Templates: time 0.002827/0.01209, allocations: 1.263 MB / 330.4 MB, free: 2.512 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.828487182967365]