Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 173.5 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.31/1.31, 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.0008216/0.0008216, allocations: 84.91 kB / 295 MB, free: 9.719 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.3605/0.3605, allocations: 44.33 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 15.94 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3633, allocations: 61.91 MB / 0.5128 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001924/0.3652, allocations: 1.363 MB / 0.5141 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3664, allocations: 0.8733 MB / 0.5149 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.3665, allocations: 0 / 0.5149 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.3668, allocations: 59.7 kB / 0.515 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.367, allocations: 60.86 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3672, allocations: 96.19 kB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3674, allocations: 93.94 kB / 0.5152 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.3675, allocations: 6.297 kB / 0.5152 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.3675, allocations: 37.59 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.3676, allocations: 49.22 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3676, allocations: 2.875 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.3677, allocations: 33.11 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.3678, allocations: 9.016 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.3678, allocations: 61.88 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.368, allocations: 89.34 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.368, allocations: 0 / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.368, allocations: 0 / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.368, allocations: 0 / 0.5155 GB, free: 35.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004917/0.3685, allocations: 392.8 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3686, allocations: 7.594 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3686, allocations: 13.75 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3688, allocations: 205 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3688, allocations: 4.375 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3689, allocations: 10.2 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.369, allocations: 44.52 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.369, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.369, allocations: 2.469 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.369, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.072e-05/0.3691, allocations: 19.34 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.3693, allocations: 181.7 kB / 0.5163 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3694, allocations: 47.81 kB / 0.5164 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.3695, allocations: 24.91 kB / 0.5164 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3695, allocations: 0 / 0.5164 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.3697, allocations: 72.12 kB / 0.5165 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.3697, allocations: 0 / 0.5165 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002552/0.37, allocations: 100.3 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.37, allocations: 51.41 kB / 0.5166 GB, free: 34.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3702, allocations: 184.4 kB / 0.5168 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3702, allocations: 32.55 kB / 0.5168 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.3702, allocations: 98.28 kB / 0.5169 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.3703, allocations: 14.75 kB / 0.5169 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.3703, allocations: 0 / 0.5169 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.3704, allocations: 325 kB / 0.5173 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.3704, allocations: 16.64 kB / 0.5173 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.3705, allocations: 26.59 kB / 0.5173 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.3706, allocations: 43.25 kB / 0.5173 GB, free: 34.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3706, allocations: 0 / 0.5173 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001272/0.3707, allocations: 93.52 kB / 0.5174 GB, free: 34.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3707, allocations: 5.875 kB / 0.5174 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3707, allocations: 0 / 0.5174 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3707, allocations: 0 / 0.5174 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.3708, allocations: 16.2 kB / 0.5174 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3708, allocations: 2.969 kB / 0.5175 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.3709, allocations: 3.031 kB / 0.5175 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3709, allocations: 4.297 kB / 0.5175 GB, free: 34.14 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 (7): * Single equations (assignments): 7 * 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.706e-05/0.371, allocations: 126.5 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.371, allocations: 13.84 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.371, allocations: 11.34 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3711, allocations: 6.25 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3711, allocations: 4 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3711, allocations: 0 / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.3712, allocations: 189.5 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3712, allocations: 0 / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3712, allocations: 2.875 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3712, allocations: 3.938 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3712, allocations: 3 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3712, allocations: 4 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3712, allocations: 0 / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.3714, allocations: 110.8 kB / 0.5179 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3715, allocations: 89.53 kB / 0.518 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3715, allocations: 0 / 0.518 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.3715, allocations: 9.719 kB / 0.518 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3716, allocations: 2.406 kB / 0.518 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3716, allocations: 6.5 kB / 0.518 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.3717, allocations: 148.6 kB / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3717, allocations: 0 / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.3719, allocations: 14.92 kB / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009807/0.3729, allocations: 470.7 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.373, allocations: 41.69 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3731, allocations: 0 / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.3731, allocations: 24.19 kB / 0.5187 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3734, allocations: 35.25 kB / 0.5187 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.3738, allocations: 214.3 kB / 0.5189 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.374, allocations: 0.7012 MB / 0.5196 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.374, allocations: 11.61 kB / 0.5196 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.374, allocations: 17.16 kB / 0.5196 GB, free: 32.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3741, allocations: 0 / 0.5196 GB, free: 32.3 MB / 378.7 MB Notification: Performance of Templates: time 0.00402/0.3781, allocations: 1.4 MB / 0.521 GB, free: 32.14 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches