Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009874/0.0009871, allocations: 177 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.274/1.274, allocations: 223.2 MB / 241 MB, free: 11.9 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.0008772/0.0008771, allocations: 99 kB / 292.2 MB, free: 10.93 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.3258/0.3258, allocations: 44.22 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003157, allocations: 12 kB / 459.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4199, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.5551, allocations: 89.29 MB / 0.5968 GB, free: 5.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5555, allocations: 86.92 kB / 0.5968 GB, free: 5.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.5708, allocations: 5.632 MB / 0.6023 GB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5709, allocations: 3.938 kB / 0.6024 GB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.5709, allocations: 0 / 0.6024 GB, free: 196 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.0005548/0.5715, allocations: 422.8 kB / 0.6028 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5715, allocations: 12.03 kB / 0.6028 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.5716, allocations: 7.906 kB / 0.6028 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.5719, allocations: 220.3 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5719, allocations: 7.953 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.572, allocations: 8 kB / 0.603 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.5721, allocations: 53.67 kB / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5721, allocations: 0 / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5722, allocations: 0 / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5722, allocations: 0 / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.5723, allocations: 23.92 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.5727, allocations: 292.9 kB / 0.6034 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.5729, allocations: 62.67 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5729, allocations: 3.984 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.573, allocations: 71.45 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5731, allocations: 0 / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.5736, allocations: 181 kB / 0.6037 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5737, allocations: 59.41 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.5739, allocations: 182.5 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5739, allocations: 25.7 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.574, allocations: 108.1 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.574, allocations: 19.66 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.574, allocations: 7.938 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5742, allocations: 327 kB / 0.6044 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.5742, allocations: 19.98 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.5743, allocations: 41.7 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.5744, allocations: 24 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5744, allocations: 0 / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.5746, allocations: 105.5 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5746, allocations: 4 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5746, allocations: 0 / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5746, allocations: 0 / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.5747, allocations: 24.39 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5747, allocations: 3.938 kB / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.5748, allocations: 12 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.5748, allocations: 0 / 0.6046 GB, free: 13.68 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.0001085/0.5749, allocations: 132.4 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.5749, allocations: 15.75 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.5752, allocations: 123 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5752, allocations: 4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5752, allocations: 4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5752, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.5758, allocations: 415.2 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5758, allocations: 4 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.5758, allocations: 8 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5758, allocations: 0 / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5758, allocations: 0 / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5758, allocations: 7.984 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5759, allocations: 4.031 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.5761, allocations: 230 kB / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.5762, allocations: 97 kB / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.5762, allocations: 0 / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.5763, allocations: 8 kB / 0.6056 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.5764, allocations: 15.97 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5764, allocations: 3.953 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5765, allocations: 152.8 kB / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5765, allocations: 0 / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.5768, allocations: 31.94 kB / 0.6058 GB, free: 12.33 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.0011/0.5779, allocations: 485 kB / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.5781, allocations: 59.92 kB / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5781, allocations: 0 / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.5782, allocations: 27.98 kB / 0.6063 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5785, allocations: 33.47 kB / 0.6064 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.5789, allocations: 250.2 kB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.5792, allocations: 0.716 MB / 0.6073 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.5793, allocations: 12.56 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.5793, allocations: 19.42 kB / 0.6073 GB, free: 10.87 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5794, allocations: 0 / 0.6073 GB, free: 10.87 MB / 426.7 MB Notification: Performance of Templates: time 0.004291/0.5836, allocations: 1.709 MB / 0.609 GB, free: 9.18 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches