Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 169.7 kB / 8.74 MB, free: 348 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.415/1.415, allocations: 221.5 MB / 230.7 MB, free: 7.531 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.0008646/0.0008645, allocations: 98.88 kB / 281.6 MB, free: 5.273 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.2313/0.2313, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.562e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.6497, allocations: 88.77 MB / 0.5814 GB, free: 7.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.6501, allocations: 75.95 kB / 0.5815 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.6735, allocations: 5.832 MB / 0.5871 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6736, allocations: 6.891 kB / 0.5872 GB, free: 1.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.6736, allocations: 0 / 0.5872 GB, free: 1.863 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005541/0.6742, allocations: 379.1 kB / 0.5875 GB, free: 1.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.6742, allocations: 15.98 kB / 0.5875 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.6743, allocations: 7.906 kB / 0.5875 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.6747, allocations: 218.8 kB / 0.5877 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6747, allocations: 0 / 0.5877 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.6747, allocations: 4 kB / 0.5877 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.61e-05/0.6748, allocations: 15.98 kB / 0.5878 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.675, allocations: 63.39 kB / 0.5878 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.675, allocations: 15.86 kB / 0.5878 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.6751, allocations: 0 / 0.5878 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6751, allocations: 0 / 0.5878 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.6755, allocations: 269.4 kB / 0.5881 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.6757, allocations: 50.69 kB / 0.5881 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.6757, allocations: 16.98 kB / 0.5882 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.6758, allocations: 0 / 0.5882 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.6759, allocations: 71.39 kB / 0.5882 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.624e-06/0.6759, allocations: 0 / 0.5882 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.6765, allocations: 141.2 kB / 0.5884 GB, free: 468 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.6766, allocations: 77.11 kB / 0.5884 GB, free: 372 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.6767, allocations: 147.2 kB / 0.5886 GB, free: 220 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.6768, allocations: 29.69 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.6768, allocations: 92.14 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.6769, allocations: 27.64 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6769, allocations: 0 / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6771, allocations: 326.8 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.6771, allocations: 20 kB / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.6772, allocations: 42.5 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.6773, allocations: 19.98 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.6773, allocations: 0 / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.6775, allocations: 85.59 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6775, allocations: 13.47 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6775, allocations: 0 / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6776, allocations: 192 / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.6777, allocations: 23.92 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6777, allocations: 4 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.6778, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6778, allocations: 4 kB / 0.5892 GB, free: 15.51 MB / 410.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 (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 9.053e-05/0.6779, allocations: 108.9 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.678, allocations: 11.89 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.6782, allocations: 106.4 kB / 0.5895 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6783, allocations: 4 kB / 0.5895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6783, allocations: 96 / 0.5895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6783, allocations: 3.938 kB / 0.5895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.6788, allocations: 375.7 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6788, allocations: 3.938 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.6789, allocations: 8 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.6789, allocations: 4 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.679, allocations: 4.031 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.679, allocations: 3.984 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.679, allocations: 0 / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.6793, allocations: 214.1 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.6794, allocations: 85.02 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.6794, allocations: 4 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6795, allocations: 7.984 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.6796, allocations: 7.953 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6796, allocations: 8 kB / 0.5902 GB, free: 14.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.6798, allocations: 120.7 kB / 0.5903 GB, free: 14.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6798, allocations: 0 / 0.5903 GB, free: 14.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.6803, allocations: 35.94 kB / 0.5903 GB, free: 14.32 MB / 410.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) * 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.001384/0.6817, allocations: 443.1 kB / 0.5907 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.6818, allocations: 51.94 kB / 0.5908 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6819, allocations: 0 / 0.5908 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.6819, allocations: 31.94 kB / 0.5908 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.6823, allocations: 23.95 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.6827, allocations: 137.9 kB / 0.591 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.6831, allocations: 0.704 MB / 0.5916 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.6832, allocations: 12.86 kB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.6833, allocations: 23.42 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6833, allocations: 0 / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of Templates: time 0.006214/0.6895, allocations: 1.823 MB / 0.5935 GB, free: 11.11 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches