Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001427, allocations: 179 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.637/1.637, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008692/0.0008693, 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.303/0.303, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.948e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 58.87 MB / 477.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5465, allocations: 86.95 MB / 0.5509 GB, free: 8.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5468, allocations: 77.8 kB / 0.5509 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.5599, allocations: 5.46 MB / 0.5563 GB, free: 3.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.56, allocations: 0 / 0.5563 GB, free: 3.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.56, allocations: 0 / 0.5563 GB, free: 3.676 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.0004283/0.5605, allocations: 407.3 kB / 0.5567 GB, free: 3.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5605, allocations: 8.031 kB / 0.5567 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.5606, allocations: 11.81 kB / 0.5567 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.5609, allocations: 217.3 kB / 0.5569 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.5609, allocations: 4 kB / 0.5569 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.5609, allocations: 4 kB / 0.5569 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.094e-05/0.561, allocations: 18.61 kB / 0.5569 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.5611, allocations: 52.06 kB / 0.557 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5611, allocations: 0 / 0.557 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5611, allocations: 0 / 0.557 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5611, allocations: 4 kB / 0.557 GB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.5615, allocations: 277.8 kB / 0.5572 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.407e-05/0.5616, allocations: 52.94 kB / 0.5573 GB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.5616, allocations: 20.98 kB / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.5617, allocations: 0 / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.5618, allocations: 70.14 kB / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.5618, allocations: 0 / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004199/0.5622, allocations: 154.3 kB / 0.5575 GB, free: 2.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.5623, allocations: 55.34 kB / 0.5576 GB, free: 2.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.5624, allocations: 188.4 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.5624, allocations: 25.7 kB / 0.5578 GB, free: 2.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.5625, allocations: 106 kB / 0.5579 GB, free: 1.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.5625, allocations: 19.22 kB / 0.5579 GB, free: 1.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5625, allocations: 0 / 0.5579 GB, free: 1.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.5626, allocations: 325.3 kB / 0.5582 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.5627, allocations: 22.92 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.5627, allocations: 32.84 kB / 0.5582 GB, free: 1.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.5628, allocations: 25.98 kB / 0.5583 GB, free: 1.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5628, allocations: 0 / 0.5583 GB, free: 1.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.5629, allocations: 98.47 kB / 0.5584 GB, free: 1.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.563, allocations: 4 kB / 0.5584 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.563, allocations: 0 / 0.5584 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.563, allocations: 0 / 0.5584 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.5631, allocations: 19.98 kB / 0.5584 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.5631, allocations: 4.031 kB / 0.5584 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.5632, allocations: 3.938 kB / 0.5584 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5632, allocations: 8.141 kB / 0.5584 GB, free: 1.461 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 7.092e-05/0.5633, allocations: 110.3 kB / 0.5585 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.5633, allocations: 7.906 kB / 0.5585 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.5635, allocations: 114 kB / 0.5586 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5635, allocations: 4 kB / 0.5586 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5635, allocations: 0 / 0.5586 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5635, allocations: 4 kB / 0.5586 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.5639, allocations: 389.5 kB / 0.559 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5639, allocations: 0 / 0.559 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.5639, allocations: 15.19 kB / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.5639, allocations: 0 / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.5639, allocations: 4 kB / 0.559 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.564, allocations: 0 / 0.559 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.564, allocations: 0 / 0.559 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.5641, allocations: 219.5 kB / 0.5592 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.5642, allocations: 100.8 kB / 0.5593 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.5642, allocations: 7.75 kB / 0.5593 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.5643, allocations: 0 / 0.5593 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.5643, allocations: 11.94 kB / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.5644, allocations: 11.98 kB / 0.5594 GB, free: 476 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.5645, allocations: 158.6 kB / 0.5595 GB, free: 344 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5645, allocations: 0 / 0.5595 GB, free: 344 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.5647, allocations: 31.98 kB / 0.5595 GB, free: 312 kB / 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.000863/0.5656, allocations: 379.7 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.5658, allocations: 62.44 kB / 0.56 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5658, allocations: 0 / 0.56 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.5658, allocations: 35.48 kB / 0.56 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.5661, allocations: 19.98 kB / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.5665, allocations: 181.4 kB / 0.5602 GB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.5668, allocations: 0.708 MB / 0.5609 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.5669, allocations: 16.55 kB / 0.5609 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.567, allocations: 19.19 kB / 0.5609 GB, free: 14.95 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.567, allocations: 4 kB / 0.5609 GB, free: 14.95 MB / 378.7 MB Notification: Performance of Templates: time 0.004419/0.5714, allocations: 1.671 MB / 0.5626 GB, free: 13.3 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches