Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001776, allocations: 177.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008902, allocations: 102.3 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3742/0.3742, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003808, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.415, allocations: 61.9 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.5404, allocations: 89.3 MB / 0.5968 GB, free: 5.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5407, allocations: 83.89 kB / 0.5968 GB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.5557, allocations: 5.534 MB / 0.6023 GB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5557, allocations: 0 / 0.6023 GB, free: 220 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5557, allocations: 8 kB / 0.6023 GB, free: 212 kB / 410.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.0004998/0.5562, allocations: 414.9 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.5563, allocations: 12.03 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.5563, allocations: 7.906 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.5566, allocations: 210.8 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.5567, allocations: 3.953 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.5567, allocations: 8 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.5568, allocations: 53.67 kB / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5569, allocations: 4 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5569, allocations: 0 / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5569, allocations: 7.984 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.557, allocations: 19.98 kB / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.5574, allocations: 288.9 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.5576, allocations: 62.61 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.5576, allocations: 4 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.5577, allocations: 67.42 kB / 0.6034 GB, free: 14.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.5577, allocations: 0 / 0.6034 GB, free: 14.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.5583, allocations: 181.2 kB / 0.6035 GB, free: 14.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5584, allocations: 51.41 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.5585, allocations: 161 kB / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.5585, allocations: 33.7 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.5586, allocations: 100.1 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.5586, allocations: 23.7 kB / 0.6039 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5587, allocations: 3.938 kB / 0.6039 GB, free: 14.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5588, allocations: 323 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.5588, allocations: 23.98 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.5589, allocations: 37.64 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.559, allocations: 31.98 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.559, allocations: 0 / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.5592, allocations: 105.4 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5592, allocations: 9.25 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5592, allocations: 0 / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5592, allocations: 0 / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.5593, allocations: 16.36 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5593, allocations: 4 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.5594, allocations: 0 / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5594, allocations: 16.03 kB / 0.6044 GB, free: 13.75 MB / 426.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.000111/0.5595, allocations: 144.1 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.5596, allocations: 7.906 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5598, allocations: 114.4 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5598, allocations: 3.938 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5598, allocations: 0 / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5598, allocations: 0 / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.5603, allocations: 419.2 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5603, allocations: 0 / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.5604, allocations: 11.98 kB / 0.6051 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5604, allocations: 4 kB / 0.6051 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.5604, allocations: 0 / 0.6051 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5604, allocations: 0 / 0.6051 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5604, allocations: 0 / 0.6051 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.5606, allocations: 229.9 kB / 0.6053 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.5607, allocations: 93 kB / 0.6054 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.5607, allocations: 0 / 0.6054 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.5608, allocations: 12.36 kB / 0.6054 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.5609, allocations: 4 kB / 0.6054 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.5609, allocations: 3.953 kB / 0.6054 GB, free: 12.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.561, allocations: 135.2 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.561, allocations: 7.938 kB / 0.6056 GB, free: 12.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000242/0.5612, allocations: 28 kB / 0.6056 GB, free: 12.44 MB / 426.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.0009663/0.5622, allocations: 471.8 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.5624, allocations: 63.95 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5624, allocations: 0 / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.5625, allocations: 35.92 kB / 0.6062 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.5627, allocations: 26.47 kB / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.5632, allocations: 234.5 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5635, allocations: 0.7043 MB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.5636, allocations: 12.55 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.5636, allocations: 19.44 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5636, allocations: 3.938 kB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of Templates: time 0.004115/0.5677, allocations: 1.661 MB / 0.6087 GB, free: 9.359 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches