Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 177.9 kB / 17.41 MB, free: 4.289 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.339/1.339, 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.0007798/0.0007799, allocations: 89.45 kB / 295 MB, free: 9.492 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.3661/0.3661, allocations: 44.31 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 15.98 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4038, allocations: 61.91 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002133/0.406, allocations: 1.402 MB / 0.5141 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.408, allocations: 1.546 MB / 0.5156 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.4081, allocations: 1.312 kB / 0.5156 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4085, allocations: 32.84 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.4087, allocations: 47.48 kB / 0.5157 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.409, allocations: 104.6 kB / 0.5158 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.4091, allocations: 92 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4093, allocations: 9.828 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.4093, allocations: 37.95 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.4095, allocations: 39.14 kB / 0.516 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.4095, allocations: 3.062 kB / 0.516 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4096, allocations: 50.25 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.4097, allocations: 16.72 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.4097, allocations: 55.64 kB / 0.5161 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.41, allocations: 119 kB / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.41, allocations: 0 / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.41, allocations: 0 / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.41, allocations: 0 / 0.5162 GB, free: 35.46 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.0004754/0.4105, allocations: 393.5 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4105, allocations: 8.719 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.4106, allocations: 10.94 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.4108, allocations: 207.5 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4108, allocations: 7.531 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4108, allocations: 6.875 kB / 0.5168 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.411, allocations: 67.03 kB / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.411, allocations: 0 / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.411, allocations: 0 / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.411, allocations: 0 / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/0.4111, allocations: 22.17 kB / 0.5169 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.4114, allocations: 285 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.4116, allocations: 58.34 kB / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.4117, allocations: 16.83 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.4117, allocations: 3.938 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.4119, allocations: 71.12 kB / 0.5173 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.295e-06/0.4119, allocations: 0 / 0.5173 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004994/0.4124, allocations: 173.6 kB / 0.5175 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4124, allocations: 77.11 kB / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.4125, allocations: 158.5 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.4126, allocations: 29.64 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.4126, allocations: 96.19 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.4126, allocations: 30.3 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.4127, allocations: 0 / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.4127, allocations: 324.8 kB / 0.5182 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.4128, allocations: 22.09 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.4128, allocations: 46.84 kB / 0.5182 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.555e-05/0.4129, allocations: 59.56 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4129, allocations: 4.031 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001438/0.4131, allocations: 96.75 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4131, allocations: 5.75 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4131, allocations: 0 / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4131, allocations: 3.984 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.4132, allocations: 18.09 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4132, allocations: 0 / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.4133, allocations: 11.34 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4133, allocations: 3.25 kB / 0.5184 GB, free: 33.45 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 7.904e-05/0.4134, allocations: 123.6 kB / 0.5185 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.4134, allocations: 9.969 kB / 0.5185 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/0.4135, allocations: 18.88 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4135, allocations: 0 / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4135, allocations: 6.75 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4135, allocations: 3.938 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.4139, allocations: 388.2 kB / 0.5189 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4139, allocations: 0.8125 kB / 0.5189 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.4139, allocations: 12.78 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4139, allocations: 1.094 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4139, allocations: 6.703 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4139, allocations: 1.719 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4139, allocations: 0 / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4141, allocations: 208 kB / 0.5192 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.4142, allocations: 90.45 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.4142, allocations: 7.203 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.4143, allocations: 7 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4144, allocations: 9.672 kB / 0.5193 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.4144, allocations: 8.266 kB / 0.5193 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.304e-05/0.4145, allocations: 118.1 kB / 0.5194 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4145, allocations: 1.062 kB / 0.5194 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.4147, allocations: 34.11 kB / 0.5194 GB, free: 32.55 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.001123/0.4159, allocations: 0.5802 MB / 0.52 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4161, allocations: 58.97 kB / 0.5201 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4161, allocations: 1.125 kB / 0.5201 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.4162, allocations: 24.27 kB / 0.5201 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4165, allocations: 34.45 kB / 0.5201 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.4169, allocations: 217.3 kB / 0.5203 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.4171, allocations: 0.6951 MB / 0.521 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.4171, allocations: 21.67 kB / 0.521 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.4172, allocations: 18.84 kB / 0.521 GB, free: 31.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4172, allocations: 0 / 0.521 GB, free: 31.28 MB / 378.7 MB Notification: Performance of Templates: time 0.00411/0.4213, allocations: 1.867 MB / 0.5229 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches