Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 180 kB / 17.41 MB, free: 4.414 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.366/1.366, 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.0007652/0.0007653, allocations: 94.86 kB / 295.1 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.3538/0.3538, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3689, allocations: 61.9 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001757/0.3707, allocations: 1.401 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3718, allocations: 0.898 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.3718, allocations: 0 / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.3722, allocations: 54.25 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3723, allocations: 50.41 kB / 0.5151 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3726, allocations: 102.6 kB / 0.5152 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3727, allocations: 98.36 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.3728, allocations: 5.359 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.3729, allocations: 49.12 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.373, allocations: 33.92 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.373, allocations: 2.625 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.3731, allocations: 30.16 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.3731, allocations: 26.25 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.3732, allocations: 69.28 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3733, allocations: 123.9 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3734, allocations: 0 / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3734, allocations: 0 / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3734, allocations: 0 / 0.5156 GB, free: 35.96 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.0004228/0.3738, allocations: 420 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3738, allocations: 8.75 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3739, allocations: 17.56 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3741, allocations: 222.5 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3741, allocations: 384 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3741, allocations: 7.062 kB / 0.5163 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3742, allocations: 55.03 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3743, allocations: 3.938 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3743, allocations: 4 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3743, allocations: 2.906 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.3743, allocations: 16.28 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.3746, allocations: 299.3 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3748, allocations: 65.14 kB / 0.5167 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.3748, allocations: 21.36 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3749, allocations: 0 / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.375, allocations: 68.28 kB / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.375, allocations: 0 / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004562/0.3755, allocations: 170.2 kB / 0.5169 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3755, allocations: 57.09 kB / 0.517 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3757, allocations: 264.7 kB / 0.5172 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3757, allocations: 27.17 kB / 0.5173 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.3758, allocations: 110.5 kB / 0.5174 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3758, allocations: 30.73 kB / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.3758, allocations: 0 / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.3759, allocations: 330 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.376, allocations: 21.56 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.376, allocations: 38.48 kB / 0.5178 GB, free: 34.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3762, allocations: 61.22 kB / 0.5178 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3762, allocations: 1.062 kB / 0.5178 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001637/0.3763, allocations: 105.9 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3764, allocations: 5.562 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3764, allocations: 0.5156 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3764, allocations: 0.9375 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.3765, allocations: 20.34 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3765, allocations: 4.906 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.3766, allocations: 6.797 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3766, allocations: 3.688 kB / 0.518 GB, free: 33.92 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.072e-05/0.3767, allocations: 135.7 kB / 0.5181 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3767, allocations: 15.3 kB / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.3768, allocations: 31.42 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3768, allocations: 1 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3768, allocations: 4.75 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3768, allocations: 5.453 kB / 0.5182 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.3772, allocations: 400.9 kB / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3772, allocations: 1.125 kB / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.3772, allocations: 11.19 kB / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3772, allocations: 0 / 0.5185 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3772, allocations: 7.344 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3773, allocations: 0 / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3773, allocations: 0 / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3774, allocations: 208.9 kB / 0.5188 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3775, allocations: 89.64 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3775, allocations: 8.547 kB / 0.5188 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.3776, allocations: 3.75 kB / 0.5189 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3776, allocations: 12.05 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3777, allocations: 4.219 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3778, allocations: 204.1 kB / 0.5191 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3778, allocations: 0 / 0.5191 GB, free: 33.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.378, allocations: 28.39 kB / 0.5191 GB, free: 33 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.00102/0.3791, allocations: 0.5257 MB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.3792, allocations: 64.19 kB / 0.5197 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3793, allocations: 0 / 0.5197 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.3793, allocations: 28.36 kB / 0.5197 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3796, allocations: 35.59 kB / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.3802, allocations: 312.8 kB / 0.52 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3803, allocations: 0.7121 MB / 0.5207 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.307e-05/0.3804, allocations: 20.94 kB / 0.5207 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3804, allocations: 22.25 kB / 0.5208 GB, free: 31.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3804, allocations: 0 / 0.5208 GB, free: 31.71 MB / 378.7 MB Notification: Performance of Templates: time 0.004176/0.3846, allocations: 1.645 MB / 0.5224 GB, free: 31.52 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches