Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008574/0.0008578, allocations: 174.2 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.36/1.36, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0007762/0.0007762, allocations: 88.27 kB / 295 MB, free: 9.484 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.3432/0.3432, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 8 kB / 463.1 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3671, allocations: 61.9 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00175/0.3689, allocations: 1.401 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.37, allocations: 0.9019 MB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.3701, allocations: 0 / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.3705, allocations: 41.56 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3707, allocations: 47.38 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.371, allocations: 93.2 kB / 0.5152 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.3712, allocations: 91.94 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3714, allocations: 15.67 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.3715, allocations: 42.78 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.3715, allocations: 29.61 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3716, allocations: 0 / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.3717, allocations: 35.77 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.3717, allocations: 22.97 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.3718, allocations: 57.44 kB / 0.5155 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.372, allocations: 105.1 kB / 0.5156 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.372, allocations: 4 kB / 0.5156 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.372, allocations: 6.344 kB / 0.5156 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.372, allocations: 0 / 0.5156 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004482/0.3725, allocations: 394.3 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3725, allocations: 11.58 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.3726, allocations: 14.16 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3727, allocations: 210.3 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3728, allocations: 3.25 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3728, allocations: 11.11 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3729, allocations: 59.06 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.373, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.373, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.373, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.3731, allocations: 23.06 kB / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.3734, allocations: 294.8 kB / 0.5165 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3735, allocations: 54.81 kB / 0.5166 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.3736, allocations: 23.2 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3736, allocations: 0 / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3738, allocations: 70.09 kB / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3738, allocations: 0 / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004862/0.3743, allocations: 175.8 kB / 0.5168 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.3743, allocations: 51.41 kB / 0.5169 GB, free: 34.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3745, allocations: 194.2 kB / 0.5171 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.3745, allocations: 32.48 kB / 0.5171 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.3745, allocations: 102.3 kB / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3746, allocations: 32.7 kB / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.3746, allocations: 0 / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.3746, allocations: 329.3 kB / 0.5176 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.3747, allocations: 23.09 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.3748, allocations: 33.02 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.3749, allocations: 65.61 kB / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3749, allocations: 0 / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.375, allocations: 93.58 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3751, allocations: 9.906 kB / 0.5178 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3751, allocations: 0 / 0.5178 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3751, allocations: 7.312 kB / 0.5178 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3752, allocations: 18.36 kB / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3752, allocations: 1.094 kB / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.3753, allocations: 10.75 kB / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3753, allocations: 2.719 kB / 0.5178 GB, free: 33.98 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 8.169e-05/0.3754, allocations: 128.2 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.3754, allocations: 16.62 kB / 0.5179 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.3755, allocations: 15.47 kB / 0.518 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3755, allocations: 5.312 kB / 0.518 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3755, allocations: 3.656 kB / 0.518 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3755, allocations: 3.938 kB / 0.518 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.3759, allocations: 392.4 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3759, allocations: 3.234 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.3759, allocations: 11.56 kB / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3759, allocations: 1.594 kB / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.376, allocations: 5.312 kB / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.376, allocations: 4.969 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.376, allocations: 1.438 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3762, allocations: 197 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.3762, allocations: 92.75 kB / 0.5186 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3763, allocations: 9.312 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3763, allocations: 2.594 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3764, allocations: 9.859 kB / 0.5187 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3764, allocations: 4.438 kB / 0.5187 GB, free: 33.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.3765, allocations: 156.5 kB / 0.5188 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3765, allocations: 0 / 0.5188 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.3768, allocations: 24.94 kB / 0.5188 GB, free: 33.09 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.001/0.3778, allocations: 0.5286 MB / 0.5194 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.378, allocations: 60.61 kB / 0.5194 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.378, allocations: 0 / 0.5194 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.3781, allocations: 29.03 kB / 0.5194 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3784, allocations: 27.39 kB / 0.5195 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.3788, allocations: 254.5 kB / 0.5197 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.379, allocations: 0.7161 MB / 0.5204 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.3791, allocations: 13.09 kB / 0.5204 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3791, allocations: 14.98 kB / 0.5204 GB, free: 31.83 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3791, allocations: 0 / 0.5204 GB, free: 31.83 MB / 378.7 MB Notification: Performance of Templates: time 0.004333/0.3835, allocations: 1.629 MB / 0.522 GB, free: 31.64 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches