Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009766/0.0009768, allocations: 179 kB / 17.41 MB, free: 4.293 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.34/1.34, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0008444/0.0008444, allocations: 105.8 kB / 295.1 MB, free: 9.48 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.3564/0.3564, allocations: 44.31 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003646, allocations: 12 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3434, allocations: 61.91 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001574/0.345, allocations: 1.399 MB / 0.5141 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3461, allocations: 0.8928 MB / 0.515 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.3461, allocations: 3.906 kB / 0.515 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3465, allocations: 29.08 kB / 0.515 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3466, allocations: 53.17 kB / 0.5151 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3469, allocations: 97.67 kB / 0.5152 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.347, allocations: 97.75 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.3471, allocations: 10.2 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.3472, allocations: 37.3 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.3473, allocations: 38.38 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3473, allocations: 0 / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.3474, allocations: 38.06 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.3475, allocations: 20.23 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.3475, allocations: 57.61 kB / 0.5154 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3477, allocations: 109 kB / 0.5156 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3477, allocations: 0 / 0.5156 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3477, allocations: 0 / 0.5156 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.3477, allocations: 0 / 0.5156 GB, free: 35.99 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.000459/0.3482, allocations: 398.2 kB / 0.5159 GB, free: 35.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3482, allocations: 8.25 kB / 0.5159 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.3483, allocations: 17.53 kB / 0.516 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3485, allocations: 214 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3485, allocations: 1.562 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3485, allocations: 10.47 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3487, allocations: 52.84 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3487, allocations: 0 / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3487, allocations: 8.391 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3487, allocations: 1.094 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.3488, allocations: 21.19 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3492, allocations: 290.9 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3493, allocations: 60.97 kB / 0.5166 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.3494, allocations: 20.94 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3494, allocations: 0 / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.3496, allocations: 72.55 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3496, allocations: 0 / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004942/0.3501, allocations: 173.3 kB / 0.5168 GB, free: 34.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3501, allocations: 51.41 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3503, allocations: 201.9 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3503, allocations: 25.7 kB / 0.5171 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.3504, allocations: 109.3 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3504, allocations: 22.47 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.3504, allocations: 4 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.3505, allocations: 328.6 kB / 0.5175 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.3505, allocations: 19.75 kB / 0.5176 GB, free: 34.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.3506, allocations: 38.33 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.3507, allocations: 58.66 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3507, allocations: 0 / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001462/0.3508, allocations: 97.16 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3509, allocations: 5.594 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3509, allocations: 3.938 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3509, allocations: 2.844 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.351, allocations: 17.84 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.351, allocations: 2.594 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.3511, allocations: 10.66 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3511, allocations: 6.078 kB / 0.5178 GB, free: 34 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 7.372e-05/0.3511, allocations: 123.1 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.3512, allocations: 17.09 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.3512, allocations: 19.41 kB / 0.518 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3512, allocations: 0 / 0.518 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3512, allocations: 6.875 kB / 0.518 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3513, allocations: 3.938 kB / 0.518 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.3516, allocations: 389.6 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3516, allocations: 0 / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.3516, allocations: 18.72 kB / 0.5184 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3517, allocations: 2.375 kB / 0.5184 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3517, allocations: 7.875 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3517, allocations: 2.531 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3517, allocations: 0 / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3519, allocations: 201.3 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.3519, allocations: 89.2 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3519, allocations: 12.72 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.352, allocations: 2.969 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.352, allocations: 15.05 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3521, allocations: 2.688 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3522, allocations: 150.1 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3522, allocations: 0 / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.3524, allocations: 28.75 kB / 0.5188 GB, free: 33.1 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.00111/0.3536, allocations: 0.521 MB / 0.5194 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3538, allocations: 52.5 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3538, allocations: 0.9688 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.3538, allocations: 34.94 kB / 0.5194 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3542, allocations: 34.75 kB / 0.5195 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.3548, allocations: 255.4 kB / 0.5197 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.355, allocations: 0.7036 MB / 0.5204 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.355, allocations: 12.38 kB / 0.5204 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3551, allocations: 20.86 kB / 0.5204 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3551, allocations: 0 / 0.5204 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.004021/0.3591, allocations: 1.626 MB / 0.522 GB, free: 31.66 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches