Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000993/0.0009928, allocations: 178.1 kB / 17.41 MB, free: 4.293 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.724/1.724, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007666/0.0007666, allocations: 89.42 kB / 271.9 MB, free: 8.262 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.4024/0.4024, allocations: 43.57 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 58.85 MB / 491.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5648, allocations: 87.59 MB / 0.5655 GB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5651, allocations: 79.95 kB / 0.5655 GB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.5795, allocations: 5.234 MB / 0.5707 GB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5795, allocations: 0 / 0.5707 GB, free: 9.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.5795, allocations: 4 kB / 0.5707 GB, free: 9.426 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005492/0.5801, allocations: 410 kB / 0.571 GB, free: 8.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5801, allocations: 8.031 kB / 0.5711 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.5802, allocations: 16.83 kB / 0.5711 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.5805, allocations: 219.1 kB / 0.5713 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5805, allocations: 4.312 kB / 0.5713 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.5806, allocations: 4.375 kB / 0.5713 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5807, allocations: 53.05 kB / 0.5713 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5807, allocations: 192 / 0.5713 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5807, allocations: 7.938 kB / 0.5713 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5807, allocations: 0 / 0.5713 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.5808, allocations: 17.05 kB / 0.5714 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.581, allocations: 181.6 kB / 0.5715 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5812, allocations: 62.55 kB / 0.5716 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.5813, allocations: 16.86 kB / 0.5716 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.5814, allocations: 3.984 kB / 0.5716 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.5815, allocations: 63.39 kB / 0.5717 GB, free: 8.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.5815, allocations: 4 kB / 0.5717 GB, free: 8.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002792/0.5818, allocations: 98.77 kB / 0.5718 GB, free: 8.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.5819, allocations: 59.34 kB / 0.5718 GB, free: 8.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.5821, allocations: 182.2 kB / 0.572 GB, free: 7.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5821, allocations: 25.7 kB / 0.572 GB, free: 7.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.5822, allocations: 104.1 kB / 0.5721 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.5822, allocations: 11.81 kB / 0.5721 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.5822, allocations: 3.938 kB / 0.5721 GB, free: 7.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5824, allocations: 326.8 kB / 0.5725 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.5824, allocations: 15.98 kB / 0.5725 GB, free: 7.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.5825, allocations: 29.7 kB / 0.5725 GB, free: 7.328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.5826, allocations: 41.7 kB / 0.5725 GB, free: 7.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5826, allocations: 0 / 0.5725 GB, free: 7.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001621/0.5827, allocations: 89.47 kB / 0.5726 GB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5828, allocations: 11.97 kB / 0.5726 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5828, allocations: 0 / 0.5726 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5828, allocations: 4 kB / 0.5726 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.5829, allocations: 11.98 kB / 0.5727 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.5829, allocations: 4.797 kB / 0.5727 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.583, allocations: 4 kB / 0.5727 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.583, allocations: 0.9375 kB / 0.5727 GB, free: 7.156 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 () * Number of clocked 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 0.000106/0.5831, allocations: 132.2 kB / 0.5728 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.5831, allocations: 19.75 kB / 0.5728 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.5833, allocations: 89.98 kB / 0.5729 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5833, allocations: 4 kB / 0.5729 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5833, allocations: 0 / 0.5729 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5834, allocations: 3.984 kB / 0.5729 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.5835, allocations: 189.6 kB / 0.5731 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5835, allocations: 0 / 0.5731 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.5836, allocations: 11.92 kB / 0.5731 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5836, allocations: 7.875 kB / 0.5731 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5836, allocations: 4 kB / 0.5731 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5836, allocations: 4 kB / 0.5731 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5836, allocations: 0 / 0.5731 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.5838, allocations: 113 kB / 0.5732 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.5839, allocations: 89 kB / 0.5733 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.5839, allocations: 7.938 kB / 0.5733 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.5839, allocations: 0 / 0.5733 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.584, allocations: 8 kB / 0.5733 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.584, allocations: 4.859 kB / 0.5733 GB, free: 6.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.5841, allocations: 140.8 kB / 0.5735 GB, free: 6.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5841, allocations: 0 / 0.5735 GB, free: 6.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.5844, allocations: 27.92 kB / 0.5735 GB, free: 6.223 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008872/0.5853, allocations: 416.9 kB / 0.5739 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.5854, allocations: 43.98 kB / 0.5739 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5855, allocations: 0 / 0.5739 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.5855, allocations: 27.98 kB / 0.5739 GB, free: 5.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.5858, allocations: 27.92 kB / 0.574 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.5863, allocations: 253 kB / 0.5742 GB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.5866, allocations: 0.7004 MB / 0.5749 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.5866, allocations: 15.44 kB / 0.5749 GB, free: 4.793 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5866, allocations: 0 / 0.5749 GB, free: 4.793 MB / 394.7 MB Notification: Performance of Templates: time 0.003354/0.59, allocations: 1.699 MB / 0.5766 GB, free: 3.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches