Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 169.5 kB / 8.743 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.579/1.579, 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.0008467/0.0008467, allocations: 93.84 kB / 281.6 MB, free: 5.324 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.1914/0.1914, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.142e-05, allocations: 8.203 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5695, allocations: 88.56 MB / 0.5812 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5697, allocations: 71.97 kB / 0.5812 GB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.5845, allocations: 5.606 MB / 0.5867 GB, free: 2.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5845, allocations: 0 / 0.5867 GB, free: 2.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.5846, allocations: 4 kB / 0.5867 GB, free: 2.297 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.000428/0.585, allocations: 402.2 kB / 0.5871 GB, free: 1.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.585, allocations: 11.98 kB / 0.5871 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.5851, allocations: 7.906 kB / 0.5871 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.5854, allocations: 219.5 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.5854, allocations: 7.953 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.5855, allocations: 3.984 kB / 0.5873 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.794e-05/0.5856, allocations: 16 kB / 0.5874 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.5857, allocations: 57.61 kB / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5857, allocations: 0 / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5857, allocations: 3.938 kB / 0.5874 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.5857, allocations: 0 / 0.5874 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.5861, allocations: 277.5 kB / 0.5877 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.5862, allocations: 42.7 kB / 0.5877 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.5862, allocations: 20.97 kB / 0.5877 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.5862, allocations: 0 / 0.5877 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.5864, allocations: 63.34 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.5864, allocations: 4 kB / 0.5878 GB, free: 1.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004195/0.5868, allocations: 153.2 kB / 0.5879 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5868, allocations: 55.34 kB / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.587, allocations: 179.6 kB / 0.5882 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.5871, allocations: 29.7 kB / 0.5882 GB, free: 0.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.5871, allocations: 104.1 kB / 0.5883 GB, free: 488 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.5872, allocations: 27.64 kB / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.5872, allocations: 0 / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5873, allocations: 322.8 kB / 0.5886 GB, free: 128 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.5874, allocations: 20 kB / 0.5887 GB, free: 108 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.5874, allocations: 29.72 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.5875, allocations: 27.94 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5875, allocations: 0 / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.5877, allocations: 89.53 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5877, allocations: 4 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5877, allocations: 192 / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5877, allocations: 4 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.5878, allocations: 23.95 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5878, allocations: 192 / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.5879, allocations: 8 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5879, allocations: 0 / 0.5888 GB, free: 15.91 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 8.04e-05/0.588, allocations: 118.3 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.588, allocations: 15.75 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.5882, allocations: 107.5 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5883, allocations: 0 / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5883, allocations: 4 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5883, allocations: 0 / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.5887, allocations: 383.8 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5887, allocations: 0 / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.5888, allocations: 19.88 kB / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5888, allocations: 0 / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5888, allocations: 0 / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5888, allocations: 4 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5888, allocations: 4.031 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.589, allocations: 214 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.5891, allocations: 93 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.5892, allocations: 4 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.5892, allocations: 0 / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.5893, allocations: 11.98 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5893, allocations: 8 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.5895, allocations: 144 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5895, allocations: 0 / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.5898, allocations: 27.94 kB / 0.5899 GB, free: 14.68 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.0008804/0.5907, allocations: 393.3 kB / 0.5903 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.5908, allocations: 55.91 kB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5908, allocations: 0 / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.5909, allocations: 31.94 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.5912, allocations: 33.61 kB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.5916, allocations: 165.5 kB / 0.5906 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.5919, allocations: 0.7157 MB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.592, allocations: 16.42 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.5921, allocations: 23.42 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5921, allocations: 3.938 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of Templates: time 0.004007/0.5961, allocations: 1.645 MB / 0.5929 GB, free: 11.65 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches