Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 184.3 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.674/1.674, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000851/0.000851, allocations: 98.77 kB / 270.2 MB, free: 13.35 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.225/0.225, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 58.87 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.6159, allocations: 87.82 MB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.6163, allocations: 78.16 kB / 0.5646 GB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02161/0.6379, allocations: 7.838 MB / 0.5723 GB, free: 5.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6379, allocations: 0 / 0.5723 GB, free: 5.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.638, allocations: 4 kB / 0.5723 GB, free: 5.223 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001027/0.639, allocations: 0.5544 MB / 0.5728 GB, free: 4.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.6391, allocations: 8.562 kB / 0.5728 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.6392, allocations: 35.67 kB / 0.5728 GB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.6397, allocations: 300.3 kB / 0.5731 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6398, allocations: 3.812 kB / 0.5731 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.6398, allocations: 4 kB / 0.5731 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.6401, allocations: 106.5 kB / 0.5732 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6401, allocations: 0 / 0.5732 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.6401, allocations: 7.875 kB / 0.5733 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6401, allocations: 4 kB / 0.5733 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.6403, allocations: 47.23 kB / 0.5733 GB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.6411, allocations: 481.1 kB / 0.5738 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.6414, allocations: 119.8 kB / 0.5739 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.6414, allocations: 0 / 0.5739 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.6416, allocations: 115 kB / 0.574 GB, free: 3.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.986e-06/0.6416, allocations: 0 / 0.574 GB, free: 3.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009821/0.6426, allocations: 397.3 kB / 0.5744 GB, free: 3.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.6427, allocations: 84.55 kB / 0.5744 GB, free: 2.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.6432, allocations: 433.1 kB / 0.5749 GB, free: 2.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.6432, allocations: 29.58 kB / 0.5749 GB, free: 2.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.6433, allocations: 166.2 kB / 0.575 GB, free: 2.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.6434, allocations: 51.05 kB / 0.5751 GB, free: 2.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-06/0.6434, allocations: 4 kB / 0.5751 GB, free: 2.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6436, allocations: 345.8 kB / 0.5754 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.6437, allocations: 47.41 kB / 0.5755 GB, free: 2.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.6438, allocations: 67.91 kB / 0.5755 GB, free: 2.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.6439, allocations: 59.3 kB / 0.5756 GB, free: 1.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.644, allocations: 3.953 kB / 0.5756 GB, free: 1.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000318/0.6443, allocations: 183.7 kB / 0.5758 GB, free: 1.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6443, allocations: 4 kB / 0.5758 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.6443, allocations: 0 / 0.5758 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.6444, allocations: 7.938 kB / 0.5758 GB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.6445, allocations: 35.8 kB / 0.5758 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.6445, allocations: 4 kB / 0.5758 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.6446, allocations: 7.984 kB / 0.5758 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6447, allocations: 7.812 kB / 0.5758 GB, free: 1.773 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002012/0.6449, allocations: 181.3 kB / 0.576 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.6449, allocations: 35.58 kB / 0.576 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.6454, allocations: 221.9 kB / 0.5763 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6454, allocations: 4 kB / 0.5763 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6454, allocations: 192 / 0.5763 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6454, allocations: 0 / 0.5763 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.6465, allocations: 0.7138 MB / 0.577 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6465, allocations: 0 / 0.577 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.6466, allocations: 19.98 kB / 0.577 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.6466, allocations: 4 kB / 0.577 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.6466, allocations: 3.812 kB / 0.577 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6466, allocations: 4 kB / 0.577 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6466, allocations: 0 / 0.577 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.6471, allocations: 426.1 kB / 0.5774 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.6473, allocations: 127.2 kB / 0.5775 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.6473, allocations: 11.14 kB / 0.5775 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.6475, allocations: 15.23 kB / 0.5775 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.6475, allocations: 11.98 kB / 0.5775 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.6475, allocations: 4 kB / 0.5776 GB, free: 96 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.648, allocations: 356.3 kB / 0.5779 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.648, allocations: 4 kB / 0.5779 GB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.6484, allocations: 59.62 kB / 0.578 GB, free: 15.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001113/0.6495, allocations: 486 kB / 0.5784 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.6498, allocations: 124.9 kB / 0.5785 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6498, allocations: 4.062 kB / 0.5785 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.6499, allocations: 70.16 kB / 0.5786 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.6504, allocations: 54.2 kB / 0.5787 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.6513, allocations: 0.5956 MB / 0.5792 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.6517, allocations: 0.786 MB / 0.58 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.6518, allocations: 42.09 kB / 0.58 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/0.6519, allocations: 34.67 kB / 0.5801 GB, free: 13.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6519, allocations: 0 / 0.5801 GB, free: 13.7 MB / 394.7 MB Notification: Performance of Templates: time 0.006683/0.6586, allocations: 3.026 MB / 0.583 GB, free: 10.7 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches