Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001075/0.001074, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2744/0.2744, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.53e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.6264, allocations: 87.62 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/0.6269, allocations: 73.38 kB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03757/0.6645, allocations: 5.358 MB / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6645, allocations: 0 / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.6646, allocations: 3.938 kB / 0.5637 GB, free: 11.44 MB / 378.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.0007622/0.6654, allocations: 393.6 kB / 0.5641 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.6654, allocations: 8.031 kB / 0.5641 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.6655, allocations: 7.906 kB / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.6661, allocations: 223.6 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6661, allocations: 4 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.6662, allocations: 0 / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.6664, allocations: 56 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.6665, allocations: 0 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.6665, allocations: 11.91 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6665, allocations: 0 / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6667, allocations: 14.94 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.6674, allocations: 297 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.6676, allocations: 56.69 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.6678, allocations: 16.11 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.6678, allocations: 4 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.6681, allocations: 66.14 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.6681, allocations: 4 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008968/0.669, allocations: 162.9 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.6691, allocations: 51.41 kB / 0.565 GB, free: 10.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.6695, allocations: 176.7 kB / 0.5652 GB, free: 9.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.6696, allocations: 33.06 kB / 0.5652 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6697, allocations: 167.3 kB / 0.5654 GB, free: 9.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.6698, allocations: 18.22 kB / 0.5654 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.6698, allocations: 2.812 kB / 0.5654 GB, free: 9.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.67, allocations: 318.8 kB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.6701, allocations: 18.44 kB / 0.5657 GB, free: 9.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.6703, allocations: 40.59 kB / 0.5657 GB, free: 9.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.6704, allocations: 26.98 kB / 0.5658 GB, free: 9.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6704, allocations: 0 / 0.5658 GB, free: 9.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003773/0.6708, allocations: 83.91 kB / 0.5658 GB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.6709, allocations: 8 kB / 0.5658 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6709, allocations: 0 / 0.5658 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6709, allocations: 4.031 kB / 0.5658 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.6712, allocations: 19.92 kB / 0.5659 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.6712, allocations: 7.953 kB / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.6714, allocations: 3.562 kB / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.6714, allocations: 4 kB / 0.5659 GB, free: 9.141 MB / 378.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 0.0001529/0.6716, allocations: 108.4 kB / 0.566 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.6717, allocations: 11.89 kB / 0.566 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.6722, allocations: 118.1 kB / 0.5661 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6723, allocations: 4 kB / 0.5661 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6723, allocations: 0 / 0.5661 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.6723, allocations: 7.938 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/0.6733, allocations: 408 kB / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6733, allocations: 0 / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6735, allocations: 12 kB / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6735, allocations: 0 / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.6735, allocations: 3.938 kB / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.6736, allocations: 11.98 kB / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6736, allocations: 0 / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.6741, allocations: 213.3 kB / 0.5667 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.6742, allocations: 89 kB / 0.5668 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.6743, allocations: 11.14 kB / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.6745, allocations: 0 / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.6746, allocations: 16.3 kB / 0.5669 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.6747, allocations: 7.938 kB / 0.5669 GB, free: 8.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000279/0.675, allocations: 144.3 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.675, allocations: 0 / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.6756, allocations: 37.28 kB / 0.567 GB, free: 7.961 MB / 378.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.001968/0.6776, allocations: 422.1 kB / 0.5674 GB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.678, allocations: 56.56 kB / 0.5675 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.678, allocations: 0 / 0.5675 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.6782, allocations: 31.12 kB / 0.5675 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.6788, allocations: 32.66 kB / 0.5676 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.6795, allocations: 198.3 kB / 0.5677 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.68, allocations: 0.7118 MB / 0.5684 GB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.6801, allocations: 15.44 kB / 0.5684 GB, free: 6.547 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6801, allocations: 0 / 0.5684 GB, free: 6.547 MB / 378.7 MB Notification: Performance of Templates: time 0.008164/0.6883, allocations: 1.939 MB / 0.5703 GB, free: 4.617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches