Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.978/1.978, allocations: 205.3 MB / 213.7 MB, free: 1.68 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.001039/0.001039, allocations: 90.62 kB / 261.7 MB, free: 1.617 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.2327/0.2327, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.861e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4353/0.5662, allocations: 86.92 MB / 0.5508 GB, free: 8.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5665, allocations: 77.17 kB / 0.5509 GB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.579, allocations: 5.238 MB / 0.556 GB, free: 3.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.5791, allocations: 7.984 kB / 0.556 GB, free: 3.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5791, allocations: 3.938 kB / 0.556 GB, free: 3.875 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.0003829/0.5795, allocations: 389 kB / 0.5564 GB, free: 3.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5795, allocations: 8.031 kB / 0.5564 GB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.5796, allocations: 15.84 kB / 0.5564 GB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.5798, allocations: 214 kB / 0.5566 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.5799, allocations: 0 / 0.5566 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.5799, allocations: 4 kB / 0.5566 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.548e-05/0.58, allocations: 19.23 kB / 0.5566 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.5801, allocations: 48.62 kB / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5801, allocations: 0 / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5801, allocations: 0 / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5801, allocations: 0 / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.5805, allocations: 279 kB / 0.557 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.5806, allocations: 44.89 kB / 0.557 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.5806, allocations: 20.22 kB / 0.557 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.5807, allocations: 0 / 0.557 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.5808, allocations: 65.41 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.5808, allocations: 3.938 kB / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004115/0.5812, allocations: 158.2 kB / 0.5572 GB, free: 2.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.5812, allocations: 55.34 kB / 0.5573 GB, free: 2.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.5814, allocations: 172.9 kB / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5814, allocations: 25.7 kB / 0.5575 GB, free: 2.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.5814, allocations: 100.6 kB / 0.5576 GB, free: 2.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.5815, allocations: 18.66 kB / 0.5576 GB, free: 2.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.5815, allocations: 0 / 0.5576 GB, free: 2.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.5815, allocations: 329 kB / 0.5579 GB, free: 1.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/0.5816, allocations: 22.86 kB / 0.5579 GB, free: 1.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.5816, allocations: 32.47 kB / 0.558 GB, free: 1.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.5817, allocations: 19.17 kB / 0.558 GB, free: 1.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5817, allocations: 4 kB / 0.558 GB, free: 1.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001126/0.5818, allocations: 87.94 kB / 0.5581 GB, free: 1.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5818, allocations: 4 kB / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5818, allocations: 8.031 kB / 0.5581 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5818, allocations: 0 / 0.5581 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.5819, allocations: 19.92 kB / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5819, allocations: 0 / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.582, allocations: 4 kB / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.582, allocations: 7.953 kB / 0.5581 GB, free: 1.707 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 5.663e-05/0.5821, allocations: 105.9 kB / 0.5582 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.5821, allocations: 11.91 kB / 0.5582 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.5823, allocations: 116.2 kB / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5823, allocations: 3.984 kB / 0.5583 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5823, allocations: 0 / 0.5583 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5823, allocations: 0 / 0.5583 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.5826, allocations: 389.2 kB / 0.5587 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5826, allocations: 0 / 0.5587 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.5826, allocations: 8 kB / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5827, allocations: 0 / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5827, allocations: 8.266 kB / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5827, allocations: 4.031 kB / 0.5587 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5827, allocations: 0 / 0.5587 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.5828, allocations: 215.4 kB / 0.5589 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.5829, allocations: 96.23 kB / 0.559 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5829, allocations: 0 / 0.559 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.583, allocations: 7.984 kB / 0.559 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.583, allocations: 15.89 kB / 0.559 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.5831, allocations: 7.984 kB / 0.5591 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.5831, allocations: 136.8 kB / 0.5592 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5831, allocations: 0 / 0.5592 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.5834, allocations: 31.98 kB / 0.5592 GB, free: 0.5742 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.0008014/0.5842, allocations: 394.9 kB / 0.5596 GB, free: 256 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.5843, allocations: 49.88 kB / 0.5596 GB, free: 220 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5843, allocations: 0 / 0.5596 GB, free: 220 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.5844, allocations: 34.98 kB / 0.5597 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.5847, allocations: 19.42 kB / 0.5597 GB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.585, allocations: 167.1 kB / 0.5598 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5853, allocations: 0.704 MB / 0.5605 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.5854, allocations: 24.91 kB / 0.5606 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.5855, allocations: 15.44 kB / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5855, allocations: 0 / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Templates: time 0.004438/0.5899, allocations: 1.617 MB / 0.5622 GB, free: 13.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches