Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 176.3 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.391/1.391, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0009/0.0009, allocations: 95.11 kB / 281.6 MB, free: 5.262 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.1892/0.1892, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.465e-05, allocations: 7.938 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 61.91 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.4898, allocations: 88.78 MB / 0.5814 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4902, allocations: 79.94 kB / 0.5815 GB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.5062, allocations: 5.833 MB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.5063, allocations: 0 / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5063, allocations: 7.938 kB / 0.5872 GB, free: 1.824 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.0004885/0.5068, allocations: 386.3 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5069, allocations: 11.98 kB / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.5069, allocations: 7.906 kB / 0.5875 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.5072, allocations: 212.1 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5072, allocations: 0 / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.5073, allocations: 7.938 kB / 0.5878 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.875e-05/0.5074, allocations: 19.98 kB / 0.5878 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.5075, allocations: 67.39 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5075, allocations: 0 / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5075, allocations: 0 / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.5075, allocations: 0 / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.5079, allocations: 273.4 kB / 0.5881 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.845e-05/0.508, allocations: 50.69 kB / 0.5881 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.508, allocations: 16.98 kB / 0.5882 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.5081, allocations: 0 / 0.5882 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.5082, allocations: 63.39 kB / 0.5882 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.5082, allocations: 0 / 0.5882 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004043/0.5086, allocations: 149.2 kB / 0.5884 GB, free: 432 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5087, allocations: 81.11 kB / 0.5884 GB, free: 332 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.5088, allocations: 147.5 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5088, allocations: 29.7 kB / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.5089, allocations: 92.14 kB / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.5089, allocations: 27.64 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.5089, allocations: 0 / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.509, allocations: 326.8 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.5091, allocations: 12.75 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.5091, allocations: 50.52 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.5092, allocations: 15.98 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5092, allocations: 192 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001387/0.5093, allocations: 93.58 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5093, allocations: 9.344 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5094, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5094, allocations: 4 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.5095, allocations: 19.92 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.5095, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.5095, allocations: 8.062 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.5095, allocations: 0 / 0.5892 GB, free: 15.47 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 6.883e-05/0.5096, allocations: 112.9 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.5096, allocations: 7.906 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5098, allocations: 110.2 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5099, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5099, allocations: 7.922 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5099, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.5103, allocations: 375.8 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5103, allocations: 0 / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.5103, allocations: 8 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5103, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5104, allocations: 7.984 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5104, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5104, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.5106, allocations: 218.1 kB / 0.5901 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.5106, allocations: 89.02 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5107, allocations: 3.984 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.5107, allocations: 4 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.5108, allocations: 7.953 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5108, allocations: 11.98 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.689e-05/0.5109, allocations: 115.3 kB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5109, allocations: 3.938 kB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.5112, allocations: 35.94 kB / 0.5903 GB, free: 14.27 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.0008927/0.5121, allocations: 429.4 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.5122, allocations: 63.92 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5122, allocations: 0 / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.5123, allocations: 23.94 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.5125, allocations: 27.91 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.5129, allocations: 133.8 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.5132, allocations: 0.708 MB / 0.5916 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.403e-05/0.5132, allocations: 12.86 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.5133, allocations: 19.42 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5133, allocations: 0 / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004671/0.518, allocations: 1.827 MB / 0.5935 GB, free: 11.07 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches