Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 177.1 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.611/1.611, allocations: 205.3 MB / 213.7 MB, free: 1.676 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.0008453/0.0008453, allocations: 86.61 kB / 261.7 MB, free: 1.621 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.3104/0.3104, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.558e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5544, allocations: 86.96 MB / 0.5509 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5548, allocations: 78.98 kB / 0.5509 GB, free: 7.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.5678, allocations: 5.641 MB / 0.5564 GB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.5678, allocations: 0 / 0.5564 GB, free: 3.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5678, allocations: 7.609 kB / 0.5565 GB, free: 3.453 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.0004063/0.5682, allocations: 413 kB / 0.5568 GB, free: 3.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5683, allocations: 12.03 kB / 0.5569 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.5683, allocations: 7.906 kB / 0.5569 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.5686, allocations: 225 kB / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.5687, allocations: 7.312 kB / 0.5571 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.5687, allocations: 0 / 0.5571 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.082e-05/0.5688, allocations: 19.36 kB / 0.5571 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.125e-05/0.5689, allocations: 52.36 kB / 0.5572 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.5689, allocations: 3.938 kB / 0.5572 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.569, allocations: 0 / 0.5572 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.569, allocations: 4 kB / 0.5572 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.5693, allocations: 288 kB / 0.5574 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.5694, allocations: 49.31 kB / 0.5575 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.5695, allocations: 16.67 kB / 0.5575 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5695, allocations: 0 / 0.5575 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.5696, allocations: 74.77 kB / 0.5576 GB, free: 2.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.5696, allocations: 7.922 kB / 0.5576 GB, free: 2.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004408/0.5701, allocations: 152.3 kB / 0.5577 GB, free: 2.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.5701, allocations: 55.34 kB / 0.5578 GB, free: 2.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.5703, allocations: 231.4 kB / 0.558 GB, free: 1.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.5703, allocations: 33.08 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.5704, allocations: 107.4 kB / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.5704, allocations: 34.7 kB / 0.5582 GB, free: 1.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.5704, allocations: 0 / 0.5582 GB, free: 1.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.5705, allocations: 329.3 kB / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.5705, allocations: 14.62 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.5706, allocations: 28.16 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.5706, allocations: 22.73 kB / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5706, allocations: 0 / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001194/0.5708, allocations: 99.38 kB / 0.5586 GB, free: 1.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5708, allocations: 7.984 kB / 0.5586 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5708, allocations: 4 kB / 0.5587 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5708, allocations: 0 / 0.5587 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.5709, allocations: 12 kB / 0.5587 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5709, allocations: 0 / 0.5587 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.571, allocations: 4 kB / 0.5587 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.571, allocations: 15.25 kB / 0.5587 GB, free: 1.164 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 6.472e-05/0.5711, allocations: 102.4 kB / 0.5588 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.5711, allocations: 19.84 kB / 0.5588 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.5713, allocations: 114.1 kB / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5713, allocations: 0 / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5713, allocations: 0 / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5713, allocations: 0 / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.5716, allocations: 407.3 kB / 0.5593 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5716, allocations: 4 kB / 0.5593 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.5717, allocations: 8 kB / 0.5593 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5717, allocations: 8.016 kB / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.5717, allocations: 288 / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5717, allocations: 7.938 kB / 0.5593 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5717, allocations: 0 / 0.5593 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5719, allocations: 214.3 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.5719, allocations: 104.8 kB / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.572, allocations: 4 kB / 0.5596 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.572, allocations: 7.938 kB / 0.5596 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.5721, allocations: 15.88 kB / 0.5597 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5721, allocations: 7.562 kB / 0.5597 GB, free: 152 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.5722, allocations: 185.5 kB / 0.5598 GB, free: 0 / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5722, allocations: 0 / 0.5598 GB, free: 0 / 362.7 MB Notification: Performance of remove unused functions: time 0.0004724/0.5727, allocations: 39.48 kB / 0.5599 GB, free: 15.96 MB / 378.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.0009064/0.5736, allocations: 400.8 kB / 0.5603 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.5738, allocations: 60.25 kB / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5738, allocations: 0 / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.5738, allocations: 23.88 kB / 0.5603 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.5741, allocations: 26.78 kB / 0.5604 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.5745, allocations: 210.5 kB / 0.5606 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.5749, allocations: 0.7278 MB / 0.5613 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.575, allocations: 20.84 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.575, allocations: 18.62 kB / 0.5613 GB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.575, allocations: 0 / 0.5613 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Templates: time 0.004237/0.5793, allocations: 1.73 MB / 0.563 GB, free: 12.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches