Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 181.1 kB / 8.007 MB, free: 1.066 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.728/1.728, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 82.64 kB / 261.7 MB, free: 1.68 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.2112/0.2112, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.452e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 58.87 MB / 477.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5583, allocations: 86.92 MB / 0.5508 GB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5586, allocations: 78.98 kB / 0.5509 GB, free: 7.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.5709, allocations: 5.229 MB / 0.556 GB, free: 3.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.571, allocations: 0 / 0.556 GB, free: 3.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.571, allocations: 7.938 kB / 0.556 GB, free: 3.816 MB / 362.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.000425/0.5715, allocations: 392.8 kB / 0.5564 GB, free: 3.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5715, allocations: 8.031 kB / 0.5564 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.5716, allocations: 7.906 kB / 0.5564 GB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.5718, allocations: 217.9 kB / 0.5566 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5719, allocations: 0 / 0.5566 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.5719, allocations: 4 kB / 0.5566 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.665e-05/0.572, allocations: 22.48 kB / 0.5566 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.5721, allocations: 48.5 kB / 0.5567 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5721, allocations: 7.984 kB / 0.5567 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5721, allocations: 0 / 0.5567 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5721, allocations: 0 / 0.5567 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.5724, allocations: 273.3 kB / 0.557 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.5725, allocations: 49.12 kB / 0.557 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.5726, allocations: 21.05 kB / 0.557 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5726, allocations: 0 / 0.557 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.5727, allocations: 62.45 kB / 0.5571 GB, free: 2.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.5727, allocations: 4 kB / 0.5571 GB, free: 2.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.5732, allocations: 148.6 kB / 0.5572 GB, free: 2.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.5732, allocations: 55.34 kB / 0.5573 GB, free: 2.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.5733, allocations: 175 kB / 0.5574 GB, free: 2.297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.5734, allocations: 29.7 kB / 0.5575 GB, free: 2.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.5734, allocations: 103.4 kB / 0.5576 GB, free: 2.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.5734, allocations: 22.08 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.5734, allocations: 0 / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.5735, allocations: 325.2 kB / 0.5579 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.5735, allocations: 19.5 kB / 0.5579 GB, free: 1.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.5736, allocations: 33.59 kB / 0.558 GB, free: 1.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.5736, allocations: 22.23 kB / 0.558 GB, free: 1.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5736, allocations: 0 / 0.558 GB, free: 1.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001141/0.5737, allocations: 95.22 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5738, allocations: 4 kB / 0.5581 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5738, allocations: 4 kB / 0.5581 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5738, allocations: 0 / 0.5581 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.5739, allocations: 20.11 kB / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5739, allocations: 0 / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.574, allocations: 8 kB / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.574, allocations: 7.953 kB / 0.5581 GB, free: 1.645 MB / 362.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 6.634e-05/0.574, allocations: 113.7 kB / 0.5582 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.5741, allocations: 11.91 kB / 0.5582 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.5743, allocations: 107.5 kB / 0.5583 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5743, allocations: 0 / 0.5583 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5743, allocations: 0 / 0.5583 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5743, allocations: 3.984 kB / 0.5583 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.5746, allocations: 386.3 kB / 0.5587 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5746, allocations: 3.984 kB / 0.5587 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.5747, allocations: 11.98 kB / 0.5587 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5747, allocations: 0 / 0.5587 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5747, allocations: 4 kB / 0.5587 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5747, allocations: 0 / 0.5587 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5747, allocations: 0 / 0.5587 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.5749, allocations: 218.7 kB / 0.5589 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.5749, allocations: 100.1 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.575, allocations: 0 / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.575, allocations: 4 kB / 0.559 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.5751, allocations: 15.88 kB / 0.559 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5751, allocations: 0 / 0.559 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.482e-05/0.5752, allocations: 137.1 kB / 0.5592 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5752, allocations: 0 / 0.5592 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.5755, allocations: 31.98 kB / 0.5592 GB, free: 0.5195 MB / 362.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.0008756/0.5763, allocations: 387.8 kB / 0.5596 GB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.5765, allocations: 61.03 kB / 0.5596 GB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5765, allocations: 0 / 0.5596 GB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.5765, allocations: 30.56 kB / 0.5597 GB, free: 136 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5768, allocations: 19.42 kB / 0.5597 GB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.5772, allocations: 169.8 kB / 0.5598 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.5775, allocations: 0.7078 MB / 0.5605 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.5776, allocations: 20.55 kB / 0.5606 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5776, allocations: 15.44 kB / 0.5606 GB, free: 15.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5777, allocations: 0 / 0.5606 GB, free: 15.17 MB / 378.7 MB Notification: Performance of Templates: time 0.00434/0.582, allocations: 1.622 MB / 0.5622 GB, free: 13.56 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches