Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 169 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.277/1.277, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008828/0.0008828, allocations: 97.91 kB / 281.6 MB, free: 5.316 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.2128/0.2128, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.548e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5505, allocations: 88.38 MB / 0.581 GB, free: 8.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5508, allocations: 75.95 kB / 0.5811 GB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.5657, allocations: 5.681 MB / 0.5866 GB, free: 2.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5657, allocations: 4 kB / 0.5866 GB, free: 2.391 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5658, allocations: 0 / 0.5866 GB, free: 2.391 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.0004213/0.5662, allocations: 401.1 kB / 0.587 GB, free: 1.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5662, allocations: 11.98 kB / 0.587 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.5663, allocations: 15.81 kB / 0.587 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5666, allocations: 226.3 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.5667, allocations: 8 kB / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.5667, allocations: 3.953 kB / 0.5873 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.831e-05/0.5667, allocations: 15.98 kB / 0.5873 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.08e-05/0.5668, allocations: 41.69 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5669, allocations: 0 / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5669, allocations: 3.984 kB / 0.5873 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5669, allocations: 4 kB / 0.5873 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.5671, allocations: 170.2 kB / 0.5875 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.5672, allocations: 54.55 kB / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.5672, allocations: 16.86 kB / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.5672, allocations: 4 kB / 0.5875 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.5674, allocations: 71.38 kB / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.5674, allocations: 0 / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002065/0.5676, allocations: 82.17 kB / 0.5877 GB, free: 1.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.5676, allocations: 55.41 kB / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.5678, allocations: 226.1 kB / 0.588 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5679, allocations: 25.7 kB / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.5679, allocations: 112.1 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.568, allocations: 11.81 kB / 0.5881 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.568, allocations: 0 / 0.5881 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5681, allocations: 326.8 kB / 0.5884 GB, free: 356 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.5681, allocations: 15.94 kB / 0.5884 GB, free: 340 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.5682, allocations: 29.7 kB / 0.5885 GB, free: 304 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.5682, allocations: 12 kB / 0.5885 GB, free: 292 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5682, allocations: 0 / 0.5885 GB, free: 292 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.5683, allocations: 77.53 kB / 0.5885 GB, free: 208 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.5683, allocations: 5.406 kB / 0.5886 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.5683, allocations: 7.984 kB / 0.5886 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5684, allocations: 3.953 kB / 0.5886 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.5684, allocations: 8 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5685, allocations: 160 / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.5685, allocations: 15.88 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.5685, allocations: 4 kB / 0.5886 GB, free: 164 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.055e-05/0.5686, allocations: 107.1 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.5686, allocations: 11.91 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.5688, allocations: 95.22 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5688, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5688, allocations: 3.953 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5689, allocations: 0 / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.569, allocations: 190.1 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.569, allocations: 0 / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.569, allocations: 8.188 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.569, allocations: 0 / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5691, allocations: 7.984 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5691, allocations: 0 / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5691, allocations: 0 / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.5692, allocations: 108.9 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.5693, allocations: 108.8 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.5693, allocations: 4 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.5694, allocations: 3.984 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.5694, allocations: 4 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5694, allocations: 8 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.5696, allocations: 184.2 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5696, allocations: 0 / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.5698, allocations: 31.98 kB / 0.5894 GB, free: 15.21 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.0007476/0.5705, allocations: 355.5 kB / 0.5898 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.5707, allocations: 31.94 kB / 0.5898 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5707, allocations: 0 / 0.5898 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.5707, allocations: 20 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.5709, allocations: 27.75 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.5713, allocations: 209.2 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5716, allocations: 0.7158 MB / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.824e-05/0.5716, allocations: 16.44 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.5717, allocations: 15.42 kB / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5717, allocations: 0 / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of Templates: time 0.003712/0.5754, allocations: 1.532 MB / 0.5923 GB, free: 12.32 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches