Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002679/0.002679, allocations: 174.2 kB / 17.41 MB, free: 4.41 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.343/1.343, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0007658/0.0007658, allocations: 93.36 kB / 295 MB, free: 9.48 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.3492/0.3492, allocations: 44.32 MB / 390.5 MB, free: 38.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004214, allocations: 12 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4046, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00189/0.4065, allocations: 1.399 MB / 0.5141 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4077, allocations: 0.8978 MB / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.4078, allocations: 0 / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.4082, allocations: 49.38 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.4084, allocations: 52.44 kB / 0.5151 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.4088, allocations: 103.1 kB / 0.5152 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.4089, allocations: 94.88 kB / 0.5153 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.409, allocations: 9.797 kB / 0.5153 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.4091, allocations: 39.81 kB / 0.5153 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.4092, allocations: 33.94 kB / 0.5154 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.4092, allocations: 2.906 kB / 0.5154 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.4094, allocations: 34.2 kB / 0.5154 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.4095, allocations: 24.84 kB / 0.5154 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.4095, allocations: 58.11 kB / 0.5155 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.4097, allocations: 117.5 kB / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4098, allocations: 0 / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4098, allocations: 0 / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4098, allocations: 2.781 kB / 0.5156 GB, free: 36.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005258/0.4103, allocations: 414.3 kB / 0.516 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4104, allocations: 8.156 kB / 0.516 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.4104, allocations: 10.75 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4106, allocations: 218.8 kB / 0.5162 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4107, allocations: 384 / 0.5162 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4107, allocations: 10.66 kB / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4108, allocations: 54.16 kB / 0.5163 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4109, allocations: 4 kB / 0.5163 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4109, allocations: 0 / 0.5163 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.4109, allocations: 0 / 0.5163 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.411, allocations: 25.45 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.4113, allocations: 290.3 kB / 0.5166 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.4114, allocations: 51.64 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.4115, allocations: 26.14 kB / 0.5166 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.4115, allocations: 3.281 kB / 0.5167 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.4117, allocations: 64.81 kB / 0.5167 GB, free: 34.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4117, allocations: 0 / 0.5167 GB, free: 34.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005136/0.4122, allocations: 180.1 kB / 0.5169 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4123, allocations: 54.19 kB / 0.5169 GB, free: 34.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.4125, allocations: 233.7 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.4125, allocations: 28.73 kB / 0.5172 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.4126, allocations: 109.1 kB / 0.5173 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.4126, allocations: 24.2 kB / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.4126, allocations: 0 / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.4127, allocations: 324.3 kB / 0.5176 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.4127, allocations: 22.88 kB / 0.5176 GB, free: 34.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.4128, allocations: 43.53 kB / 0.5177 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.4129, allocations: 60.47 kB / 0.5177 GB, free: 34.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4129, allocations: 0 / 0.5177 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.4131, allocations: 105.7 kB / 0.5178 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4131, allocations: 5.906 kB / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4131, allocations: 384 / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4131, allocations: 2.875 kB / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.4132, allocations: 19.19 kB / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4132, allocations: 8.031 kB / 0.5179 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.4133, allocations: 10.84 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.4133, allocations: 3.125 kB / 0.5179 GB, free: 34.05 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/0.4134, allocations: 124.5 kB / 0.518 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.4134, allocations: 12.38 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.4135, allocations: 22.5 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4135, allocations: 0 / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4135, allocations: 3.938 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4135, allocations: 7.938 kB / 0.5181 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.4139, allocations: 397.6 kB / 0.5184 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4139, allocations: 0 / 0.5184 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.4139, allocations: 11.47 kB / 0.5184 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4139, allocations: 0.9375 kB / 0.5184 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4139, allocations: 5.75 kB / 0.5185 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4139, allocations: 4.969 kB / 0.5185 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.414, allocations: 0.9688 kB / 0.5185 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.4142, allocations: 206.2 kB / 0.5187 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.4142, allocations: 88.02 kB / 0.5187 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4142, allocations: 10.75 kB / 0.5187 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.4143, allocations: 5.641 kB / 0.5188 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.4143, allocations: 3.25 kB / 0.5188 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4144, allocations: 6.078 kB / 0.5188 GB, free: 33.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.4145, allocations: 170 kB / 0.5189 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4145, allocations: 1.594 kB / 0.5189 GB, free: 33.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.4147, allocations: 21 kB / 0.5189 GB, free: 33.17 MB / 378.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001153/0.4159, allocations: 0.5312 MB / 0.5195 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4161, allocations: 51.17 kB / 0.5195 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4161, allocations: 192 / 0.5195 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.4162, allocations: 31.78 kB / 0.5195 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.4165, allocations: 27.59 kB / 0.5196 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.4171, allocations: 285.9 kB / 0.5198 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.4173, allocations: 0.7126 MB / 0.5205 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.4173, allocations: 16.69 kB / 0.5206 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.4174, allocations: 14.61 kB / 0.5206 GB, free: 31.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4174, allocations: 0 / 0.5206 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004595/0.422, allocations: 1.639 MB / 0.5222 GB, free: 31.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches