Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001236, allocations: 174.3 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.311/1.311, allocations: 225.7 MB / 243.9 MB, free: 8.43 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.0008883/0.0008883, allocations: 97.27 kB / 295.1 MB, free: 9.465 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.388/0.388, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 12 kB / 463.2 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3676, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001677/0.3693, allocations: 1.402 MB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3704, allocations: 0.8934 MB / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.3705, allocations: 0 / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.3708, allocations: 42.59 kB / 0.515 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.371, allocations: 49.38 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3712, allocations: 96.75 kB / 0.5152 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3713, allocations: 93.7 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.3714, allocations: 9.266 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.3715, allocations: 43.94 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.3716, allocations: 34.59 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3716, allocations: 0 / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.228e-05/0.3717, allocations: 37.78 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.3718, allocations: 19 kB / 0.5154 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.3718, allocations: 60.38 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.372, allocations: 107.8 kB / 0.5156 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.372, allocations: 0 / 0.5156 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.372, allocations: 1.188 kB / 0.5156 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3721, allocations: 0 / 0.5156 GB, free: 35.94 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.0004956/0.3726, allocations: 400.7 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3726, allocations: 9.469 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3726, allocations: 15.27 kB / 0.516 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.3728, allocations: 208 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3729, allocations: 5.406 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3729, allocations: 7.031 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.373, allocations: 58.17 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3731, allocations: 0 / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3731, allocations: 0 / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3731, allocations: 5.125 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.3732, allocations: 22.14 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.3735, allocations: 291 kB / 0.5165 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3736, allocations: 57.67 kB / 0.5166 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.3737, allocations: 21.34 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3737, allocations: 4 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.3739, allocations: 72 kB / 0.5167 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3739, allocations: 0 / 0.5167 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004811/0.3744, allocations: 164.9 kB / 0.5168 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.3744, allocations: 54.47 kB / 0.5169 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3746, allocations: 198.9 kB / 0.5171 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3746, allocations: 29.7 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.3747, allocations: 109.5 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3747, allocations: 25.94 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.3747, allocations: 0 / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.3748, allocations: 325 kB / 0.5175 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.3748, allocations: 22.39 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.3749, allocations: 39.52 kB / 0.5176 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.375, allocations: 70.09 kB / 0.5177 GB, free: 34.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.375, allocations: 0 / 0.5177 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.3752, allocations: 96.89 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.3752, allocations: 6.031 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3752, allocations: 0 / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3752, allocations: 2.906 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.3753, allocations: 15.69 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3753, allocations: 0 / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3754, allocations: 14.2 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3754, allocations: 7 kB / 0.5178 GB, free: 33.94 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.007e-05/0.3755, allocations: 125.2 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.3755, allocations: 17.09 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.3755, allocations: 15.22 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3755, allocations: 3.984 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3756, allocations: 0 / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3756, allocations: 7.312 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.3759, allocations: 394.6 kB / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3759, allocations: 384 / 0.5183 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.3759, allocations: 8.281 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.376, allocations: 2.656 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.376, allocations: 15.88 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.376, allocations: 2.719 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.376, allocations: 2.953 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3762, allocations: 193.7 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.3762, allocations: 96.09 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3762, allocations: 5.438 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.3763, allocations: 2.562 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3764, allocations: 6.031 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3764, allocations: 7.375 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3765, allocations: 149.1 kB / 0.5188 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3765, allocations: 4 kB / 0.5188 GB, free: 33.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.3768, allocations: 25.25 kB / 0.5188 GB, free: 33.05 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.001046/0.3778, allocations: 0.5297 MB / 0.5194 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.378, allocations: 56.16 kB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.378, allocations: 1.469 kB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.3781, allocations: 32.55 kB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3784, allocations: 28.03 kB / 0.5195 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3789, allocations: 261 kB / 0.5197 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3791, allocations: 0.7041 MB / 0.5204 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.3791, allocations: 10.48 kB / 0.5204 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.3792, allocations: 21.8 kB / 0.5204 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3792, allocations: 0 / 0.5204 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.004001/0.3832, allocations: 1.628 MB / 0.522 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches