Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 174.4 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.308/1.308, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0008174/0.0008175, allocations: 90.05 kB / 295.1 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.3677/0.3677, allocations: 44.33 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004198, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 61.91 MB / 0.5127 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001664/0.3296, allocations: 1.401 MB / 0.5141 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3307, allocations: 0.8861 MB / 0.515 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.3308, allocations: 3.938 kB / 0.515 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.3311, allocations: 42.25 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.3312, allocations: 51.86 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.3315, allocations: 92.36 kB / 0.5152 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3316, allocations: 96.19 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.3317, allocations: 6.141 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.3318, allocations: 44.45 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.3318, allocations: 35.03 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3318, allocations: 0 / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/0.3319, allocations: 34.98 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.332, allocations: 19.81 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.3321, allocations: 61.59 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3322, allocations: 105.9 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3322, allocations: 0 / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3322, allocations: 2.688 kB / 0.5156 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.3322, allocations: 0 / 0.5156 GB, free: 35.92 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.0003862/0.3326, allocations: 400.2 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.3327, allocations: 8.844 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3327, allocations: 14.53 kB / 0.516 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3329, allocations: 212.7 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3329, allocations: 7.25 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.3329, allocations: 7 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.333, allocations: 50.17 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3331, allocations: 2.938 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3331, allocations: 0 / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3331, allocations: 4 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.3332, allocations: 30.27 kB / 0.5163 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.3334, allocations: 285.9 kB / 0.5165 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3336, allocations: 57.72 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.3336, allocations: 19.02 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3336, allocations: 3 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.3338, allocations: 71.25 kB / 0.5167 GB, free: 34.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3338, allocations: 0 / 0.5167 GB, free: 34.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000441/0.3342, allocations: 172.5 kB / 0.5168 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.3343, allocations: 51.41 kB / 0.5169 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3344, allocations: 198.6 kB / 0.5171 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3344, allocations: 29.7 kB / 0.5171 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.3345, allocations: 110.1 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3345, allocations: 24.44 kB / 0.5172 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.3345, allocations: 0 / 0.5172 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.3345, allocations: 326.2 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.3346, allocations: 21.61 kB / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.3347, allocations: 38.06 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/0.3348, allocations: 61.44 kB / 0.5177 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3348, allocations: 0 / 0.5177 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001561/0.3349, allocations: 101.3 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.335, allocations: 5.734 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.335, allocations: 3.938 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.335, allocations: 1.969 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.3351, allocations: 15.34 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3351, allocations: 1.812 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.3351, allocations: 10.83 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3352, allocations: 6.938 kB / 0.5178 GB, free: 33.93 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 6.794e-05/0.3352, allocations: 130.8 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3352, allocations: 14.03 kB / 0.5179 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.3353, allocations: 17.17 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3353, allocations: 1 kB / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3353, allocations: 0 / 0.518 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3353, allocations: 5.578 kB / 0.518 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.3357, allocations: 395.6 kB / 0.5183 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3357, allocations: 1.344 kB / 0.5183 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.3357, allocations: 12.58 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3357, allocations: 1.219 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3357, allocations: 9.312 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3357, allocations: 1.562 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3357, allocations: 1.547 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.3359, allocations: 199.5 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.336, allocations: 100.4 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.336, allocations: 4.734 kB / 0.5187 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.3361, allocations: 3.672 kB / 0.5187 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.3361, allocations: 5.953 kB / 0.5187 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3361, allocations: 10.42 kB / 0.5187 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.015e-05/0.3362, allocations: 146.8 kB / 0.5188 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3362, allocations: 7.938 kB / 0.5188 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.3365, allocations: 24.7 kB / 0.5188 GB, free: 33.03 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.0008871/0.3374, allocations: 0.5299 MB / 0.5194 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3375, allocations: 52.28 kB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3375, allocations: 3.938 kB / 0.5194 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/0.3376, allocations: 32.48 kB / 0.5194 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3379, allocations: 27.14 kB / 0.5195 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.3383, allocations: 254.9 kB / 0.5197 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3384, allocations: 0.7073 MB / 0.5204 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.3385, allocations: 17.25 kB / 0.5204 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.3385, allocations: 14.75 kB / 0.5204 GB, free: 31.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3385, allocations: 0 / 0.5204 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Templates: time 0.003464/0.342, allocations: 1.633 MB / 0.522 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches