Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.001179, allocations: 184 kB / 15.76 MB, free: 6.363 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.696/1.696, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001042/0.001042, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2122/0.2122, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.5446, allocations: 87.72 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5449, allocations: 78.52 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5601, allocations: 5.377 MB / 0.5698 GB, free: 7.547 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5601, allocations: 0 / 0.5698 GB, free: 7.547 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.5602, allocations: 0 / 0.5698 GB, free: 7.547 MB / 378.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.0005564/0.5607, allocations: 416.9 kB / 0.5702 GB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5608, allocations: 12.03 kB / 0.5702 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.5608, allocations: 7.906 kB / 0.5702 GB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.5611, allocations: 221.4 kB / 0.5704 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5612, allocations: 0 / 0.5704 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5612, allocations: 7 kB / 0.5704 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.5614, allocations: 56.09 kB / 0.5704 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5614, allocations: 4 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5614, allocations: 0 / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5614, allocations: 0 / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.297e-05/0.5615, allocations: 21.86 kB / 0.5705 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.5619, allocations: 296.8 kB / 0.5708 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.5621, allocations: 59.98 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.5622, allocations: 11.88 kB / 0.5708 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.5623, allocations: 61.83 kB / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5624, allocations: 7.938 kB / 0.5709 GB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000596/0.563, allocations: 179.8 kB / 0.5711 GB, free: 6.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.563, allocations: 63.34 kB / 0.5711 GB, free: 6.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.5632, allocations: 175.4 kB / 0.5713 GB, free: 5.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5632, allocations: 29.52 kB / 0.5713 GB, free: 5.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.5633, allocations: 98.5 kB / 0.5714 GB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.5634, allocations: 26.83 kB / 0.5714 GB, free: 5.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.5634, allocations: 3.812 kB / 0.5714 GB, free: 5.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5636, allocations: 326.6 kB / 0.5717 GB, free: 5.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.5636, allocations: 23.05 kB / 0.5718 GB, free: 5.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.5637, allocations: 33.52 kB / 0.5718 GB, free: 5.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.5638, allocations: 22.88 kB / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5638, allocations: 0 / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.564, allocations: 107.7 kB / 0.5719 GB, free: 5.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.564, allocations: 4 kB / 0.5719 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.564, allocations: 8.031 kB / 0.5719 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.564, allocations: 0 / 0.5719 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.5641, allocations: 15.98 kB / 0.572 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5641, allocations: 0 / 0.572 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.5642, allocations: 7.953 kB / 0.572 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5642, allocations: 7.688 kB / 0.572 GB, free: 5.254 MB / 378.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 () * Number of clocked 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 0.0001156/0.5643, allocations: 129.6 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.5644, allocations: 7.906 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.5646, allocations: 123.2 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5646, allocations: 4 kB / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5646, allocations: 0 / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5646, allocations: 0 / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.5651, allocations: 417.3 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5651, allocations: 288 / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.5652, allocations: 8 kB / 0.5726 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5652, allocations: 4.031 kB / 0.5726 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5652, allocations: 11.81 kB / 0.5726 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5652, allocations: 3.953 kB / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5652, allocations: 0 / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.5655, allocations: 225.6 kB / 0.5729 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.5656, allocations: 95.05 kB / 0.573 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.5656, allocations: 9.203 kB / 0.573 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.5657, allocations: 9.047 kB / 0.573 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.5657, allocations: 4.75 kB / 0.573 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.5657, allocations: 4.547 kB / 0.573 GB, free: 4.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.5659, allocations: 142.9 kB / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5659, allocations: 0 / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.5662, allocations: 35.67 kB / 0.5731 GB, free: 4.039 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) * Number of clocked states: 0 () * 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.001131/0.5673, allocations: 477.1 kB / 0.5736 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.5675, allocations: 62.91 kB / 0.5737 GB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5675, allocations: 3.938 kB / 0.5737 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.5676, allocations: 31.48 kB / 0.5737 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.5679, allocations: 30.3 kB / 0.5737 GB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.5684, allocations: 249.2 kB / 0.574 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.5687, allocations: 0.7043 MB / 0.5747 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.048e-05/0.5687, allocations: 16.55 kB / 0.5747 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.5688, allocations: 14.75 kB / 0.5747 GB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5688, allocations: 4 kB / 0.5747 GB, free: 2.508 MB / 378.7 MB Notification: Performance of Templates: time 0.00419/0.573, allocations: 1.676 MB / 0.5763 GB, free: 0.8477 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches