Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 184.7 kB / 15.76 MB, free: 6.367 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.795/1.795, 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.0008201/0.0008201, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.231/0.231, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.536, allocations: 87.72 MB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5363, allocations: 72.84 kB / 0.5645 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.552, allocations: 5.563 MB / 0.5699 GB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5521, allocations: 4 kB / 0.5699 GB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.5521, allocations: 0 / 0.5699 GB, free: 7.344 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.0005929/0.5527, allocations: 432.8 kB / 0.5703 GB, free: 6.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5527, allocations: 12.03 kB / 0.5704 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.5528, allocations: 7.906 kB / 0.5704 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.5532, allocations: 230 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5532, allocations: 7.734 kB / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.5532, allocations: 8 kB / 0.5706 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.5534, allocations: 59.72 kB / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5534, allocations: 0 / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5534, allocations: 0 / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5534, allocations: 0 / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.5535, allocations: 23.17 kB / 0.5707 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.554, allocations: 297.7 kB / 0.571 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.5541, allocations: 64 kB / 0.571 GB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5542, allocations: 7.938 kB / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.5543, allocations: 71.55 kB / 0.5711 GB, free: 6.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5543, allocations: 0 / 0.5711 GB, free: 6.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005569/0.5549, allocations: 177.2 kB / 0.5713 GB, free: 5.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.555, allocations: 62.17 kB / 0.5713 GB, free: 5.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.5552, allocations: 199 kB / 0.5715 GB, free: 5.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.5552, allocations: 25.7 kB / 0.5715 GB, free: 5.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.5552, allocations: 110.3 kB / 0.5716 GB, free: 5.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.5553, allocations: 26.89 kB / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.5553, allocations: 0 / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5554, allocations: 325.2 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.5555, allocations: 22.36 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.5556, allocations: 46.45 kB / 0.572 GB, free: 5.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.5556, allocations: 22.38 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5556, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.5558, allocations: 107.1 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5558, allocations: 10.59 kB / 0.5722 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5558, allocations: 4.156 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5559, allocations: 0 / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.556, allocations: 15.98 kB / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.556, allocations: 8.016 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.556, allocations: 11.27 kB / 0.5722 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5561, allocations: 4 kB / 0.5722 GB, free: 4.98 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.0001031/0.5562, allocations: 129 kB / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.5562, allocations: 11.81 kB / 0.5724 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.5564, allocations: 124 kB / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5565, allocations: 0 / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5565, allocations: 0 / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5565, allocations: 4 kB / 0.5725 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.557, allocations: 423.8 kB / 0.5729 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.557, allocations: 0 / 0.5729 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.557, allocations: 19.92 kB / 0.5729 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.557, allocations: 0 / 0.5729 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5571, allocations: 7.062 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5571, allocations: 3.953 kB / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5571, allocations: 0 / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.5573, allocations: 225.1 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.5574, allocations: 96.19 kB / 0.5732 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.5575, allocations: 9.266 kB / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.5575, allocations: 9.109 kB / 0.5732 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.5576, allocations: 8.938 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.5576, allocations: 0.75 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.5578, allocations: 178.7 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5578, allocations: 0 / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.558, allocations: 35.67 kB / 0.5734 GB, free: 3.734 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.001004/0.5591, allocations: 472.3 kB / 0.5739 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.5592, allocations: 68.97 kB / 0.574 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5593, allocations: 0 / 0.574 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.5593, allocations: 31.31 kB / 0.574 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.5596, allocations: 24.09 kB / 0.574 GB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.5601, allocations: 286 kB / 0.5743 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5604, allocations: 0.716 MB / 0.575 GB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.5605, allocations: 20.84 kB / 0.575 GB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.5605, allocations: 19.19 kB / 0.575 GB, free: 2.168 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5605, allocations: 0 / 0.575 GB, free: 2.168 MB / 378.7 MB Notification: Performance of Templates: time 0.004128/0.5646, allocations: 1.749 MB / 0.5767 GB, free: 448 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches