Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 183.4 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.765/1.765, 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.0009158/0.0009159, allocations: 98.8 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.2378/0.2378, allocations: 43.56 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 16 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 58.86 MB / 490.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.5426, allocations: 87.93 MB / 0.5646 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5429, allocations: 81.02 kB / 0.5647 GB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.5587, allocations: 5.96 MB / 0.5705 GB, free: 6.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5587, allocations: 0 / 0.5705 GB, free: 6.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.5588, allocations: 0 / 0.5705 GB, free: 6.992 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.0005008/0.5593, allocations: 410.5 kB / 0.5709 GB, free: 6.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5593, allocations: 12.03 kB / 0.5709 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.5594, allocations: 8.594 kB / 0.5709 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.5597, allocations: 219.7 kB / 0.5712 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.5597, allocations: 0 / 0.5712 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.5597, allocations: 4 kB / 0.5712 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5599, allocations: 73.83 kB / 0.5712 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5599, allocations: 3.938 kB / 0.5712 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5599, allocations: 0 / 0.5712 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5599, allocations: 8 kB / 0.5712 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.523e-05/0.56, allocations: 26.28 kB / 0.5713 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.5604, allocations: 287.3 kB / 0.5715 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.5606, allocations: 56.42 kB / 0.5716 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.5606, allocations: 3.438 kB / 0.5716 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.5608, allocations: 72.89 kB / 0.5717 GB, free: 5.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5608, allocations: 0 / 0.5717 GB, free: 5.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.5614, allocations: 168.1 kB / 0.5718 GB, free: 5.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.5614, allocations: 85.05 kB / 0.5719 GB, free: 5.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.5616, allocations: 141.5 kB / 0.572 GB, free: 5.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.5616, allocations: 28.7 kB / 0.5721 GB, free: 5.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.5617, allocations: 97 kB / 0.5722 GB, free: 5.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.5617, allocations: 27.27 kB / 0.5722 GB, free: 5.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.5617, allocations: 0 / 0.5722 GB, free: 5.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5618, allocations: 318.1 kB / 0.5725 GB, free: 4.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.5619, allocations: 23.86 kB / 0.5725 GB, free: 4.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.562, allocations: 40.94 kB / 0.5726 GB, free: 4.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.562, allocations: 26.61 kB / 0.5726 GB, free: 4.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5621, allocations: 4.031 kB / 0.5726 GB, free: 4.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.5622, allocations: 104.6 kB / 0.5727 GB, free: 4.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5623, allocations: 4 kB / 0.5727 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5623, allocations: 7.953 kB / 0.5727 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5623, allocations: 3.984 kB / 0.5727 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.5624, allocations: 12 kB / 0.5727 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.5624, allocations: 0 / 0.5727 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.5625, allocations: 7.125 kB / 0.5727 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5625, allocations: 4 kB / 0.5727 GB, free: 4.703 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.0001115/0.5626, allocations: 132.2 kB / 0.5728 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.5626, allocations: 11.91 kB / 0.5729 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.5629, allocations: 117.8 kB / 0.573 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5629, allocations: 3.953 kB / 0.573 GB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5629, allocations: 4 kB / 0.573 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5629, allocations: 3.984 kB / 0.573 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.5633, allocations: 404.8 kB / 0.5734 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5634, allocations: 3.938 kB / 0.5734 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.5634, allocations: 15.94 kB / 0.5734 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5634, allocations: 4 kB / 0.5734 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5634, allocations: 3.062 kB / 0.5734 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5634, allocations: 384 / 0.5734 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5634, allocations: 4 kB / 0.5734 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5637, allocations: 219.9 kB / 0.5736 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.5638, allocations: 92.91 kB / 0.5737 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.5638, allocations: 11.5 kB / 0.5737 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.5639, allocations: 3.984 kB / 0.5737 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.5639, allocations: 4 kB / 0.5737 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5639, allocations: 7.125 kB / 0.5737 GB, free: 3.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.5641, allocations: 124.8 kB / 0.5738 GB, free: 3.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5641, allocations: 4 kB / 0.5738 GB, free: 3.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002786/0.5644, allocations: 38.98 kB / 0.5739 GB, free: 3.516 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.001093/0.5655, allocations: 0.4964 MB / 0.5744 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.5656, allocations: 62.09 kB / 0.5744 GB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5657, allocations: 0 / 0.5744 GB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.5657, allocations: 35.09 kB / 0.5745 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.566, allocations: 34.72 kB / 0.5745 GB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.5664, allocations: 217.6 kB / 0.5747 GB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5667, allocations: 0.6965 MB / 0.5754 GB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.658e-05/0.5668, allocations: 24.84 kB / 0.5754 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.5668, allocations: 23.36 kB / 0.5754 GB, free: 1.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5668, allocations: 0 / 0.5754 GB, free: 1.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004287/0.5711, allocations: 1.874 MB / 0.5773 GB, free: 120 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches