Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002076/0.002076, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 92.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2895/0.2895, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.195e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5512, allocations: 86.47 MB / 0.5503 GB, free: 12.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5515, allocations: 71.95 kB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01875/0.5703, allocations: 4.289 MB / 0.5546 GB, free: 8.477 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5703, allocations: 0 / 0.5546 GB, free: 8.477 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.5704, allocations: 4 kB / 0.5546 GB, free: 8.473 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005441/0.571, allocations: 382.8 kB / 0.555 GB, free: 8.055 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.571, allocations: 12.03 kB / 0.555 GB, free: 8.043 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.5711, allocations: 11.86 kB / 0.555 GB, free: 8.031 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.5714, allocations: 210.7 kB / 0.5552 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5714, allocations: 0 / 0.5552 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.5715, allocations: 4 kB / 0.5552 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/0.5716, allocations: 23.98 kB / 0.5552 GB, free: 7.758 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5717, allocations: 41.69 kB / 0.5553 GB, free: 7.711 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5718, allocations: 8 kB / 0.5553 GB, free: 7.703 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5718, allocations: 0 / 0.5553 GB, free: 7.703 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5718, allocations: 3.938 kB / 0.5553 GB, free: 7.699 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.5724, allocations: 293.2 kB / 0.5556 GB, free: 7.375 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5725, allocations: 42.56 kB / 0.5556 GB, free: 7.324 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.5726, allocations: 16.86 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.5726, allocations: 0 / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5727, allocations: 30.56 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.5727, allocations: 0 / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007037/0.5734, allocations: 173.3 kB / 0.5558 GB, free: 7.09 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5735, allocations: 51.41 kB / 0.5559 GB, free: 7.027 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.5737, allocations: 164.2 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.5737, allocations: 29.7 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.5738, allocations: 158.6 kB / 0.5562 GB, free: 6.672 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.5739, allocations: 23.7 kB / 0.5562 GB, free: 6.648 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.5739, allocations: 0 / 0.5562 GB, free: 6.648 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5741, allocations: 314.8 kB / 0.5565 GB, free: 6.332 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.5741, allocations: 23.94 kB / 0.5565 GB, free: 6.309 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.5742, allocations: 23.98 kB / 0.5566 GB, free: 6.285 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.5743, allocations: 23.98 kB / 0.5566 GB, free: 6.262 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5743, allocations: 0 / 0.5566 GB, free: 6.262 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002368/0.5745, allocations: 81.53 kB / 0.5567 GB, free: 6.176 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5746, allocations: 4 kB / 0.5567 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5746, allocations: 0 / 0.5567 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5746, allocations: 0 / 0.5567 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.5748, allocations: 23.98 kB / 0.5567 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5749, allocations: 11.94 kB / 0.5567 GB, free: 6.137 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.575, allocations: 11.94 kB / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.575, allocations: 4 kB / 0.5567 GB, free: 6.121 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.835e-05/0.5751, allocations: 101 kB / 0.5568 GB, free: 6.016 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.5752, allocations: 11.89 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.5755, allocations: 102.2 kB / 0.5569 GB, free: 5.895 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.5755, allocations: 7.984 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5755, allocations: 0 / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.5756, allocations: 7.953 kB / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.5762, allocations: 351.5 kB / 0.5573 GB, free: 5.492 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5762, allocations: 0 / 0.5573 GB, free: 5.492 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.5764, allocations: 35.84 kB / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.5764, allocations: 0 / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.5764, allocations: 0 / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5764, allocations: 4 kB / 0.5573 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.5764, allocations: 11.95 kB / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.5767, allocations: 183.4 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.5768, allocations: 89.02 kB / 0.5576 GB, free: 5.141 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.5768, allocations: 0 / 0.5576 GB, free: 5.141 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.577, allocations: 11.98 kB / 0.5576 GB, free: 5.129 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.5771, allocations: 19.94 kB / 0.5576 GB, free: 5.109 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5771, allocations: 0 / 0.5576 GB, free: 5.109 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.5773, allocations: 140.1 kB / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5773, allocations: 0 / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.5777, allocations: 20 kB / 0.5578 GB, free: 4.953 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001027/0.5787, allocations: 340.2 kB / 0.5581 GB, free: 4.648 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.579, allocations: 51.98 kB / 0.5581 GB, free: 4.598 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.579, allocations: 0 / 0.5581 GB, free: 4.598 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.5791, allocations: 31.94 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.5794, allocations: 11.98 kB / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.58, allocations: 193.9 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5804, allocations: 0.7197 MB / 0.5591 GB, free: 3.586 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.5805, allocations: 15.44 kB / 0.5591 GB, free: 3.57 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5805, allocations: 0 / 0.5591 GB, free: 3.57 MB / 395.1 MB Notification: Performance of Templates: time 0.005409/0.5859, allocations: 1.753 MB / 0.5608 GB, free: 1.82 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches