Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009728/0.0009727, allocations: 175.1 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007363/0.0007361, allocations: 99.7 kB / 295.1 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3845/0.3845, allocations: 44.32 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 12 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3942, allocations: 61.9 MB / 0.5127 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002393/0.3966, allocations: 1.562 MB / 0.5143 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3984, allocations: 1.007 MB / 0.5153 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.3985, allocations: 2.844 kB / 0.5153 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.399, allocations: 154.5 kB / 0.5154 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.3993, allocations: 126.6 kB / 0.5155 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.3998, allocations: 156.1 kB / 0.5157 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.4002, allocations: 220.8 kB / 0.5159 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4003, allocations: 27.17 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.4005, allocations: 97.31 kB / 0.516 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.4007, allocations: 126.1 kB / 0.5161 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.4007, allocations: 2.969 kB / 0.5161 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4009, allocations: 50.56 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.401, allocations: 47.31 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.4011, allocations: 97.23 kB / 0.5163 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.4014, allocations: 207.4 kB / 0.5165 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4015, allocations: 0 / 0.5165 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4015, allocations: 0 / 0.5165 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4015, allocations: 0 / 0.5165 GB, free: 35.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007149/0.4022, allocations: 0.4921 MB / 0.517 GB, free: 34.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4023, allocations: 10.44 kB / 0.517 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.4023, allocations: 27.16 kB / 0.517 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.4027, allocations: 264.3 kB / 0.5173 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.4027, allocations: 3.188 kB / 0.5173 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.4027, allocations: 13.41 kB / 0.5173 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.403, allocations: 114 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.403, allocations: 10.84 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.4031, allocations: 3.328 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4031, allocations: 3 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.4032, allocations: 45.19 kB / 0.5175 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.4038, allocations: 460.3 kB / 0.5179 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.4043, allocations: 118.2 kB / 0.518 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.4044, allocations: 50.86 kB / 0.5181 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.4045, allocations: 6.156 kB / 0.5181 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.4048, allocations: 119.7 kB / 0.5182 GB, free: 33.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.4048, allocations: 0 / 0.5182 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001602/0.4064, allocations: 484.4 kB / 0.5186 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4065, allocations: 79.72 kB / 0.5187 GB, free: 33.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.407, allocations: 361.6 kB / 0.5191 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.407, allocations: 32.33 kB / 0.5191 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.4071, allocations: 144.4 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.4072, allocations: 70.06 kB / 0.5193 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.4072, allocations: 2.719 kB / 0.5193 GB, free: 33.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.4073, allocations: 341.5 kB / 0.5196 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4075, allocations: 55.41 kB / 0.5197 GB, free: 32.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.4076, allocations: 99.95 kB / 0.5198 GB, free: 32.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.4079, allocations: 154.2 kB / 0.5199 GB, free: 32.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.408, allocations: 6.75 kB / 0.5199 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004647/0.4084, allocations: 222.9 kB / 0.5201 GB, free: 32.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4085, allocations: 13.28 kB / 0.5202 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4085, allocations: 5.531 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4085, allocations: 1.281 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.4087, allocations: 45.83 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.4087, allocations: 5.281 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4089, allocations: 8.875 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.4089, allocations: 10.53 kB / 0.5202 GB, free: 32.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.4091, allocations: 155.1 kB / 0.5204 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4091, allocations: 36.28 kB / 0.5204 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.941e-05/0.4092, allocations: 33.95 kB / 0.5204 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4092, allocations: 2.562 kB / 0.5204 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4093, allocations: 2.531 kB / 0.5204 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4093, allocations: 3.188 kB / 0.5205 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.4102, allocations: 0.7165 MB / 0.5212 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4102, allocations: 0 / 0.5212 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4104, allocations: 30.7 kB / 0.5212 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4104, allocations: 3.594 kB / 0.5212 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4104, allocations: 11.64 kB / 0.5212 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4104, allocations: 4 kB / 0.5212 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4104, allocations: 3.531 kB / 0.5212 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.4109, allocations: 421.1 kB / 0.5216 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.411, allocations: 104.4 kB / 0.5217 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4111, allocations: 6.531 kB / 0.5217 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4113, allocations: 16.69 kB / 0.5217 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.4114, allocations: 23.58 kB / 0.5217 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.4114, allocations: 10.84 kB / 0.5218 GB, free: 31.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.4117, allocations: 260.5 kB / 0.522 GB, free: 31.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4117, allocations: 0 / 0.522 GB, free: 31.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004889/0.4122, allocations: 50.73 kB / 0.5221 GB, free: 31.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.4137, allocations: 0.6036 MB / 0.5226 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.4141, allocations: 152.6 kB / 0.5228 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4142, allocations: 0 / 0.5228 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.4143, allocations: 82.38 kB / 0.5229 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.4151, allocations: 63.72 kB / 0.5229 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.4161, allocations: 0.547 MB / 0.5235 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4164, allocations: 0.7595 MB / 0.5242 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.4165, allocations: 45.25 kB / 0.5242 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.4166, allocations: 34.7 kB / 0.5243 GB, free: 29.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4166, allocations: 0 / 0.5243 GB, free: 29.75 MB / 378.7 MB Notification: Performance of Templates: time 0.008063/0.4247, allocations: 2.879 MB / 0.5271 GB, free: 29.45 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches