Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 174.1 kB / 17.4 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.323/1.323, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.0008642/0.0008645, allocations: 102.6 kB / 295.1 MB, free: 9.727 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.4495/0.4495, allocations: 44.32 MB / 390.5 MB, free: 38.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 12 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3895, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001983/0.3915, allocations: 1.56 MB / 0.5143 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3929, allocations: 1.006 MB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.393, allocations: 2.812 kB / 0.5153 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.3934, allocations: 154.8 kB / 0.5154 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.3937, allocations: 120.2 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.3941, allocations: 169.8 kB / 0.5157 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.3944, allocations: 213.5 kB / 0.5159 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3945, allocations: 26.78 kB / 0.5159 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3946, allocations: 96.33 kB / 0.516 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3948, allocations: 123.4 kB / 0.5161 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3949, allocations: 3.219 kB / 0.5161 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.395, allocations: 57.77 kB / 0.5162 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.3951, allocations: 48.56 kB / 0.5162 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.3952, allocations: 102.5 kB / 0.5163 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3954, allocations: 200.8 kB / 0.5165 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3955, allocations: 0 / 0.5165 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3955, allocations: 0 / 0.5165 GB, free: 35.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3955, allocations: 0 / 0.5165 GB, free: 35.65 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.0006775/0.3962, allocations: 0.4884 MB / 0.517 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3962, allocations: 8.938 kB / 0.517 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.3963, allocations: 27.62 kB / 0.517 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.3967, allocations: 273.3 kB / 0.5173 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3968, allocations: 7.125 kB / 0.5173 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.3968, allocations: 10.12 kB / 0.5173 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3971, allocations: 110.8 kB / 0.5174 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3971, allocations: 7.844 kB / 0.5174 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3971, allocations: 10.27 kB / 0.5174 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3972, allocations: 0 / 0.5174 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3973, allocations: 43.72 kB / 0.5175 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.3979, allocations: 471.1 kB / 0.5179 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.3983, allocations: 121.7 kB / 0.518 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3984, allocations: 52.06 kB / 0.5181 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.3985, allocations: 3.594 kB / 0.5181 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.3988, allocations: 108.8 kB / 0.5182 GB, free: 34.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3988, allocations: 4 kB / 0.5182 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0016/0.4004, allocations: 481.4 kB / 0.5186 GB, free: 34.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.4005, allocations: 85.25 kB / 0.5187 GB, free: 33.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.4011, allocations: 350.9 kB / 0.5191 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.4011, allocations: 32.58 kB / 0.5191 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4013, allocations: 143.4 kB / 0.5192 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/0.4014, allocations: 80.5 kB / 0.5193 GB, free: 33.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.4014, allocations: 4 kB / 0.5193 GB, free: 33.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4015, allocations: 340.7 kB / 0.5196 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4017, allocations: 56.59 kB / 0.5197 GB, free: 33.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.4018, allocations: 88.47 kB / 0.5198 GB, free: 33.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.4021, allocations: 157.5 kB / 0.5199 GB, free: 33.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4021, allocations: 0 / 0.5199 GB, free: 33.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003655/0.4025, allocations: 232.5 kB / 0.5201 GB, free: 32.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4025, allocations: 9.875 kB / 0.5202 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4025, allocations: 3.938 kB / 0.5202 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4025, allocations: 2.875 kB / 0.5202 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4027, allocations: 45.77 kB / 0.5202 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4027, allocations: 2.844 kB / 0.5202 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.4028, allocations: 14.27 kB / 0.5202 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.4028, allocations: 8.594 kB / 0.5202 GB, free: 32.9 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.0001327/0.4029, allocations: 153.5 kB / 0.5204 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.403, allocations: 33.03 kB / 0.5204 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.403, allocations: 35.56 kB / 0.5204 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4031, allocations: 2.938 kB / 0.5204 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4031, allocations: 4 kB / 0.5204 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4031, allocations: 3.938 kB / 0.5205 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.4039, allocations: 0.7112 MB / 0.5211 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4039, allocations: 6.875 kB / 0.5212 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.404, allocations: 35.22 kB / 0.5212 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.404, allocations: 2.531 kB / 0.5212 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.404, allocations: 6.75 kB / 0.5212 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.404, allocations: 5.672 kB / 0.5212 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.404, allocations: 2.031 kB / 0.5212 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.4044, allocations: 418.6 kB / 0.5216 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.4044, allocations: 108.7 kB / 0.5217 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.4045, allocations: 12.72 kB / 0.5217 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4046, allocations: 5.562 kB / 0.5217 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.4047, allocations: 27.33 kB / 0.5217 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.4047, allocations: 8.688 kB / 0.5218 GB, free: 31.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.4049, allocations: 261.9 kB / 0.522 GB, free: 31.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4049, allocations: 0 / 0.522 GB, free: 31.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.4052, allocations: 50.31 kB / 0.5221 GB, free: 31.59 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.0013/0.4066, allocations: 0.5961 MB / 0.5226 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.4069, allocations: 154.6 kB / 0.5228 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4069, allocations: 0 / 0.5228 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.4071, allocations: 90.8 kB / 0.5229 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.4077, allocations: 60.05 kB / 0.5229 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.4084, allocations: 0.5472 MB / 0.5235 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4086, allocations: 0.7652 MB / 0.5242 GB, free: 30.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.4088, allocations: 42.83 kB / 0.5243 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.4089, allocations: 31.58 kB / 0.5243 GB, free: 30.04 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4089, allocations: 0 / 0.5243 GB, free: 30.04 MB / 378.7 MB Notification: Performance of Templates: time 0.005953/0.4148, allocations: 2.89 MB / 0.5271 GB, free: 29.74 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches