Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001916/0.001916, allocations: 176.7 kB / 8.008 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.674/1.674, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008795/0.0008795, allocations: 90.16 kB / 261.7 MB, free: 1.684 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.2134/0.2134, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.943e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5403, allocations: 86.79 MB / 0.5507 GB, free: 8.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.5407, allocations: 79.17 kB / 0.5508 GB, free: 8.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.5581, allocations: 5.482 MB / 0.5561 GB, free: 3.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5582, allocations: 4 kB / 0.5561 GB, free: 3.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.5582, allocations: 0 / 0.5561 GB, free: 3.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004496/0.5587, allocations: 408.9 kB / 0.5565 GB, free: 3.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5587, allocations: 8.031 kB / 0.5565 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.5588, allocations: 15.84 kB / 0.5566 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.5592, allocations: 228.7 kB / 0.5568 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5592, allocations: 4 kB / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.5593, allocations: 0 / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.751e-05/0.5594, allocations: 19.23 kB / 0.5568 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.5595, allocations: 41.19 kB / 0.5568 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5595, allocations: 0 / 0.5568 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.5595, allocations: 4 kB / 0.5568 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5595, allocations: 0 / 0.5568 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.5597, allocations: 172.4 kB / 0.557 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5599, allocations: 52.81 kB / 0.557 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.5599, allocations: 17.23 kB / 0.5571 GB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5599, allocations: 4 kB / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.5601, allocations: 62.17 kB / 0.5571 GB, free: 2.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.5601, allocations: 0 / 0.5571 GB, free: 2.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002264/0.5603, allocations: 79.73 kB / 0.5572 GB, free: 2.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5604, allocations: 55.34 kB / 0.5573 GB, free: 2.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.5606, allocations: 227.7 kB / 0.5575 GB, free: 2.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.5607, allocations: 33.7 kB / 0.5575 GB, free: 2.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.5607, allocations: 111.2 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.5608, allocations: 18.55 kB / 0.5576 GB, free: 2.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.5608, allocations: 3.938 kB / 0.5576 GB, free: 2.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.5609, allocations: 326.7 kB / 0.5579 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/0.5609, allocations: 11.75 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.561, allocations: 21.41 kB / 0.558 GB, free: 1.777 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.561, allocations: 23.73 kB / 0.558 GB, free: 1.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.561, allocations: 0 / 0.558 GB, free: 1.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001449/0.5612, allocations: 80.8 kB / 0.5581 GB, free: 1.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5612, allocations: 8 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5612, allocations: 160 / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5613, allocations: 0 / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.5614, allocations: 11.98 kB / 0.5581 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.5614, allocations: 3.984 kB / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.5615, allocations: 7.906 kB / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.5615, allocations: 7.5 kB / 0.5581 GB, free: 1.648 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 (7): * Single equations (assignments): 7 * 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.754e-05/0.5616, allocations: 105 kB / 0.5582 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.5616, allocations: 15.86 kB / 0.5582 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.5618, allocations: 102.4 kB / 0.5583 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5618, allocations: 0 / 0.5583 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5618, allocations: 0 / 0.5583 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5619, allocations: 0 / 0.5583 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.562, allocations: 189.2 kB / 0.5585 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.562, allocations: 0 / 0.5585 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.5621, allocations: 4 kB / 0.5585 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5621, allocations: 4 kB / 0.5585 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5621, allocations: 3.953 kB / 0.5585 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5621, allocations: 0 / 0.5585 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5621, allocations: 0 / 0.5585 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.5623, allocations: 112.4 kB / 0.5586 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.5624, allocations: 97 kB / 0.5587 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.5624, allocations: 3.938 kB / 0.5587 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.5625, allocations: 7.953 kB / 0.5587 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.5625, allocations: 11.73 kB / 0.5587 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5626, allocations: 4.188 kB / 0.5587 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.5628, allocations: 186.2 kB / 0.5589 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5628, allocations: 0 / 0.5589 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.5631, allocations: 23.94 kB / 0.5589 GB, free: 0.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001014/0.5642, allocations: 348.2 kB / 0.5593 GB, free: 0.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.5643, allocations: 38.98 kB / 0.5593 GB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5643, allocations: 0 / 0.5593 GB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.5644, allocations: 23.75 kB / 0.5593 GB, free: 468 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5647, allocations: 15.73 kB / 0.5594 GB, free: 456 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.5652, allocations: 200.7 kB / 0.5595 GB, free: 252 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.5655, allocations: 0.7197 MB / 0.5602 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.5656, allocations: 20.3 kB / 0.5603 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.5657, allocations: 15.44 kB / 0.5603 GB, free: 15.47 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5657, allocations: 0 / 0.5603 GB, free: 15.47 MB / 378.7 MB Notification: Performance of Templates: time 0.005599/0.5713, allocations: 1.539 MB / 0.5618 GB, free: 13.95 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches