Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 177.6 kB / 8.002 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.696/1.696, 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.0009106/0.0009109, allocations: 80.05 kB / 261.7 MB, free: 1.688 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.2259/0.2259, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.224e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 58.87 MB / 477.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4241/0.5449, allocations: 86.82 MB / 0.5507 GB, free: 8.117 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.5451, allocations: 70.12 kB / 0.5508 GB, free: 8.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.5587, allocations: 6.385 MB / 0.557 GB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5588, allocations: 3.938 kB / 0.557 GB, free: 2.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.5588, allocations: 4 kB / 0.557 GB, free: 2.914 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006134/0.5594, allocations: 0.5899 MB / 0.5576 GB, free: 2.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5595, allocations: 8.031 kB / 0.5576 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.5595, allocations: 51.34 kB / 0.5577 GB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.5602, allocations: 472.4 kB / 0.5581 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.5602, allocations: 7.984 kB / 0.5581 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5603, allocations: 4 kB / 0.5581 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.427e-05/0.5604, allocations: 22.61 kB / 0.5582 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5605, allocations: 83.75 kB / 0.5582 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5605, allocations: 7.938 kB / 0.5582 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5605, allocations: 4 kB / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.5605, allocations: 0 / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.5609, allocations: 362.6 kB / 0.5586 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.561, allocations: 85.02 kB / 0.5587 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.5611, allocations: 41.64 kB / 0.5587 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5611, allocations: 3.984 kB / 0.5587 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.5612, allocations: 107.9 kB / 0.5588 GB, free: 1.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.5613, allocations: 0 / 0.5588 GB, free: 1.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002759/0.5615, allocations: 158.3 kB / 0.559 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.5616, allocations: 85.11 kB / 0.5591 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.5625, allocations: 0.8799 MB / 0.5599 GB, free: 184 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.5625, allocations: 33.69 kB / 0.5599 GB, free: 144 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5626, allocations: 222.9 kB / 0.5602 GB, free: 20 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.5627, allocations: 30.88 kB / 0.5602 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.5627, allocations: 0 / 0.5602 GB, free: 15.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5629, allocations: 371 kB / 0.5605 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.5629, allocations: 18.81 kB / 0.5606 GB, free: 15.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.563, allocations: 56.86 kB / 0.5606 GB, free: 15.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.5631, allocations: 31.17 kB / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5631, allocations: 0 / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000216/0.5633, allocations: 153.5 kB / 0.5608 GB, free: 15.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5633, allocations: 8 kB / 0.5608 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5633, allocations: 64 / 0.5608 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5634, allocations: 8 kB / 0.5608 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5635, allocations: 19.98 kB / 0.5608 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5635, allocations: 0 / 0.5608 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.5636, allocations: 11.91 kB / 0.5608 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.5636, allocations: 7.984 kB / 0.5608 GB, free: 15.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.207e-05/0.5637, allocations: 119.6 kB / 0.561 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.5638, allocations: 47.44 kB / 0.561 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.5641, allocations: 188.6 kB / 0.5612 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5641, allocations: 7.984 kB / 0.5612 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5641, allocations: 0 / 0.5612 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5642, allocations: 0 / 0.5612 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.5645, allocations: 361.6 kB / 0.5615 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5645, allocations: 3.953 kB / 0.5615 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.5645, allocations: 8.25 kB / 0.5615 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5645, allocations: 4 kB / 0.5615 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.5646, allocations: 10.98 kB / 0.5616 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5646, allocations: 0 / 0.5616 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5646, allocations: 0 / 0.5616 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.5649, allocations: 217.2 kB / 0.5618 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.5651, allocations: 186.9 kB / 0.5619 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.5652, allocations: 7.188 kB / 0.562 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.5653, allocations: 8 kB / 0.562 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.5653, allocations: 11.98 kB / 0.562 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5653, allocations: 7.938 kB / 0.562 GB, free: 14.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007061/0.566, allocations: 0.6955 MB / 0.5627 GB, free: 13.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.566, allocations: 0 / 0.5627 GB, free: 13.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.5664, allocations: 75.98 kB / 0.5627 GB, free: 13.66 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007662/0.5671, allocations: 358.5 kB / 0.5631 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.5673, allocations: 78.23 kB / 0.5631 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5673, allocations: 0 / 0.5631 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.5674, allocations: 38.88 kB / 0.5632 GB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.5678, allocations: 71.86 kB / 0.5633 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5688, allocations: 0.7468 MB / 0.564 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.5693, allocations: 0.8491 MB / 0.5648 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.5694, allocations: 86.2 kB / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.5695, allocations: 43.11 kB / 0.5649 GB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5695, allocations: 0 / 0.5649 GB, free: 11.55 MB / 378.7 MB Notification: Performance of Templates: time 0.007482/0.577, allocations: 3.901 MB / 0.5687 GB, free: 7.672 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches