Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 95.19 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3209/0.3209, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 15.98 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3324, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4446, allocations: 89.32 MB / 0.5968 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.4448, allocations: 83.83 kB / 0.5969 GB, free: 5.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01486/0.4596, allocations: 6.053 MB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4597, allocations: 0 / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4597, allocations: 7.984 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005859/0.4603, allocations: 462.5 kB / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4603, allocations: 8.031 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.4604, allocations: 19.75 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4608, allocations: 242.7 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4608, allocations: 7.953 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4608, allocations: 0 / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.461, allocations: 105 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4611, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4611, allocations: 8 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4611, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4612, allocations: 31.97 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.4614, allocations: 230.5 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.4617, allocations: 105.3 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4617, allocations: 7.953 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.4619, allocations: 121 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4619, allocations: 0 / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004134/0.4624, allocations: 165.4 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.4624, allocations: 132.5 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.4627, allocations: 199 kB / 0.6045 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4627, allocations: 29.7 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.4628, allocations: 116.1 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4628, allocations: 31.55 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.4628, allocations: 7.938 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.463, allocations: 323.1 kB / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.463, allocations: 31.98 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.4632, allocations: 82.5 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.4633, allocations: 39.92 kB / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4633, allocations: 0 / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002621/0.4635, allocations: 141.9 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4636, allocations: 4 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4636, allocations: 0 / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4636, allocations: 4.125 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4637, allocations: 32.02 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4637, allocations: 0 / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.4638, allocations: 12 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4638, allocations: 4 kB / 0.6054 GB, free: 12.74 MB / 426.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001006/0.4639, allocations: 134.3 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.464, allocations: 19.77 kB / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.4643, allocations: 166.5 kB / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4643, allocations: 0 / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4643, allocations: 4 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4643, allocations: 0 / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.4645, allocations: 221.5 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4645, allocations: 4 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.4646, allocations: 19.92 kB / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4646, allocations: 0 / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4646, allocations: 7.953 kB / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4646, allocations: 0 / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4646, allocations: 0 / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.4649, allocations: 191.4 kB / 0.6061 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.465, allocations: 100.9 kB / 0.6062 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.4651, allocations: 7.953 kB / 0.6062 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.4651, allocations: 7.984 kB / 0.6062 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.4652, allocations: 16 kB / 0.6062 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4652, allocations: 11.92 kB / 0.6062 GB, free: 11.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4654, allocations: 156.2 kB / 0.6064 GB, free: 11.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4654, allocations: 4 kB / 0.6064 GB, free: 11.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000261/0.4657, allocations: 43.92 kB / 0.6064 GB, free: 11.53 MB / 426.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001/0.4667, allocations: 474.8 kB / 0.6069 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.4669, allocations: 84.02 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4669, allocations: 0 / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4671, allocations: 56.16 kB / 0.607 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4674, allocations: 39.97 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.4679, allocations: 291.4 kB / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.4682, allocations: 0.7283 MB / 0.608 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.986e-05/0.4683, allocations: 29.52 kB / 0.6081 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.4684, allocations: 23.42 kB / 0.6081 GB, free: 9.938 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4684, allocations: 0 / 0.6081 GB, free: 9.938 MB / 426.7 MB Notification: Performance of Templates: time 0.005189/0.4736, allocations: 2.547 MB / 0.6106 GB, free: 7.418 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches