Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 170.4 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.411/1.411, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009592/0.0009592, allocations: 94.03 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.1936/0.1936, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.731e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.5397, allocations: 88.52 MB / 0.5811 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.54, allocations: 74.56 kB / 0.5812 GB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.5547, allocations: 5.443 MB / 0.5865 GB, free: 2.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5547, allocations: 0 / 0.5865 GB, free: 2.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.5548, allocations: 2.953 kB / 0.5865 GB, free: 2.48 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.0004272/0.5552, allocations: 394.2 kB / 0.5869 GB, free: 2.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5552, allocations: 11.98 kB / 0.5869 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.5553, allocations: 7.906 kB / 0.5869 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.5556, allocations: 218.7 kB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5556, allocations: 7.953 kB / 0.5871 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.5556, allocations: 0 / 0.5871 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.592e-05/0.5557, allocations: 19.98 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.5558, allocations: 49.67 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.5558, allocations: 3.938 kB / 0.5872 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5559, allocations: 7.938 kB / 0.5872 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5559, allocations: 0 / 0.5872 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.5562, allocations: 265.5 kB / 0.5875 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.614e-05/0.5563, allocations: 50.69 kB / 0.5875 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.5563, allocations: 16.98 kB / 0.5875 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.5564, allocations: 8 kB / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.5565, allocations: 67.33 kB / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5565, allocations: 0 / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003954/0.5569, allocations: 141.2 kB / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.5569, allocations: 55.41 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5571, allocations: 157.4 kB / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5571, allocations: 29.7 kB / 0.588 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.5572, allocations: 104.1 kB / 0.5881 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.5572, allocations: 23.7 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.5572, allocations: 4.688 kB / 0.5881 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.5573, allocations: 326.8 kB / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.5573, allocations: 12 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.5574, allocations: 33.66 kB / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.5575, allocations: 32 kB / 0.5885 GB, free: 280 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5575, allocations: 0 / 0.5885 GB, free: 280 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000131/0.5576, allocations: 97.42 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5576, allocations: 8 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5576, allocations: 0 / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5576, allocations: 192 / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.5577, allocations: 27.98 kB / 0.5886 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.5578, allocations: 0 / 0.5886 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.5578, allocations: 3.938 kB / 0.5886 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5578, allocations: 4 kB / 0.5886 GB, free: 132 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 (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 7.581e-05/0.5579, allocations: 114.4 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.558, allocations: 15.94 kB / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.5581, allocations: 106.2 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5582, allocations: 3.984 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5582, allocations: 0 / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5582, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.5585, allocations: 375.8 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5586, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.5586, allocations: 23.95 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5586, allocations: 0 / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.5586, allocations: 0 / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.5586, allocations: 0 / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5586, allocations: 7.938 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.5588, allocations: 210 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.5589, allocations: 93 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.5589, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.559, allocations: 0 / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.5591, allocations: 11.92 kB / 0.5895 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5591, allocations: 8 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.642e-05/0.5592, allocations: 137.4 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5592, allocations: 0 / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000251/0.5594, allocations: 24 kB / 0.5897 GB, free: 14.91 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.0008043/0.5602, allocations: 387.3 kB / 0.5901 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.5604, allocations: 63.92 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5604, allocations: 0 / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.5604, allocations: 28.09 kB / 0.5902 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5607, allocations: 31.98 kB / 0.5902 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.561, allocations: 153.4 kB / 0.5903 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5613, allocations: 0.7197 MB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.5614, allocations: 20.41 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.5614, allocations: 19.42 kB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5614, allocations: 3.938 kB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Templates: time 0.003729/0.5651, allocations: 1.616 MB / 0.5926 GB, free: 11.91 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches