Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.0009989, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.319/1.319, allocations: 223.2 MB / 241 MB, free: 11.87 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.0009238/0.0009237, allocations: 86.83 kB / 292.2 MB, free: 10.9 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.4465/0.4465, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004245, allocations: 16 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4287, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.5561, allocations: 89.97 MB / 0.5974 GB, free: 5.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.5563, allocations: 83.92 kB / 0.5975 GB, free: 5.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03323/0.5896, allocations: 12.79 MB / 0.61 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5896, allocations: 0 / 0.61 GB, free: 8.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.463e-05/0.5896, allocations: 16 kB / 0.61 GB, free: 8.254 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001231/0.5909, allocations: 0.8384 MB / 0.6108 GB, free: 7.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5909, allocations: 16.03 kB / 0.6109 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.591, allocations: 67.16 kB / 0.6109 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.5919, allocations: 463.5 kB / 0.6114 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.5919, allocations: 15.95 kB / 0.6114 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.592, allocations: 12 kB / 0.6114 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.5923, allocations: 201.5 kB / 0.6116 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5924, allocations: 7.984 kB / 0.6116 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.5924, allocations: 7.938 kB / 0.6116 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5924, allocations: 4 kB / 0.6116 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.5926, allocations: 91.92 kB / 0.6117 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5937, allocations: 0.8732 MB / 0.6125 GB, free: 5.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.5943, allocations: 266.4 kB / 0.6128 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5944, allocations: 0 / 0.6128 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.5947, allocations: 213.2 kB / 0.613 GB, free: 4.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.654e-06/0.5948, allocations: 3.938 kB / 0.613 GB, free: 4.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002451/0.5972, allocations: 1.172 MB / 0.6141 GB, free: 3.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.5973, allocations: 136.5 kB / 0.6143 GB, free: 3.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.5983, allocations: 0.8238 MB / 0.6151 GB, free: 2.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.5984, allocations: 37.7 kB / 0.6151 GB, free: 2.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.5986, allocations: 260.9 kB / 0.6154 GB, free: 2.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5987, allocations: 142.1 kB / 0.6155 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.5988, allocations: 8 kB / 0.6155 GB, free: 2.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5989, allocations: 386.7 kB / 0.6159 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.5992, allocations: 116.8 kB / 0.616 GB, free: 1.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.5995, allocations: 191.1 kB / 0.6162 GB, free: 1.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.5998, allocations: 128 kB / 0.6163 GB, free: 1.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5998, allocations: 4 kB / 0.6163 GB, free: 1.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000681/0.6004, allocations: 452.6 kB / 0.6167 GB, free: 1.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6005, allocations: 4 kB / 0.6167 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6005, allocations: 4 kB / 0.6167 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.6005, allocations: 8.125 kB / 0.6167 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.6008, allocations: 95.83 kB / 0.6168 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6008, allocations: 4 kB / 0.6168 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.601, allocations: 31.86 kB / 0.6169 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.601, allocations: 16 kB / 0.6169 GB, free: 0.8867 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003067/0.6013, allocations: 247.9 kB / 0.6171 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.6014, allocations: 71.16 kB / 0.6172 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009434/0.6024, allocations: 0.5261 MB / 0.6177 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6024, allocations: 4 kB / 0.6177 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6024, allocations: 4 kB / 0.6177 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6025, allocations: 3.984 kB / 0.6177 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.6045, allocations: 1.474 MB / 0.6191 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6045, allocations: 4 kB / 0.6192 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.6047, allocations: 75.8 kB / 0.6192 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6047, allocations: 4 kB / 0.6192 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.6048, allocations: 15.98 kB / 0.6192 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6048, allocations: 4 kB / 0.6192 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6048, allocations: 4 kB / 0.6193 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6058, allocations: 0.9441 MB / 0.6202 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.6062, allocations: 232 kB / 0.6204 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.6063, allocations: 27.94 kB / 0.6204 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.6066, allocations: 23.98 kB / 0.6204 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.6066, allocations: 35.95 kB / 0.6205 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6067, allocations: 20 kB / 0.6205 GB, free: 12.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008389/0.6075, allocations: 0.6669 MB / 0.6212 GB, free: 12.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6075, allocations: 0 / 0.6212 GB, free: 12.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006071/0.6082, allocations: 127.9 kB / 0.6213 GB, free: 12.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00152/0.6097, allocations: 0.5576 MB / 0.6218 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006943/0.6104, allocations: 330.6 kB / 0.6221 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6104, allocations: 0 / 0.6221 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.6107, allocations: 177 kB / 0.6223 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.6114, allocations: 111 kB / 0.6224 GB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.6133, allocations: 1.351 MB / 0.6237 GB, free: 9.789 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.614, allocations: 0.9304 MB / 0.6246 GB, free: 8.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.6143, allocations: 91.23 kB / 0.6247 GB, free: 8.746 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.6145, allocations: 67.42 kB / 0.6248 GB, free: 8.68 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6145, allocations: 0 / 0.6248 GB, free: 8.68 MB / 442.7 MB Notification: Performance of Templates: time 0.01061/0.6251, allocations: 5.898 MB / 0.6305 GB, free: 2.84 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches