Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 183.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.644/1.644, 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.000829/0.0008289, 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.2401/0.2401, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6363, allocations: 87.7 MB / 0.5644 GB, free: 12.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.6366, allocations: 78.52 kB / 0.5645 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01627/0.6529, allocations: 5.598 MB / 0.57 GB, free: 7.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6529, allocations: 0 / 0.57 GB, free: 7.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.653, allocations: 4 kB / 0.57 GB, free: 7.332 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.0006748/0.6537, allocations: 424.2 kB / 0.5704 GB, free: 6.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.6537, allocations: 12.03 kB / 0.5704 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.6538, allocations: 15.89 kB / 0.5704 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.6542, allocations: 229.8 kB / 0.5706 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.6542, allocations: 7.812 kB / 0.5706 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.6542, allocations: 4 kB / 0.5706 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.6544, allocations: 52.48 kB / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6544, allocations: 0 / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6544, allocations: 0 / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6544, allocations: 0 / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.6545, allocations: 26.73 kB / 0.5707 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.655, allocations: 309.6 kB / 0.571 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.6552, allocations: 61.8 kB / 0.571 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.6553, allocations: 0 / 0.571 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.6554, allocations: 66.02 kB / 0.5711 GB, free: 6.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.6554, allocations: 4 kB / 0.5711 GB, free: 6.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006336/0.6561, allocations: 182 kB / 0.5713 GB, free: 5.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.6561, allocations: 59.34 kB / 0.5713 GB, free: 5.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.6564, allocations: 200.8 kB / 0.5715 GB, free: 5.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.6564, allocations: 25.7 kB / 0.5716 GB, free: 5.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.6565, allocations: 107.8 kB / 0.5717 GB, free: 5.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.6565, allocations: 26.83 kB / 0.5717 GB, free: 5.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.6565, allocations: 2.75 kB / 0.5717 GB, free: 5.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6567, allocations: 329.2 kB / 0.572 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.6568, allocations: 23 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.6568, allocations: 36.89 kB / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.6569, allocations: 26.42 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6569, allocations: 0 / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.6571, allocations: 111.1 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6572, allocations: 6.656 kB / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.6572, allocations: 8.031 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6572, allocations: 0 / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.6573, allocations: 12 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6573, allocations: 0 / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.6574, allocations: 15.56 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6574, allocations: 4 kB / 0.5722 GB, free: 4.977 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.0001148/0.6575, allocations: 125.5 kB / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.6575, allocations: 15.8 kB / 0.5724 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.6578, allocations: 126.6 kB / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6578, allocations: 0 / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6578, allocations: 0 / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6579, allocations: 0 / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.6585, allocations: 423.9 kB / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6585, allocations: 0 / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.6586, allocations: 11.94 kB / 0.5729 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6586, allocations: 8.031 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6586, allocations: 5.234 kB / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6586, allocations: 7.891 kB / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6586, allocations: 384 / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6589, allocations: 223 kB / 0.5731 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/0.659, allocations: 99.48 kB / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.6591, allocations: 14.08 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.6591, allocations: 4.688 kB / 0.5733 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.6592, allocations: 9.047 kB / 0.5733 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.6592, allocations: 0.5625 kB / 0.5733 GB, free: 3.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.6594, allocations: 180.6 kB / 0.5734 GB, free: 3.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6594, allocations: 0 / 0.5734 GB, free: 3.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.6597, allocations: 31.5 kB / 0.5735 GB, free: 3.73 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.001101/0.6608, allocations: 470 kB / 0.5739 GB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.661, allocations: 63.66 kB / 0.574 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.661, allocations: 0 / 0.574 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.6611, allocations: 39.47 kB / 0.574 GB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.6614, allocations: 27.86 kB / 0.574 GB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.662, allocations: 278.1 kB / 0.5743 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.6625, allocations: 0.7237 MB / 0.575 GB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.12e-05/0.6625, allocations: 16.55 kB / 0.575 GB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.6626, allocations: 19.42 kB / 0.575 GB, free: 2.16 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6626, allocations: 0 / 0.575 GB, free: 2.16 MB / 378.7 MB Notification: Performance of Templates: time 0.004979/0.6676, allocations: 1.749 MB / 0.5768 GB, free: 440 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches