Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000968/0.0009677, allocations: 173 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.328/1.328, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009175/0.0009175, 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.2258/0.2258, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.936e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.5259, allocations: 88.78 MB / 0.5814 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5262, allocations: 74.31 kB / 0.5815 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.5423, allocations: 5.824 MB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.5423, allocations: 2.953 kB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.5424, allocations: 4 kB / 0.5871 GB, free: 1.828 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.000438/0.5428, allocations: 390.2 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5428, allocations: 15.97 kB / 0.5875 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.5429, allocations: 7.906 kB / 0.5875 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.5432, allocations: 208.2 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5433, allocations: 0 / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.5433, allocations: 11.92 kB / 0.5878 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.612e-05/0.5434, allocations: 19.94 kB / 0.5878 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.5435, allocations: 67.39 kB / 0.5878 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5435, allocations: 3.938 kB / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5435, allocations: 0 / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5435, allocations: 0 / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.5439, allocations: 261.5 kB / 0.5881 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.544, allocations: 62.62 kB / 0.5881 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.5441, allocations: 16.98 kB / 0.5882 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.5441, allocations: 0 / 0.5882 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.5442, allocations: 63.39 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.5442, allocations: 0 / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004167/0.5446, allocations: 145.2 kB / 0.5884 GB, free: 428 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5447, allocations: 85.11 kB / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.5449, allocations: 143.5 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5449, allocations: 25.7 kB / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.5449, allocations: 96.14 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.545, allocations: 23.64 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.545, allocations: 0 / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5451, allocations: 326.8 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.5452, allocations: 16 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.5452, allocations: 42.58 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.5453, allocations: 31.97 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5453, allocations: 0 / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001384/0.5454, allocations: 85.59 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5454, allocations: 7.984 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5455, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5455, allocations: 4 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.5456, allocations: 19.94 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.5456, allocations: 64 / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.5456, allocations: 8 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.5457, allocations: 3.984 kB / 0.5892 GB, free: 15.46 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 7.42e-05/0.5457, allocations: 108.9 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.5458, allocations: 7.906 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.546, allocations: 114.3 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.546, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.546, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.546, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.5464, allocations: 375.8 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5464, allocations: 7.938 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.5464, allocations: 11.98 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5464, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5464, allocations: 4 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5464, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5465, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.5466, allocations: 214.1 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.5467, allocations: 93 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.5467, allocations: 0 / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.5468, allocations: 4.188 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.5469, allocations: 15.92 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.5469, allocations: 8 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.547, allocations: 119.3 kB / 0.5903 GB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.547, allocations: 0 / 0.5903 GB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.5473, allocations: 31.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.0009073/0.5482, allocations: 438.3 kB / 0.5907 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.5483, allocations: 55.94 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5483, allocations: 0 / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.5484, allocations: 27.98 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.000246/0.5487, allocations: 19.98 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.0002929/0.549, allocations: 137.7 kB / 0.591 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.5492, allocations: 0.7158 MB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.5493, allocations: 8.562 kB / 0.5917 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.5493, allocations: 19.42 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5493, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of Templates: time 0.004073/0.5534, allocations: 1.827 MB / 0.5935 GB, free: 11.07 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches