Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 170.4 kB / 8.739 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.431/1.431, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.001005/0.001005, allocations: 92.42 kB / 281.6 MB, free: 5.254 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.173/0.173, allocations: 44.16 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.825e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.526, allocations: 88.51 MB / 0.5811 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5264, allocations: 79.95 kB / 0.5812 GB, free: 7.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.5412, allocations: 5.34 MB / 0.5864 GB, free: 2.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5413, allocations: 0 / 0.5864 GB, free: 2.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.5413, allocations: 0 / 0.5864 GB, free: 2.598 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.0004647/0.5418, allocations: 382.2 kB / 0.5868 GB, free: 2.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5418, allocations: 15.98 kB / 0.5868 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.5419, allocations: 7.906 kB / 0.5868 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.5422, allocations: 207.4 kB / 0.587 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5422, allocations: 7.891 kB / 0.587 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.5423, allocations: 8 kB / 0.587 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.189e-05/0.5424, allocations: 15.98 kB / 0.587 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/0.5425, allocations: 53.67 kB / 0.5871 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5425, allocations: 0 / 0.5871 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5425, allocations: 7.938 kB / 0.5871 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5425, allocations: 0 / 0.5871 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.5428, allocations: 265.4 kB / 0.5873 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.543, allocations: 58.61 kB / 0.5874 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.543, allocations: 16.98 kB / 0.5874 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.543, allocations: 0 / 0.5874 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.5432, allocations: 67.39 kB / 0.5875 GB, free: 1.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5432, allocations: 0 / 0.5875 GB, free: 1.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004326/0.5436, allocations: 145.2 kB / 0.5876 GB, free: 1.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.5437, allocations: 55.41 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5438, allocations: 148.6 kB / 0.5878 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5439, allocations: 25.7 kB / 0.5878 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.5439, allocations: 96.14 kB / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.544, allocations: 23.7 kB / 0.5879 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.544, allocations: 0.75 kB / 0.5879 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5441, allocations: 322.8 kB / 0.5883 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.5442, allocations: 16 kB / 0.5883 GB, free: 500 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.5442, allocations: 37.66 kB / 0.5883 GB, free: 456 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.5443, allocations: 23.94 kB / 0.5883 GB, free: 432 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.5443, allocations: 0 / 0.5883 GB, free: 432 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.5444, allocations: 93.59 kB / 0.5884 GB, free: 332 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5445, allocations: 8 kB / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5445, allocations: 0 / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5445, allocations: 0 / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5446, allocations: 16.17 kB / 0.5884 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.5446, allocations: 8 kB / 0.5884 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.5447, allocations: 11.88 kB / 0.5885 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.5447, allocations: 4 kB / 0.5885 GB, free: 284 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 9.921e-05/0.5448, allocations: 112.9 kB / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.5448, allocations: 7.906 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.5451, allocations: 110.2 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5451, allocations: 0 / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5451, allocations: 0 / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5451, allocations: 3.984 kB / 0.5887 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.5455, allocations: 375.8 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.5455, allocations: 0 / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.5456, allocations: 11.94 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5456, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5456, allocations: 4 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5456, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5456, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.5458, allocations: 217.8 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.5459, allocations: 93 kB / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5459, allocations: 0 / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.546, allocations: 4 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.546, allocations: 7.984 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5461, allocations: 4 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.5462, allocations: 124.2 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5462, allocations: 0 / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.5464, allocations: 23.98 kB / 0.5895 GB, free: 15.1 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.000971/0.5474, allocations: 396.8 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.5475, allocations: 47.98 kB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5476, allocations: 0 / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.5476, allocations: 31.92 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.5479, allocations: 30.19 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.5482, allocations: 145.9 kB / 0.5901 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5485, allocations: 0.704 MB / 0.5908 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.5486, allocations: 24.84 kB / 0.5908 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.5486, allocations: 11.44 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5486, allocations: 7.938 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of Templates: time 0.003892/0.5525, allocations: 1.58 MB / 0.5924 GB, free: 12.17 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches