Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 183.5 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.675/1.675, 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.0008829/0.0008829, allocations: 94.84 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.2266/0.2266, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 58.85 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.6272, allocations: 87.56 MB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6275, allocations: 70.03 kB / 0.5643 GB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.6422, allocations: 5.543 MB / 0.5698 GB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6423, allocations: 0 / 0.5698 GB, free: 7.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.6423, allocations: 0 / 0.5698 GB, free: 7.508 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005743/0.6429, allocations: 441.2 kB / 0.5702 GB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6429, allocations: 8.031 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.643, allocations: 19.8 kB / 0.5702 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.6433, allocations: 225.7 kB / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6434, allocations: 4 kB / 0.5704 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.6434, allocations: 3.938 kB / 0.5704 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.6435, allocations: 52.36 kB / 0.5705 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.6435, allocations: 4 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6436, allocations: 0 / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6436, allocations: 0 / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.155e-05/0.6437, allocations: 18.3 kB / 0.5705 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.6439, allocations: 196.8 kB / 0.5707 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.6441, allocations: 52.73 kB / 0.5707 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.6441, allocations: 0 / 0.5707 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.6443, allocations: 70.55 kB / 0.5708 GB, free: 6.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.6443, allocations: 0 / 0.5708 GB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.6446, allocations: 107.2 kB / 0.5709 GB, free: 6.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.6447, allocations: 51.41 kB / 0.5709 GB, free: 6.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.645, allocations: 239.7 kB / 0.5712 GB, free: 5.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.645, allocations: 25.7 kB / 0.5712 GB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.6451, allocations: 116.3 kB / 0.5713 GB, free: 5.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.6451, allocations: 11.31 kB / 0.5713 GB, free: 5.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.6451, allocations: 0 / 0.5713 GB, free: 5.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6453, allocations: 334 kB / 0.5716 GB, free: 5.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.6453, allocations: 11.75 kB / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.6454, allocations: 29.52 kB / 0.5717 GB, free: 5.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.6454, allocations: 15.44 kB / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6454, allocations: 11.89 kB / 0.5717 GB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001493/0.6456, allocations: 84.14 kB / 0.5718 GB, free: 5.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6456, allocations: 8 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6456, allocations: 0 / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6457, allocations: 0 / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.6457, allocations: 15.92 kB / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6458, allocations: 4 kB / 0.5718 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.6458, allocations: 3.906 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.6458, allocations: 4 kB / 0.5718 GB, free: 5.328 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 (7): * Single equations (assignments): 7 * 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.0001315/0.646, allocations: 141.2 kB / 0.572 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.646, allocations: 11.86 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.6462, allocations: 104.6 kB / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6462, allocations: 3.984 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6463, allocations: 0 / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6463, allocations: 0 / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.6465, allocations: 211.5 kB / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6465, allocations: 0 / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.6465, allocations: 11.89 kB / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6465, allocations: 4 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6465, allocations: 3.984 kB / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6465, allocations: 7.938 kB / 0.5723 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6466, allocations: 0 / 0.5723 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.6468, allocations: 119.4 kB / 0.5724 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.6469, allocations: 93.02 kB / 0.5725 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.6469, allocations: 11.44 kB / 0.5725 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.647, allocations: 8 kB / 0.5725 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.647, allocations: 0 / 0.5725 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.647, allocations: 7.984 kB / 0.5725 GB, free: 4.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.6473, allocations: 199.5 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6473, allocations: 0 / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.6475, allocations: 27.55 kB / 0.5727 GB, free: 4.375 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001112/0.6486, allocations: 418 kB / 0.5731 GB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.6489, allocations: 46.73 kB / 0.5732 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6489, allocations: 0 / 0.5732 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.649, allocations: 30.8 kB / 0.5732 GB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.6492, allocations: 23.34 kB / 0.5732 GB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.6497, allocations: 288 kB / 0.5735 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.6501, allocations: 0.716 MB / 0.5742 GB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.833e-05/0.6502, allocations: 19.61 kB / 0.5742 GB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.6502, allocations: 11.44 kB / 0.5742 GB, free: 2.883 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6502, allocations: 0 / 0.5742 GB, free: 2.883 MB / 378.7 MB Notification: Performance of Templates: time 0.004872/0.6551, allocations: 1.606 MB / 0.5758 GB, free: 1.289 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches