Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008456/0.0008457, allocations: 178.3 kB / 17.41 MB, free: 4.281 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.319/1.319, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0008986/0.0008988, allocations: 95.06 kB / 295.1 MB, free: 9.488 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.3726/0.3726, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 12 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3589, allocations: 61.9 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002368/0.3613, allocations: 1.355 MB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3628, allocations: 0.8777 MB / 0.5149 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.363, allocations: 2.875 kB / 0.5149 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.3633, allocations: 45.25 kB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.3636, allocations: 52.94 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.364, allocations: 97.59 kB / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.3643, allocations: 91.86 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.3644, allocations: 9.625 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3645, allocations: 38.56 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3647, allocations: 40.09 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3647, allocations: 0 / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3649, allocations: 28.22 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.365, allocations: 23.38 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.3651, allocations: 54.59 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3653, allocations: 86.28 kB / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3653, allocations: 0 / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3653, allocations: 0 / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3654, allocations: 0 / 0.5155 GB, free: 35.97 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.000571/0.3659, allocations: 388.2 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.366, allocations: 11.09 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.366, allocations: 7.656 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3663, allocations: 213.2 kB / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3663, allocations: 384 / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3664, allocations: 10.12 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3665, allocations: 48.45 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3665, allocations: 4 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3666, allocations: 2.625 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3666, allocations: 0 / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.3667, allocations: 20.09 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.3669, allocations: 175.1 kB / 0.5163 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.367, allocations: 51.84 kB / 0.5164 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.3671, allocations: 28.77 kB / 0.5164 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3671, allocations: 0 / 0.5164 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.3673, allocations: 66.75 kB / 0.5165 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.3673, allocations: 0 / 0.5165 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.3676, allocations: 91.66 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.3677, allocations: 57.28 kB / 0.5166 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3678, allocations: 168.6 kB / 0.5168 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3679, allocations: 33.08 kB / 0.5168 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.3679, allocations: 97.73 kB / 0.5169 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.3679, allocations: 17.97 kB / 0.5169 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.368, allocations: 0 / 0.5169 GB, free: 34.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.368, allocations: 320.8 kB / 0.5172 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.3681, allocations: 12.12 kB / 0.5172 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.3681, allocations: 25.78 kB / 0.5172 GB, free: 34.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.3682, allocations: 47.8 kB / 0.5173 GB, free: 34.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3683, allocations: 3.938 kB / 0.5173 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.3684, allocations: 79.59 kB / 0.5174 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3684, allocations: 13.31 kB / 0.5174 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3685, allocations: 0 / 0.5174 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3685, allocations: 2.844 kB / 0.5174 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.3686, allocations: 16.66 kB / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3686, allocations: 0 / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.3686, allocations: 11.16 kB / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3687, allocations: 6.141 kB / 0.5174 GB, free: 34.16 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 9.256e-05/0.3688, allocations: 120.1 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.3688, allocations: 9.812 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3688, allocations: 14.47 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3688, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3688, allocations: 3.094 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3689, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.369, allocations: 190.6 kB / 0.5177 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.369, allocations: 6.969 kB / 0.5177 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.369, allocations: 6.938 kB / 0.5177 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.369, allocations: 0 / 0.5177 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.369, allocations: 3.234 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.369, allocations: 0 / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3691, allocations: 2.938 kB / 0.5178 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3692, allocations: 108.9 kB / 0.5179 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.3693, allocations: 83.83 kB / 0.5179 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3693, allocations: 9.594 kB / 0.5179 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.3693, allocations: 2.969 kB / 0.518 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3694, allocations: 3.328 kB / 0.518 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3694, allocations: 2.75 kB / 0.518 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.3695, allocations: 137 kB / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3695, allocations: 0 / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000247/0.3698, allocations: 19.66 kB / 0.5181 GB, free: 33.51 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.0009971/0.3708, allocations: 475.4 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.371, allocations: 41.62 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.371, allocations: 1 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.3711, allocations: 19.06 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3713, allocations: 31.19 kB / 0.5186 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3718, allocations: 202.3 kB / 0.5188 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.372, allocations: 0.695 MB / 0.5195 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.89e-05/0.372, allocations: 11.72 kB / 0.5195 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.3721, allocations: 16.97 kB / 0.5195 GB, free: 32.33 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3721, allocations: 3.938 kB / 0.5196 GB, free: 32.33 MB / 378.7 MB Notification: Performance of Templates: time 0.004682/0.3768, allocations: 1.394 MB / 0.5209 GB, free: 32.17 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches