Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 213.7 MB, free: 1.668 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.0009189/0.0009192, allocations: 90.62 kB / 261.8 MB, free: 1.613 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.2207/0.2207, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.029e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5564, allocations: 86.95 MB / 0.5509 GB, free: 8.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5568, allocations: 73.84 kB / 0.5509 GB, free: 8.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.5702, allocations: 5.638 MB / 0.5564 GB, free: 3.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5702, allocations: 0 / 0.5564 GB, free: 3.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.5702, allocations: 11.45 kB / 0.5564 GB, free: 3.504 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.0004218/0.5707, allocations: 416.4 kB / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5707, allocations: 8.031 kB / 0.5568 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.5708, allocations: 11.91 kB / 0.5569 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.571, allocations: 225.6 kB / 0.5571 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5711, allocations: 0 / 0.5571 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.5711, allocations: 7.984 kB / 0.5571 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.764e-05/0.5712, allocations: 18.36 kB / 0.5571 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.5713, allocations: 47.75 kB / 0.5571 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5713, allocations: 4 kB / 0.5571 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5713, allocations: 3.938 kB / 0.5572 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5713, allocations: 4 kB / 0.5572 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.5717, allocations: 287.5 kB / 0.5574 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.5718, allocations: 48.62 kB / 0.5575 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.5718, allocations: 22.8 kB / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.5718, allocations: 0 / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.572, allocations: 65.7 kB / 0.5576 GB, free: 2.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.572, allocations: 0 / 0.5576 GB, free: 2.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004022/0.5724, allocations: 153.2 kB / 0.5577 GB, free: 2.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.5724, allocations: 59.33 kB / 0.5578 GB, free: 2.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.5726, allocations: 234.2 kB / 0.558 GB, free: 1.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5726, allocations: 25.7 kB / 0.558 GB, free: 1.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.5727, allocations: 114.7 kB / 0.5581 GB, free: 1.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.5727, allocations: 27.06 kB / 0.5581 GB, free: 1.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.5727, allocations: 0 / 0.5581 GB, free: 1.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.5728, allocations: 333.8 kB / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.5728, allocations: 18.94 kB / 0.5585 GB, free: 1.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.5729, allocations: 28.03 kB / 0.5585 GB, free: 1.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.5729, allocations: 22.73 kB / 0.5585 GB, free: 1.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5729, allocations: 4 kB / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001218/0.5731, allocations: 95.25 kB / 0.5586 GB, free: 1.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5731, allocations: 4 kB / 0.5586 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5731, allocations: 0 / 0.5586 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5731, allocations: 0 / 0.5586 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.5732, allocations: 20.17 kB / 0.5586 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5732, allocations: 0 / 0.5586 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.5733, allocations: 7.938 kB / 0.5587 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5733, allocations: 3.953 kB / 0.5587 GB, free: 1.223 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.509e-05/0.5734, allocations: 114.2 kB / 0.5588 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.5734, allocations: 15.81 kB / 0.5588 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.5736, allocations: 109.2 kB / 0.5589 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5736, allocations: 4 kB / 0.5589 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5736, allocations: 3.984 kB / 0.5589 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5736, allocations: 0 / 0.5589 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.574, allocations: 405.2 kB / 0.5593 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.574, allocations: 4.031 kB / 0.5593 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.574, allocations: 11.38 kB / 0.5593 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.574, allocations: 4 kB / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5741, allocations: 0 / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5741, allocations: 0 / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5741, allocations: 3.938 kB / 0.5593 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.5742, allocations: 221.4 kB / 0.5595 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.5743, allocations: 96.05 kB / 0.5596 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.5743, allocations: 4 kB / 0.5596 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.5744, allocations: 11.3 kB / 0.5596 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5745, allocations: 15.83 kB / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5745, allocations: 0 / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.5746, allocations: 196 kB / 0.5598 GB, free: 56 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5746, allocations: 0 / 0.5598 GB, free: 56 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000248/0.5749, allocations: 35.94 kB / 0.5599 GB, free: 20 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.0009386/0.5758, allocations: 394.2 kB / 0.5602 GB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.576, allocations: 53.73 kB / 0.5603 GB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.576, allocations: 0 / 0.5603 GB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/0.576, allocations: 36.03 kB / 0.5603 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.5763, allocations: 22.86 kB / 0.5603 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.5768, allocations: 216.7 kB / 0.5605 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.5771, allocations: 0.7275 MB / 0.5613 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.5772, allocations: 16.86 kB / 0.5613 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.5773, allocations: 22.86 kB / 0.5613 GB, free: 14.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5773, allocations: 0 / 0.5613 GB, free: 14.61 MB / 378.7 MB Notification: Performance of Templates: time 0.004446/0.5817, allocations: 1.732 MB / 0.563 GB, free: 12.89 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches