Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009174/0.0009176, allocations: 176.7 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.35/1.35, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0008651/0.0008654, allocations: 93.77 kB / 295 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.3825/0.3825, allocations: 44.32 MB / 390.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 12 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4124, allocations: 61.89 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001966/0.4144, allocations: 1.42 MB / 0.5141 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.4158, allocations: 0.895 MB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.4159, allocations: 6.844 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.4164, allocations: 97.53 kB / 0.5151 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.4166, allocations: 78.14 kB / 0.5152 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.4169, allocations: 108.1 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.4171, allocations: 110.2 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4173, allocations: 17.22 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.4174, allocations: 50.16 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.4175, allocations: 55.23 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.4175, allocations: 2.906 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.4176, allocations: 58.45 kB / 0.5156 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.4177, allocations: 25.7 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.4178, allocations: 61.31 kB / 0.5156 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.418, allocations: 136.7 kB / 0.5158 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.418, allocations: 0 / 0.5158 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.418, allocations: 0 / 0.5158 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4181, allocations: 0 / 0.5158 GB, free: 35.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000643/0.4187, allocations: 425.7 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.4188, allocations: 8.812 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.4188, allocations: 18.97 kB / 0.5162 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4191, allocations: 218.7 kB / 0.5164 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4191, allocations: 3.719 kB / 0.5164 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.4191, allocations: 4.828 kB / 0.5164 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4193, allocations: 61.72 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4193, allocations: 2.812 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4193, allocations: 0 / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4194, allocations: 0 / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-05/0.4194, allocations: 24.91 kB / 0.5165 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.4199, allocations: 310.3 kB / 0.5168 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.4201, allocations: 63.95 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.4202, allocations: 22 kB / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4202, allocations: 1 kB / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.4204, allocations: 78.89 kB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.4204, allocations: 1.062 kB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007343/0.4212, allocations: 241.2 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4212, allocations: 60.44 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.4214, allocations: 235.8 kB / 0.5175 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4215, allocations: 33.59 kB / 0.5175 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.4215, allocations: 109.1 kB / 0.5176 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.4216, allocations: 40.86 kB / 0.5176 GB, free: 34.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.4216, allocations: 3 kB / 0.5176 GB, free: 34.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.4217, allocations: 325.2 kB / 0.518 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.4217, allocations: 26.2 kB / 0.518 GB, free: 33.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.4218, allocations: 45.64 kB / 0.518 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4219, allocations: 80.72 kB / 0.5181 GB, free: 33.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.422, allocations: 0 / 0.5181 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.4222, allocations: 126.2 kB / 0.5182 GB, free: 33.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4222, allocations: 10.56 kB / 0.5182 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4222, allocations: 0 / 0.5182 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4222, allocations: 3 kB / 0.5182 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.4223, allocations: 20.2 kB / 0.5183 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4223, allocations: 3.938 kB / 0.5183 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.4224, allocations: 2.969 kB / 0.5183 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.4224, allocations: 9.531 kB / 0.5183 GB, free: 33.82 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 (13): * Single equations (assignments): 13 * 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 0.0001072/0.4225, allocations: 143.1 kB / 0.5184 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.4225, allocations: 12.69 kB / 0.5184 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.4226, allocations: 21.16 kB / 0.5184 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4226, allocations: 3.938 kB / 0.5184 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4226, allocations: 6.188 kB / 0.5185 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4226, allocations: 3.938 kB / 0.5185 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.4231, allocations: 460.2 kB / 0.5189 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4231, allocations: 5.047 kB / 0.5189 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.4231, allocations: 14.97 kB / 0.5189 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4232, allocations: 2.156 kB / 0.5189 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4232, allocations: 2.094 kB / 0.5189 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4232, allocations: 4.391 kB / 0.5189 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4232, allocations: 1.156 kB / 0.5189 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4234, allocations: 243.9 kB / 0.5192 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4235, allocations: 89.11 kB / 0.5192 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.4235, allocations: 2.969 kB / 0.5192 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.4236, allocations: 9.906 kB / 0.5193 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.4236, allocations: 12.56 kB / 0.5193 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.4236, allocations: 4.438 kB / 0.5193 GB, free: 32.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.4238, allocations: 185.8 kB / 0.5194 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4238, allocations: 1.031 kB / 0.5194 GB, free: 32.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00025/0.4241, allocations: 29.78 kB / 0.5195 GB, free: 32.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001282/0.4253, allocations: 0.5922 MB / 0.5201 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4256, allocations: 76.98 kB / 0.5201 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4256, allocations: 0 / 0.5201 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.4257, allocations: 44.05 kB / 0.5202 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4261, allocations: 31.8 kB / 0.5202 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.4266, allocations: 329.4 kB / 0.5205 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.4269, allocations: 0.7212 MB / 0.5212 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.427, allocations: 21.48 kB / 0.5212 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.427, allocations: 24.52 kB / 0.5213 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.427, allocations: 0 / 0.5213 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004583/0.4316, allocations: 1.867 MB / 0.5231 GB, free: 31.3 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches