Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, 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.738/1.738, allocations: 205.3 MB / 213.7 MB, free: 1.672 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.0008948/0.0008948, allocations: 94.61 kB / 261.8 MB, free: 1.609 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.2346/0.2346, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.243e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.148, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6462, allocations: 86.96 MB / 0.5509 GB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/0.6467, allocations: 76.03 kB / 0.5509 GB, free: 7.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.6611, allocations: 5.82 MB / 0.5566 GB, free: 3.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6612, allocations: 4 kB / 0.5566 GB, free: 3.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.6612, allocations: 4 kB / 0.5566 GB, free: 3.289 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004172/0.6616, allocations: 417.4 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6617, allocations: 8.031 kB / 0.557 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.6617, allocations: 15.03 kB / 0.557 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.662, allocations: 233.2 kB / 0.5573 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.6621, allocations: 0 / 0.5573 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.6621, allocations: 0 / 0.5573 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001004/0.6622, allocations: 39.09 kB / 0.5573 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.6623, allocations: 60.23 kB / 0.5574 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6623, allocations: 4 kB / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6623, allocations: 3.984 kB / 0.5574 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6624, allocations: 0 / 0.5574 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.6627, allocations: 298.2 kB / 0.5577 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.6628, allocations: 65.38 kB / 0.5577 GB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.6629, allocations: 24.17 kB / 0.5577 GB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.6629, allocations: 3.938 kB / 0.5577 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.6631, allocations: 70.5 kB / 0.5578 GB, free: 2.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.6631, allocations: 0 / 0.5578 GB, free: 2.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004411/0.6635, allocations: 173.8 kB / 0.558 GB, free: 1.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.6635, allocations: 51.41 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.6637, allocations: 230 kB / 0.5582 GB, free: 1.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.6637, allocations: 25.7 kB / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.6638, allocations: 117 kB / 0.5584 GB, free: 1.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.6638, allocations: 22.81 kB / 0.5584 GB, free: 1.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.6638, allocations: 0 / 0.5584 GB, free: 1.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.6639, allocations: 329.6 kB / 0.5587 GB, free: 1.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.6639, allocations: 22.81 kB / 0.5587 GB, free: 1.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.664, allocations: 33.28 kB / 0.5588 GB, free: 1.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.664, allocations: 38.36 kB / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6641, allocations: 0 / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001383/0.6642, allocations: 111 kB / 0.5589 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6642, allocations: 4 kB / 0.5589 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6642, allocations: 0 / 0.5589 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6643, allocations: 4 kB / 0.5589 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.6644, allocations: 19.92 kB / 0.5589 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6644, allocations: 240 / 0.5589 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.6644, allocations: 15.89 kB / 0.559 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.6644, allocations: 8 kB / 0.559 GB, free: 0.9141 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 (11): * Single equations (assignments): 11 * 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 6e-05/0.6645, allocations: 110.1 kB / 0.5591 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.6645, allocations: 11.91 kB / 0.5591 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.6647, allocations: 140.6 kB / 0.5592 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6648, allocations: 0 / 0.5592 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6648, allocations: 0 / 0.5592 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6648, allocations: 3.984 kB / 0.5592 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.6651, allocations: 428.6 kB / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6651, allocations: 0 / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.6652, allocations: 12 kB / 0.5596 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6652, allocations: 4 kB / 0.5596 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6652, allocations: 3.984 kB / 0.5596 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6652, allocations: 3.938 kB / 0.5596 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6652, allocations: 3.938 kB / 0.5597 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.6654, allocations: 232.2 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.6655, allocations: 104 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.6656, allocations: 0 / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.6656, allocations: 4 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.6657, allocations: 15.75 kB / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.6657, allocations: 4 kB / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001863/0.6659, allocations: 174.6 kB / 0.5602 GB, free: 15.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6659, allocations: 4 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.6662, allocations: 35.86 kB / 0.5602 GB, free: 15.68 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 (11): * Single equations (assignments): 9 * 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.0009078/0.6671, allocations: 401 kB / 0.5606 GB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.6673, allocations: 71.48 kB / 0.5607 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6673, allocations: 0 / 0.5607 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.6673, allocations: 35.62 kB / 0.5607 GB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.6676, allocations: 23.42 kB / 0.5607 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.6681, allocations: 222.9 kB / 0.5609 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.6684, allocations: 0.7233 MB / 0.5616 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.6685, allocations: 24.69 kB / 0.5616 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.6686, allocations: 19.44 kB / 0.5617 GB, free: 14.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6686, allocations: 3.938 kB / 0.5617 GB, free: 14.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004528/0.6731, allocations: 1.818 MB / 0.5634 GB, free: 12.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches