Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 174.1 kB / 16.76 MB, free: 5.055 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.684/1.684, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008177/0.0008175, allocations: 86.41 kB / 271.3 MB, free: 8.258 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.4119/0.4119, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5536, allocations: 87.72 MB / 0.5656 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.554, allocations: 75.95 kB / 0.5657 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5695, allocations: 5.329 MB / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5696, allocations: 0 / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.5696, allocations: 4 kB / 0.5709 GB, free: 8.922 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.000646/0.5702, allocations: 426.3 kB / 0.5713 GB, free: 8.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.919e-05/0.5703, allocations: 12.03 kB / 0.5713 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.5704, allocations: 12.75 kB / 0.5713 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.5709, allocations: 216.7 kB / 0.5715 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.5709, allocations: 4.375 kB / 0.5715 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.571, allocations: 8.359 kB / 0.5716 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.5712, allocations: 50.23 kB / 0.5716 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5712, allocations: 4.188 kB / 0.5716 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.5712, allocations: 11.94 kB / 0.5716 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.5713, allocations: 3.938 kB / 0.5716 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.5714, allocations: 21.48 kB / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.572, allocations: 281 kB / 0.5719 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.5723, allocations: 70.55 kB / 0.572 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.774e-05/0.5723, allocations: 24.84 kB / 0.572 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.5724, allocations: 3.984 kB / 0.572 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.5726, allocations: 67.3 kB / 0.5721 GB, free: 7.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.5726, allocations: 0 / 0.5721 GB, free: 7.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009151/0.5736, allocations: 182 kB / 0.5722 GB, free: 7.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.5736, allocations: 59.39 kB / 0.5723 GB, free: 7.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.574, allocations: 197.7 kB / 0.5725 GB, free: 7.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.574, allocations: 25.7 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5741, allocations: 104.1 kB / 0.5726 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.5742, allocations: 23.66 kB / 0.5726 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.5742, allocations: 7.938 kB / 0.5726 GB, free: 6.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.5744, allocations: 322.8 kB / 0.573 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.5745, allocations: 23.98 kB / 0.573 GB, free: 6.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.5746, allocations: 42.45 kB / 0.573 GB, free: 6.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.5748, allocations: 61.77 kB / 0.5731 GB, free: 6.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5748, allocations: 0 / 0.5731 GB, free: 6.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000274/0.5751, allocations: 109.5 kB / 0.5732 GB, free: 6.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5751, allocations: 4 kB / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5751, allocations: 0 / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.5752, allocations: 4 kB / 0.5732 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.5753, allocations: 16.03 kB / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5754, allocations: 4.5 kB / 0.5732 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.5755, allocations: 7.984 kB / 0.5732 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.5755, allocations: 7.938 kB / 0.5732 GB, free: 6.32 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 (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.0001672/0.5756, allocations: 126.6 kB / 0.5733 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.5757, allocations: 23.8 kB / 0.5734 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.576, allocations: 119 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5761, allocations: 4 kB / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5761, allocations: 0 / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5761, allocations: 0 / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.5767, allocations: 415.2 kB / 0.5739 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5767, allocations: 3.984 kB / 0.5739 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.5767, allocations: 11.94 kB / 0.5739 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5768, allocations: 0 / 0.5739 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5768, allocations: 4 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5768, allocations: 4.031 kB / 0.5739 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5768, allocations: 3.938 kB / 0.5739 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.5771, allocations: 220.1 kB / 0.5741 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.5772, allocations: 89.02 kB / 0.5742 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.5772, allocations: 0 / 0.5742 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.5773, allocations: 11.98 kB / 0.5742 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.5774, allocations: 11.94 kB / 0.5742 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5774, allocations: 4 kB / 0.5742 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.5776, allocations: 156.8 kB / 0.5744 GB, free: 5.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5776, allocations: 7.938 kB / 0.5744 GB, free: 5.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.5779, allocations: 27.94 kB / 0.5744 GB, free: 4.992 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) * Number of clocked states: 0 () * 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.001196/0.5791, allocations: 480 kB / 0.5749 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.5794, allocations: 67.89 kB / 0.5749 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5794, allocations: 0 / 0.5749 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.5795, allocations: 31.98 kB / 0.575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.5799, allocations: 19.98 kB / 0.575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.5804, allocations: 264.4 kB / 0.5752 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5807, allocations: 0.7082 MB / 0.5759 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.585e-05/0.5808, allocations: 12.56 kB / 0.5759 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.5809, allocations: 23.42 kB / 0.576 GB, free: 3.449 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5809, allocations: 0 / 0.576 GB, free: 3.449 MB / 394.7 MB Notification: Performance of Templates: time 0.004797/0.5857, allocations: 1.723 MB / 0.5776 GB, free: 1.738 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches