Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000974/0.000974, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 91.41 kB / 292.2 MB, free: 10.92 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.3479/0.3479, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4118, allocations: 61.91 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.533, allocations: 89.25 MB / 0.5967 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5333, allocations: 79.89 kB / 0.5968 GB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.5476, allocations: 5.491 MB / 0.6022 GB, free: 308 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5476, allocations: 3.938 kB / 0.6022 GB, free: 304 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.5477, allocations: 0 / 0.6022 GB, free: 304 kB / 410.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.0004929/0.5482, allocations: 414.9 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5482, allocations: 8.031 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.5483, allocations: 11.91 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.5485, allocations: 223.7 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.5486, allocations: 11.89 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.5486, allocations: 0 / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.5487, allocations: 53.67 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5487, allocations: 4 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5488, allocations: 4 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5488, allocations: 7.984 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.5488, allocations: 19.98 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.5492, allocations: 292.8 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.5494, allocations: 54.69 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.5494, allocations: 0 / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.5496, allocations: 75.5 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5496, allocations: 0 / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.5501, allocations: 173.2 kB / 0.6035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5502, allocations: 55.41 kB / 0.6035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.5503, allocations: 163.1 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5503, allocations: 33.64 kB / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.5504, allocations: 108.1 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.5505, allocations: 27.62 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.5505, allocations: 4 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5506, allocations: 326.8 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.5507, allocations: 20 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.5507, allocations: 33.7 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.5508, allocations: 24.17 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5508, allocations: 4 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.551, allocations: 105.4 kB / 0.6043 GB, free: 13.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.551, allocations: 5.875 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.551, allocations: 0 / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.551, allocations: 7.984 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.5511, allocations: 12 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5511, allocations: 0 / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.5512, allocations: 4 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5512, allocations: 4 kB / 0.6044 GB, free: 13.84 MB / 426.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 () * Number of clocked 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 0.0001055/0.5513, allocations: 138.3 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.5513, allocations: 11.84 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.5516, allocations: 122.4 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5516, allocations: 0 / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5516, allocations: 384 / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5516, allocations: 7.984 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.5521, allocations: 419.3 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5521, allocations: 0 / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.5522, allocations: 8 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5522, allocations: 0 / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5522, allocations: 4 kB / 0.605 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5522, allocations: 3.984 kB / 0.605 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5522, allocations: 0 / 0.605 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.5524, allocations: 233.8 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.5525, allocations: 89 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.5525, allocations: 8 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.5526, allocations: 4 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.5527, allocations: 3.984 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.5527, allocations: 7.953 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5528, allocations: 148 kB / 0.6055 GB, free: 12.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5528, allocations: 0 / 0.6055 GB, free: 12.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.5531, allocations: 35.94 kB / 0.6056 GB, free: 12.5 MB / 426.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) * Number of clocked states: 0 () * 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.001007/0.5541, allocations: 485.2 kB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.5543, allocations: 59.97 kB / 0.6061 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5543, allocations: 0 / 0.6061 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.5544, allocations: 35.92 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.5546, allocations: 23.98 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.555, allocations: 250.5 kB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.5553, allocations: 0.7159 MB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.5554, allocations: 12.55 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.5554, allocations: 19.42 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5554, allocations: 4 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of Templates: time 0.003922/0.5594, allocations: 1.682 MB / 0.6087 GB, free: 9.359 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches