Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009192/0.0009191, allocations: 181.2 kB / 17.06 MB, free: 5.094 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.246/1.246, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008679/0.0008678, allocations: 98.06 kB / 292.2 MB, free: 10.69 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.3236/0.3236, allocations: 44.22 MB / 387.5 MB, free: 38.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003121, allocations: 16 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4211, allocations: 61.89 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5571, allocations: 89.26 MB / 0.5967 GB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.5573, allocations: 83.92 kB / 0.5968 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.5722, allocations: 5.491 MB / 0.6022 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.5723, allocations: 0 / 0.6022 GB, free: 300 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.5723, allocations: 11.94 kB / 0.6022 GB, free: 288 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.0005647/0.5728, allocations: 410.9 kB / 0.6026 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5729, allocations: 8.031 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.573, allocations: 7.906 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.5733, allocations: 223.7 kB / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5733, allocations: 3.953 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.5733, allocations: 4 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.5735, allocations: 57.67 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5735, allocations: 0 / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5735, allocations: 0 / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5735, allocations: 0 / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.5736, allocations: 23.98 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.574, allocations: 296.8 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.5742, allocations: 62.67 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.5742, allocations: 0 / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.5744, allocations: 67.52 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/0.5744, allocations: 0 / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.575, allocations: 177.1 kB / 0.6035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.575, allocations: 51.41 kB / 0.6035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.5752, allocations: 183.1 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.5753, allocations: 25.7 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.5753, allocations: 96.14 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.5753, allocations: 31.62 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.5754, allocations: 4 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5755, allocations: 326.8 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.5756, allocations: 23.98 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.5756, allocations: 37.7 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.5757, allocations: 24.19 kB / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5757, allocations: 0 / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.5759, allocations: 105.4 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5759, allocations: 8 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5759, allocations: 0 / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5759, allocations: 0 / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.576, allocations: 12 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.576, allocations: 7.984 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.5761, allocations: 4.031 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5761, allocations: 4 kB / 0.6044 GB, free: 13.82 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 0.0001013/0.5762, allocations: 131 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.5762, allocations: 15.89 kB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.5765, allocations: 126.4 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5765, allocations: 0 / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5765, allocations: 0 / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5765, allocations: 0 / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.577, allocations: 415.3 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.577, allocations: 3.984 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.5771, allocations: 11.98 kB / 0.605 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5771, allocations: 4 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.5771, allocations: 288 / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5771, allocations: 0 / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5771, allocations: 4 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5774, allocations: 233.8 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.5774, allocations: 93 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5775, allocations: 0 / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.5776, allocations: 8 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.5776, allocations: 7.984 kB / 0.6054 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5776, allocations: 7.953 kB / 0.6054 GB, free: 12.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.5778, allocations: 148 kB / 0.6055 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5778, allocations: 4 kB / 0.6055 GB, free: 12.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.578, allocations: 31.94 kB / 0.6056 GB, free: 12.48 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.001137/0.5792, allocations: 482.3 kB / 0.606 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.5794, allocations: 55.98 kB / 0.6061 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5794, allocations: 0 / 0.6061 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.5795, allocations: 35.92 kB / 0.6061 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.5797, allocations: 30.78 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.5802, allocations: 242.5 kB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.5805, allocations: 0.7158 MB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.5806, allocations: 24.84 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.5806, allocations: 15.44 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5806, allocations: 0 / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of Templates: time 0.004283/0.5849, allocations: 1.682 MB / 0.6087 GB, free: 9.352 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches