Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 177 kB / 17.06 MB, free: 5.094 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.307/1.307, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009176/0.0009175, allocations: 88.02 kB / 292.1 MB, free: 10.96 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.394/0.394, allocations: 44.2 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003254, allocations: 8 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3717, allocations: 61.9 MB / 0.5096 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4914, allocations: 89.27 MB / 0.5967 GB, free: 5.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.4918, allocations: 79.94 kB / 0.5968 GB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.5079, allocations: 5.476 MB / 0.6022 GB, free: 356 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.5079, allocations: 3.938 kB / 0.6022 GB, free: 352 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.508, allocations: 3.938 kB / 0.6022 GB, free: 348 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.0005809/0.5085, allocations: 410.9 kB / 0.6026 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5086, allocations: 16.03 kB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.5087, allocations: 7.906 kB / 0.6026 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.509, allocations: 223.7 kB / 0.6028 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.509, allocations: 3.953 kB / 0.6028 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.509, allocations: 0 / 0.6028 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.5092, allocations: 57.67 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5092, allocations: 0 / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5092, allocations: 0 / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5092, allocations: 3.984 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.5093, allocations: 27.98 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.5098, allocations: 292.8 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.5099, allocations: 58.67 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.51, allocations: 0 / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.5101, allocations: 71.52 kB / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.727e-06/0.5101, allocations: 0 / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.5107, allocations: 169.2 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5107, allocations: 55.41 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.5109, allocations: 179.1 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.511, allocations: 25.7 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.511, allocations: 96.14 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.5111, allocations: 31.62 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.5111, allocations: 8 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5112, allocations: 326.8 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.5113, allocations: 19.98 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.5113, allocations: 37.7 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.5114, allocations: 20.19 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5114, allocations: 0 / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.5116, allocations: 113.5 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5116, allocations: 5.406 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5116, allocations: 0 / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5116, allocations: 7.984 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.5117, allocations: 15.98 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5118, allocations: 0 / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.5118, allocations: 4.188 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5118, allocations: 4 kB / 0.6044 GB, free: 13.88 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.0001131/0.5119, allocations: 140.2 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.512, allocations: 11.91 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.5122, allocations: 122.2 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5122, allocations: 0 / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5122, allocations: 4 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5123, allocations: 0 / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.5127, allocations: 411.3 kB / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5127, allocations: 0 / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.5128, allocations: 16.02 kB / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5128, allocations: 0 / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5128, allocations: 4 kB / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5128, allocations: 384 / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5128, allocations: 0 / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5131, allocations: 225.8 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.5131, allocations: 101 kB / 0.6053 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.5132, allocations: 4 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.5132, allocations: 8 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.5133, allocations: 7.984 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5133, allocations: 3.953 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5134, allocations: 148 kB / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5134, allocations: 0 / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.5137, allocations: 31.94 kB / 0.6055 GB, free: 12.55 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.00102/0.5147, allocations: 487.2 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.5149, allocations: 55.98 kB / 0.6061 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5149, allocations: 0 / 0.6061 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.515, allocations: 39.98 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.5153, allocations: 27.97 kB / 0.6061 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.5158, allocations: 242.4 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.5161, allocations: 0.7159 MB / 0.6071 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.5162, allocations: 12.55 kB / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.5162, allocations: 15.44 kB / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5162, allocations: 0 / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of Templates: time 0.004265/0.5205, allocations: 1.691 MB / 0.6087 GB, free: 9.41 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches