Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, 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.358/1.358, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0009257/0.0009258, allocations: 94.73 kB / 295.1 MB, free: 9.484 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.3254/0.3254, allocations: 44.31 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 11.94 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3995, allocations: 61.91 MB / 0.5127 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002727/0.4023, allocations: 1.335 MB / 0.514 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.4033, allocations: 0.4918 MB / 0.5145 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.4034, allocations: 3.938 kB / 0.5145 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.4037, allocations: 53 kB / 0.5146 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.404, allocations: 44.11 kB / 0.5146 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.4046, allocations: 162.9 kB / 0.5148 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.4049, allocations: 80.02 kB / 0.5149 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.405, allocations: 23.58 kB / 0.5149 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.4051, allocations: 22.09 kB / 0.5149 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.4052, allocations: 46.48 kB / 0.5149 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4053, allocations: 6.719 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.4054, allocations: 42.91 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.4055, allocations: 18.66 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.4056, allocations: 55.92 kB / 0.5151 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4059, allocations: 103.7 kB / 0.5152 GB, free: 36.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4059, allocations: 3.938 kB / 0.5152 GB, free: 36.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4059, allocations: 4 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4059, allocations: 3.875 kB / 0.5152 GB, free: 36.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005871/0.4065, allocations: 405.2 kB / 0.5156 GB, free: 35.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4066, allocations: 8.406 kB / 0.5156 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.4066, allocations: 14.22 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.4068, allocations: 196.7 kB / 0.5158 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4069, allocations: 384 / 0.5158 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4069, allocations: 4.25 kB / 0.5158 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4071, allocations: 77 kB / 0.5158 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4071, allocations: 3.141 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4072, allocations: 0 / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.4072, allocations: 0 / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.4074, allocations: 58.31 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.4079, allocations: 318.2 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.4082, allocations: 70.5 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.4083, allocations: 32 kB / 0.5163 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.4083, allocations: 3.984 kB / 0.5163 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4083, allocations: 34.56 kB / 0.5163 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.4083, allocations: 2.719 kB / 0.5163 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0018/0.4102, allocations: 490.1 kB / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.4102, allocations: 59.75 kB / 0.5169 GB, free: 34.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.4104, allocations: 188.3 kB / 0.5171 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4104, allocations: 38.61 kB / 0.5171 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.4105, allocations: 104.3 kB / 0.5172 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.4106, allocations: 35.02 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.4106, allocations: 0 / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.4106, allocations: 322 kB / 0.5175 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4108, allocations: 65.3 kB / 0.5176 GB, free: 34.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.411, allocations: 61.94 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.4114, allocations: 138.3 kB / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4114, allocations: 0.9688 kB / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004645/0.4119, allocations: 183.9 kB / 0.518 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4119, allocations: 5.656 kB / 0.518 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4119, allocations: 0 / 0.518 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.412, allocations: 1.328 kB / 0.518 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.4121, allocations: 46.47 kB / 0.518 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4121, allocations: 0 / 0.518 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.4122, allocations: 14.41 kB / 0.518 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4122, allocations: 2.812 kB / 0.518 GB, free: 34.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.619e-05/0.4124, allocations: 128.8 kB / 0.5181 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.4124, allocations: 10.81 kB / 0.5182 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.413, allocations: 209 kB / 0.5184 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.413, allocations: 5.688 kB / 0.5184 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.413, allocations: 5.219 kB / 0.5184 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.413, allocations: 4.75 kB / 0.5184 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.4139, allocations: 0.5098 MB / 0.5189 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4139, allocations: 0 / 0.5189 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.414, allocations: 29.11 kB / 0.5189 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.414, allocations: 1.859 kB / 0.5189 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4141, allocations: 2.188 kB / 0.5189 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4141, allocations: 1.922 kB / 0.5189 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4141, allocations: 9.109 kB / 0.5189 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.4145, allocations: 289 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.4146, allocations: 92.28 kB / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4146, allocations: 0.6094 kB / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4148, allocations: 14.38 kB / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.4149, allocations: 18.08 kB / 0.5193 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4149, allocations: 7.516 kB / 0.5193 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.415, allocations: 141.9 kB / 0.5194 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.415, allocations: 0 / 0.5194 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.4154, allocations: 27.09 kB / 0.5195 GB, free: 33.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001298/0.4167, allocations: 0.5197 MB / 0.52 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.4171, allocations: 138.3 kB / 0.5201 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4172, allocations: 0 / 0.5201 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.4174, allocations: 82.02 kB / 0.5202 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.418, allocations: 20.52 kB / 0.5202 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.4186, allocations: 337 kB / 0.5205 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.4188, allocations: 0.7195 MB / 0.5212 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000137/0.4189, allocations: 35.55 kB / 0.5213 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.419, allocations: 13.59 kB / 0.5213 GB, free: 31.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.419, allocations: 0 / 0.5213 GB, free: 31.76 MB / 378.7 MB Notification: Performance of Templates: time 0.004856/0.4239, allocations: 1.501 MB / 0.5227 GB, free: 31.58 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches