Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.000829, allocations: 98.08 kB / 281.6 MB, free: 5.309 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.1932/0.1932, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.196e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 61.92 MB / 0.4947 GB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/0.632, allocations: 88.38 MB / 0.581 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.6323, allocations: 75.95 kB / 0.5811 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01446/0.6468, allocations: 5.68 MB / 0.5866 GB, free: 2.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6468, allocations: 0 / 0.5866 GB, free: 2.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.6468, allocations: 8 kB / 0.5866 GB, free: 2.363 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004269/0.6473, allocations: 402.2 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6473, allocations: 11.98 kB / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.6474, allocations: 11.81 kB / 0.587 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.6477, allocations: 230.3 kB / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.6477, allocations: 0 / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.6477, allocations: 7.953 kB / 0.5872 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.149e-05/0.6478, allocations: 15.98 kB / 0.5873 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.694e-05/0.6479, allocations: 45.69 kB / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6479, allocations: 0 / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6479, allocations: 0 / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.648, allocations: 3.984 kB / 0.5873 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.6481, allocations: 170.2 kB / 0.5875 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.132e-05/0.6482, allocations: 46.56 kB / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.6483, allocations: 24.84 kB / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.6483, allocations: 0 / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.6484, allocations: 71.38 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.6485, allocations: 0.75 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001879/0.6486, allocations: 81.44 kB / 0.5877 GB, free: 1.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.6487, allocations: 55.39 kB / 0.5877 GB, free: 1.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.6489, allocations: 226.1 kB / 0.588 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6489, allocations: 25.7 kB / 0.588 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.649, allocations: 116.1 kB / 0.5881 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.649, allocations: 11.81 kB / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.649, allocations: 0 / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6492, allocations: 330.8 kB / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.6492, allocations: 12 kB / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.6493, allocations: 29.69 kB / 0.5885 GB, free: 276 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.6493, allocations: 16.06 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6493, allocations: 4 kB / 0.5885 GB, free: 256 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.6494, allocations: 77.53 kB / 0.5886 GB, free: 172 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6494, allocations: 5.406 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6494, allocations: 4 kB / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6495, allocations: 7.938 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.6495, allocations: 8 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6496, allocations: 0 / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.6496, allocations: 11.84 kB / 0.5886 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.6496, allocations: 0 / 0.5886 GB, free: 136 kB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.464e-05/0.6497, allocations: 111.4 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.6497, allocations: 15.89 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.6499, allocations: 91.23 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6499, allocations: 4 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6499, allocations: 3.953 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.65, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.6501, allocations: 186.1 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6501, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.6502, allocations: 4 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6502, allocations: 8 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.6502, allocations: 3.984 kB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6502, allocations: 0 / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6502, allocations: 0 / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.6503, allocations: 108.9 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.6504, allocations: 104.8 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.6505, allocations: 4.188 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.6505, allocations: 7.984 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.6505, allocations: 8 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.6506, allocations: 4 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.6507, allocations: 188.2 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6507, allocations: 0 / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.6509, allocations: 27.98 kB / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.000834/0.6518, allocations: 351.6 kB / 0.5898 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.6519, allocations: 35.94 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6519, allocations: 0 / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.652, allocations: 20 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.6522, allocations: 29.31 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.6526, allocations: 209.1 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6529, allocations: 0.7197 MB / 0.5907 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.6529, allocations: 8.688 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.653, allocations: 23.42 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.653, allocations: 0 / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00392/0.6569, allocations: 1.521 MB / 0.5923 GB, free: 12.3 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches