Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 183 kB / 18.09 MB, free: 3.625 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.237/1.237, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007905/0.0007907, allocations: 105.6 kB / 293.3 MB, free: 10.78 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.2989/0.2989, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 15.98 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.258, allocations: 61.88 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09605/0.3541, allocations: 89.27 MB / 0.5979 GB, free: 5.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.3543, allocations: 75.95 kB / 0.598 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.3679, allocations: 5.397 MB / 0.6033 GB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3679, allocations: 0 / 0.6033 GB, free: 348 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3679, allocations: 3.938 kB / 0.6033 GB, free: 344 kB / 410.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.0004426/0.3684, allocations: 403.2 kB / 0.6036 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.3684, allocations: 12.03 kB / 0.6037 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.3685, allocations: 12.75 kB / 0.6037 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3687, allocations: 212.6 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3687, allocations: 8.375 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3687, allocations: 4.375 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.3689, allocations: 61.73 kB / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.3689, allocations: 0 / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3689, allocations: 0 / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3689, allocations: 4 kB / 0.6039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.369, allocations: 23.97 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.3693, allocations: 288.8 kB / 0.6042 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3695, allocations: 70.59 kB / 0.6043 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.3695, allocations: 16.86 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3695, allocations: 4 kB / 0.6043 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.3697, allocations: 67.38 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3697, allocations: 4 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004571/0.3702, allocations: 169.3 kB / 0.6046 GB, free: 14.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.3702, allocations: 55.41 kB / 0.6046 GB, free: 14.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3703, allocations: 169.3 kB / 0.6048 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3704, allocations: 25.7 kB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.3704, allocations: 100.1 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3705, allocations: 23.64 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.3705, allocations: 7.938 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.3706, allocations: 326.8 kB / 0.6052 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.3706, allocations: 23.98 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.3707, allocations: 33.7 kB / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3708, allocations: 61.95 kB / 0.6054 GB, free: 13.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3708, allocations: 0 / 0.6054 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.371, allocations: 97.53 kB / 0.6054 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.371, allocations: 14.22 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.371, allocations: 0 / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.371, allocations: 0 / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.3711, allocations: 19.98 kB / 0.6055 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3711, allocations: 3.938 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.3712, allocations: 7.938 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.3712, allocations: 4 kB / 0.6055 GB, free: 13.81 MB / 426.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 7.86e-05/0.3713, allocations: 121.8 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.3713, allocations: 11.91 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3715, allocations: 126.4 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3715, allocations: 0 / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3716, allocations: 0 / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3716, allocations: 3.938 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.372, allocations: 407.2 kB / 0.6061 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.372, allocations: 0 / 0.6061 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.372, allocations: 12.03 kB / 0.6061 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.372, allocations: 11.92 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3721, allocations: 0 / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3721, allocations: 384 / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3721, allocations: 4 kB / 0.6062 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3723, allocations: 204.2 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3724, allocations: 97 kB / 0.6064 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3724, allocations: 11.94 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.3725, allocations: 0 / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.3725, allocations: 7.984 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.3725, allocations: 8 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.453e-05/0.3726, allocations: 120.8 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3726, allocations: 7.938 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000237/0.3729, allocations: 31.92 kB / 0.6066 GB, free: 12.54 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: 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.0008804/0.3737, allocations: 475.6 kB / 0.6071 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3739, allocations: 63.84 kB / 0.6071 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3739, allocations: 0 / 0.6071 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.374, allocations: 32.11 kB / 0.6072 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3743, allocations: 35.91 kB / 0.6072 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.3747, allocations: 226 kB / 0.6074 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.375, allocations: 0.7082 MB / 0.6081 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.375, allocations: 12.56 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.3751, allocations: 15.42 kB / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3751, allocations: 0 / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003642/0.3787, allocations: 1.657 MB / 0.6098 GB, free: 9.477 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches