Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007277/0.0007277, allocations: 89.52 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3297/0.3297, allocations: 43.46 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.566e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4566, allocations: 87.61 MB / 0.5584 GB, free: 1.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4569, allocations: 71.97 kB / 0.5584 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.471, allocations: 5.542 MB / 0.5639 GB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.471, allocations: 3.938 kB / 0.5639 GB, free: 11.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.471, allocations: 4 kB / 0.5639 GB, free: 11.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004555/0.4715, allocations: 407.3 kB / 0.5642 GB, free: 11.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4716, allocations: 12.03 kB / 0.5643 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.4716, allocations: 15.25 kB / 0.5643 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4719, allocations: 222.8 kB / 0.5645 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.472, allocations: 0 / 0.5645 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.472, allocations: 4 kB / 0.5645 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4721, allocations: 53.67 kB / 0.5645 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4721, allocations: 0 / 0.5645 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4721, allocations: 1.375 kB / 0.5645 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.4722, allocations: 4 kB / 0.5645 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/0.4722, allocations: 20 kB / 0.5646 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4726, allocations: 308.8 kB / 0.5649 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.4728, allocations: 58.62 kB / 0.5649 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.4728, allocations: 16.98 kB / 0.5649 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.4728, allocations: 3.938 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.473, allocations: 71.39 kB / 0.565 GB, free: 10.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.473, allocations: 0 / 0.565 GB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004167/0.4734, allocations: 161.2 kB / 0.5652 GB, free: 10.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4735, allocations: 52.72 kB / 0.5652 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4737, allocations: 198.6 kB / 0.5654 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4737, allocations: 29.7 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.4737, allocations: 112 kB / 0.5655 GB, free: 9.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.4738, allocations: 19.66 kB / 0.5656 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.4738, allocations: 4 kB / 0.5656 GB, free: 9.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4739, allocations: 334.8 kB / 0.5659 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.474, allocations: 20 kB / 0.5659 GB, free: 9.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.474, allocations: 30.38 kB / 0.5659 GB, free: 9.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.4741, allocations: 23.98 kB / 0.5659 GB, free: 9.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4741, allocations: 0 / 0.5659 GB, free: 9.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001414/0.4742, allocations: 101.5 kB / 0.566 GB, free: 9.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4743, allocations: 4 kB / 0.566 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4743, allocations: 8.031 kB / 0.5661 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4743, allocations: 3.984 kB / 0.5661 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.4744, allocations: 16.17 kB / 0.5661 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4744, allocations: 3.953 kB / 0.5661 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.4745, allocations: 7.938 kB / 0.5661 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4745, allocations: 4 kB / 0.5661 GB, free: 9.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.4746, allocations: 112 kB / 0.5662 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.4746, allocations: 15.81 kB / 0.5662 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.4748, allocations: 119.2 kB / 0.5663 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4748, allocations: 4 kB / 0.5663 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4748, allocations: 7.922 kB / 0.5663 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4748, allocations: 3.953 kB / 0.5663 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.4752, allocations: 411.5 kB / 0.5667 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4752, allocations: 3.938 kB / 0.5667 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.4753, allocations: 15.98 kB / 0.5667 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4753, allocations: 0 / 0.5667 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.4753, allocations: 32 / 0.5667 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4753, allocations: 11.95 kB / 0.5668 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4753, allocations: 192 / 0.5668 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.4755, allocations: 221.8 kB / 0.567 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.4756, allocations: 96.91 kB / 0.5671 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.4757, allocations: 11.95 kB / 0.5671 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.4757, allocations: 8 kB / 0.5671 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4758, allocations: 7.984 kB / 0.5671 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4758, allocations: 4 kB / 0.5671 GB, free: 8.203 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4759, allocations: 169.9 kB / 0.5673 GB, free: 8.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.476, allocations: 0 / 0.5673 GB, free: 8.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.4762, allocations: 39.92 kB / 0.5673 GB, free: 8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009288/0.4771, allocations: 425.9 kB / 0.5677 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.4773, allocations: 59.92 kB / 0.5678 GB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4773, allocations: 0 / 0.5678 GB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.4773, allocations: 28 kB / 0.5678 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4776, allocations: 20.17 kB / 0.5678 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.478, allocations: 203.5 kB / 0.568 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4784, allocations: 0.716 MB / 0.5687 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.4784, allocations: 20.84 kB / 0.5687 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.4785, allocations: 19.44 kB / 0.5687 GB, free: 6.539 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4785, allocations: 0 / 0.5687 GB, free: 6.539 MB / 394.7 MB Notification: Performance of Templates: time 0.004458/0.483, allocations: 1.761 MB / 0.5705 GB, free: 4.789 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches