Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 180.9 kB / 8.006 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 1.663/1.663, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008402/0.0008402, allocations: 86.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.2438/0.2438, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.837e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5531, allocations: 87.18 MB / 0.5511 GB, free: 7.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5534, allocations: 76.86 kB / 0.5511 GB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.5668, allocations: 5.637 MB / 0.5567 GB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5668, allocations: 0 / 0.5567 GB, free: 3.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5669, allocations: 4 kB / 0.5567 GB, free: 3.547 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.0003871/0.5673, allocations: 385.5 kB / 0.557 GB, free: 3.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5673, allocations: 8.031 kB / 0.557 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.5674, allocations: 7.906 kB / 0.557 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.5676, allocations: 213.6 kB / 0.5572 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5677, allocations: 7.938 kB / 0.5572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.5677, allocations: 0 / 0.5572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.803e-05/0.5678, allocations: 27.42 kB / 0.5573 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.5679, allocations: 62.58 kB / 0.5573 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5679, allocations: 0 / 0.5573 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5679, allocations: 0 / 0.5573 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5679, allocations: 4 kB / 0.5573 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.5683, allocations: 262.8 kB / 0.5576 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5684, allocations: 52.94 kB / 0.5576 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.5684, allocations: 19.8 kB / 0.5577 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.5685, allocations: 3.984 kB / 0.5577 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.5686, allocations: 66.77 kB / 0.5577 GB, free: 2.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.5686, allocations: 3.938 kB / 0.5577 GB, free: 2.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004126/0.569, allocations: 149.5 kB / 0.5579 GB, free: 2.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.5691, allocations: 77.11 kB / 0.5579 GB, free: 2.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.5692, allocations: 141.2 kB / 0.5581 GB, free: 2.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5692, allocations: 25.7 kB / 0.5581 GB, free: 1.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.5692, allocations: 91.27 kB / 0.5582 GB, free: 1.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.5693, allocations: 27.58 kB / 0.5582 GB, free: 1.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.5693, allocations: 0 / 0.5582 GB, free: 1.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.5693, allocations: 329.8 kB / 0.5585 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.5694, allocations: 15.88 kB / 0.5585 GB, free: 1.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.5694, allocations: 37.83 kB / 0.5586 GB, free: 1.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.5694, allocations: 26.52 kB / 0.5586 GB, free: 1.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5695, allocations: 4 kB / 0.5586 GB, free: 1.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001149/0.5696, allocations: 84.34 kB / 0.5587 GB, free: 1.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5696, allocations: 8.062 kB / 0.5587 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5696, allocations: 0 / 0.5587 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5696, allocations: 7.953 kB / 0.5587 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.5697, allocations: 19.92 kB / 0.5587 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5697, allocations: 0 / 0.5587 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.5698, allocations: 4 kB / 0.5587 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5698, allocations: 4 kB / 0.5587 GB, free: 1.359 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 5.687e-05/0.5699, allocations: 105 kB / 0.5588 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.5699, allocations: 7.906 kB / 0.5588 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.5701, allocations: 116.2 kB / 0.559 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5701, allocations: 0 / 0.559 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5701, allocations: 7.953 kB / 0.559 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5701, allocations: 3.984 kB / 0.559 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.5704, allocations: 366.7 kB / 0.5593 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5704, allocations: 0 / 0.5593 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.5704, allocations: 11.94 kB / 0.5593 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5705, allocations: 0 / 0.5593 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.5705, allocations: 15.97 kB / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5705, allocations: 0 / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5705, allocations: 0 / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.5706, allocations: 207.1 kB / 0.5595 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.5707, allocations: 85.02 kB / 0.5596 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.5707, allocations: 11.88 kB / 0.5596 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.5708, allocations: 11.12 kB / 0.5596 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.5708, allocations: 4.188 kB / 0.5596 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5709, allocations: 11.98 kB / 0.5597 GB, free: 400 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.5709, allocations: 113.7 kB / 0.5598 GB, free: 300 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5709, allocations: 0 / 0.5598 GB, free: 300 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.5712, allocations: 39.5 kB / 0.5598 GB, free: 264 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.000928/0.5721, allocations: 428.8 kB / 0.5602 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.5723, allocations: 53.69 kB / 0.5603 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5723, allocations: 0 / 0.5603 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.5724, allocations: 23.19 kB / 0.5603 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.5726, allocations: 28.02 kB / 0.5603 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.573, allocations: 140.4 kB / 0.5604 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.5733, allocations: 0.704 MB / 0.5611 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.5734, allocations: 12.55 kB / 0.5611 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.5735, allocations: 19.42 kB / 0.5612 GB, free: 14.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5735, allocations: 0 / 0.5612 GB, free: 14.9 MB / 378.7 MB Notification: Performance of Templates: time 0.004664/0.5781, allocations: 1.838 MB / 0.563 GB, free: 13.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches