Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, 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.428/1.428, 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.0009323/0.0009324, allocations: 89.56 kB / 267.1 MB, free: 9.277 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.3579/0.3579, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.833e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/0.4588, allocations: 87.13 MB / 0.5579 GB, free: 16.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.459, allocations: 73.28 kB / 0.558 GB, free: 16.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009726/0.4688, allocations: 4.222 MB / 0.5621 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4688, allocations: 0 / 0.5621 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.4688, allocations: 4 kB / 0.5621 GB, free: 14.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002843/0.4691, allocations: 393.8 kB / 0.5625 GB, free: 13.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4692, allocations: 8.031 kB / 0.5625 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.4692, allocations: 9.594 kB / 0.5625 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.4694, allocations: 202.4 kB / 0.5627 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4694, allocations: 0 / 0.5627 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.4694, allocations: 5.406 kB / 0.5627 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.4696, allocations: 60.62 kB / 0.5627 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4696, allocations: 1.375 kB / 0.5627 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4696, allocations: 0 / 0.5627 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4696, allocations: 0.5469 kB / 0.5627 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.4697, allocations: 22.88 kB / 0.5628 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.47, allocations: 324.2 kB / 0.5631 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.4701, allocations: 37.36 kB / 0.5631 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.4701, allocations: 16.73 kB / 0.5631 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.4701, allocations: 3.281 kB / 0.5631 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.4702, allocations: 31.92 kB / 0.5632 GB, free: 13.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4702, allocations: 0 / 0.5632 GB, free: 13.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004228/0.4706, allocations: 166.8 kB / 0.5633 GB, free: 13.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.4706, allocations: 51.41 kB / 0.5634 GB, free: 13.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4707, allocations: 157.8 kB / 0.5635 GB, free: 12.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.4708, allocations: 25.7 kB / 0.5635 GB, free: 12.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.4708, allocations: 104 kB / 0.5636 GB, free: 12.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.4708, allocations: 27.73 kB / 0.5637 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.4708, allocations: 0 / 0.5637 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.4709, allocations: 336 kB / 0.564 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.4709, allocations: 19.59 kB / 0.564 GB, free: 12.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.471, allocations: 20.11 kB / 0.564 GB, free: 12.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.471, allocations: 23.69 kB / 0.564 GB, free: 12.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.471, allocations: 0 / 0.564 GB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.4711, allocations: 88.39 kB / 0.5641 GB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4712, allocations: 5.547 kB / 0.5641 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4712, allocations: 0 / 0.5641 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4712, allocations: 3.953 kB / 0.5641 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4713, allocations: 28.59 kB / 0.5642 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4713, allocations: 4.062 kB / 0.5642 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.4714, allocations: 11.05 kB / 0.5642 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4714, allocations: 7.938 kB / 0.5642 GB, free: 12.3 MB / 394.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 () * 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 3.777e-05/0.4714, allocations: 105.4 kB / 0.5643 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.4715, allocations: 9.453 kB / 0.5643 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.4716, allocations: 115.5 kB / 0.5644 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4716, allocations: 3.953 kB / 0.5644 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4716, allocations: 0 / 0.5644 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4717, allocations: 0 / 0.5644 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.472, allocations: 382.3 kB / 0.5648 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.472, allocations: 4 kB / 0.5648 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.4721, allocations: 27.56 kB / 0.5648 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4721, allocations: 3.953 kB / 0.5648 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4721, allocations: 0 / 0.5648 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4721, allocations: 4 kB / 0.5648 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4721, allocations: 1.312 kB / 0.5648 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.4722, allocations: 189.4 kB / 0.565 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.4723, allocations: 90.23 kB / 0.5651 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4723, allocations: 6.047 kB / 0.5651 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.4724, allocations: 19.28 kB / 0.5651 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.4724, allocations: 7.141 kB / 0.5651 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4724, allocations: 3.812 kB / 0.5651 GB, free: 11.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.083e-05/0.4725, allocations: 132 kB / 0.5652 GB, free: 11.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4725, allocations: 0 / 0.5652 GB, free: 11.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000209/0.4727, allocations: 21.45 kB / 0.5653 GB, free: 11.28 MB / 394.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 () * 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.0007299/0.4735, allocations: 374.4 kB / 0.5656 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.4736, allocations: 52.33 kB / 0.5657 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4736, allocations: 0 / 0.5657 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.4737, allocations: 36.52 kB / 0.5657 GB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.4739, allocations: 16.97 kB / 0.5657 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.4742, allocations: 166.5 kB / 0.5659 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4743, allocations: 0.716 MB / 0.5666 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.4744, allocations: 23.3 kB / 0.5666 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4744, allocations: 16.45 kB / 0.5666 GB, free: 10.03 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4744, allocations: 0 / 0.5666 GB, free: 10.03 MB / 394.7 MB Notification: Performance of Templates: time 0.003017/0.4774, allocations: 1.255 MB / 0.5678 GB, free: 9.035 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches