Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008391/0.0008391, allocations: 92.47 kB / 267.1 MB, free: 9.277 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.3648/0.3648, allocations: 43.46 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.31e-05, allocations: 8 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.541, allocations: 87.67 MB / 0.5584 GB, free: 16.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5413, allocations: 76.33 kB / 0.5585 GB, free: 16.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.5557, allocations: 5.941 MB / 0.5643 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5558, allocations: 0 / 0.5643 GB, free: 12.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5558, allocations: 4 kB / 0.5643 GB, free: 12.88 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004157/0.5562, allocations: 412.1 kB / 0.5647 GB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5563, allocations: 12.03 kB / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.5563, allocations: 15.94 kB / 0.5647 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.5566, allocations: 231.7 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.5566, allocations: 7.5 kB / 0.565 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.5567, allocations: 7.5 kB / 0.565 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5568, allocations: 65.16 kB / 0.565 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5568, allocations: 7.938 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5569, allocations: 1.375 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5569, allocations: 4 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.5569, allocations: 31.42 kB / 0.5651 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.5573, allocations: 338.8 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.5575, allocations: 74.28 kB / 0.5655 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.5575, allocations: 28.66 kB / 0.5655 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.5575, allocations: 160 / 0.5655 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.5577, allocations: 82.81 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.5577, allocations: 0 / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004511/0.5581, allocations: 210.9 kB / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.5582, allocations: 51.41 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.5584, allocations: 228 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.5584, allocations: 29.7 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.5584, allocations: 110.2 kB / 0.5662 GB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.5585, allocations: 35.36 kB / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.5585, allocations: 3.938 kB / 0.5662 GB, free: 10.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.5585, allocations: 332.8 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.5586, allocations: 31.31 kB / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.5587, allocations: 54.33 kB / 0.5666 GB, free: 10.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.5587, allocations: 31.97 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5587, allocations: 0 / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001551/0.5589, allocations: 133.2 kB / 0.5668 GB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5589, allocations: 8 kB / 0.5668 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5589, allocations: 32 / 0.5668 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5589, allocations: 4 kB / 0.5668 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.559, allocations: 27.94 kB / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5591, allocations: 0 / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.5591, allocations: 7.938 kB / 0.5668 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.5591, allocations: 3.875 kB / 0.5668 GB, free: 10.38 MB / 394.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 (13): * Single equations (assignments): 13 * 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.409e-05/0.5592, allocations: 112.5 kB / 0.5669 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.5592, allocations: 15.81 kB / 0.5669 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.5595, allocations: 158 kB / 0.5671 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5595, allocations: 7.984 kB / 0.5671 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5595, allocations: 3.953 kB / 0.5671 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5595, allocations: 0 / 0.5671 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.5599, allocations: 482.9 kB / 0.5676 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5599, allocations: 7.984 kB / 0.5676 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.56, allocations: 15.81 kB / 0.5676 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.56, allocations: 11.94 kB / 0.5676 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.56, allocations: 7.969 kB / 0.5676 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.56, allocations: 0 / 0.5676 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.56, allocations: 4 kB / 0.5676 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.5602, allocations: 253.8 kB / 0.5678 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.5603, allocations: 101.8 kB / 0.5679 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.5603, allocations: 7.984 kB / 0.5679 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.5604, allocations: 7.812 kB / 0.568 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5604, allocations: 7.984 kB / 0.568 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5604, allocations: 8 kB / 0.568 GB, free: 9.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.5606, allocations: 187.6 kB / 0.5681 GB, free: 9.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5606, allocations: 0 / 0.5681 GB, free: 9.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.5609, allocations: 39.81 kB / 0.5682 GB, free: 9.027 MB / 394.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 (13): * Single equations (assignments): 11 * 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.0008881/0.5618, allocations: 426 kB / 0.5686 GB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.5619, allocations: 86.86 kB / 0.5687 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5619, allocations: 0 / 0.5687 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.562, allocations: 51.67 kB / 0.5687 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.5622, allocations: 29.36 kB / 0.5688 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.5626, allocations: 227.6 kB / 0.569 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.5628, allocations: 0.7276 MB / 0.5697 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.5629, allocations: 24.75 kB / 0.5697 GB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.5629, allocations: 23.44 kB / 0.5697 GB, free: 7.531 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5629, allocations: 0 / 0.5697 GB, free: 7.531 MB / 394.7 MB Notification: Performance of Templates: time 0.003988/0.5669, allocations: 2.019 MB / 0.5717 GB, free: 5.543 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches