Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009008/0.0009009, 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.324/1.324, allocations: 225.7 MB / 243.9 MB, free: 8.477 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.0007685/0.0007685, allocations: 97.52 kB / 295.1 MB, free: 9.5 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.3075/0.3075, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003356, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 61.89 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001697/0.324, allocations: 1.313 MB / 0.514 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007053/0.3247, allocations: 0.496 MB / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.3248, allocations: 0 / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.3252, allocations: 454.9 kB / 0.5149 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.3254, allocations: 246.3 kB / 0.5152 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3258, allocations: 154.3 kB / 0.5153 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.326, allocations: 162.5 kB / 0.5155 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.3261, allocations: 16.59 kB / 0.5155 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.3261, allocations: 107.3 kB / 0.5156 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3263, allocations: 199 kB / 0.5158 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3264, allocations: 7 kB / 0.5158 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.3264, allocations: 24.09 kB / 0.5158 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.3265, allocations: 75.86 kB / 0.5159 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.3266, allocations: 125.6 kB / 0.516 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3269, allocations: 245.9 kB / 0.5162 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3269, allocations: 3.938 kB / 0.5162 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3269, allocations: 0 / 0.5162 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3269, allocations: 0 / 0.5162 GB, free: 36.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005399/0.3274, allocations: 0.5924 MB / 0.5168 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3275, allocations: 13.56 kB / 0.5168 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3275, allocations: 42.12 kB / 0.5169 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3277, allocations: 291 kB / 0.5171 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3277, allocations: 6 kB / 0.5172 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3278, allocations: 2.625 kB / 0.5172 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3279, allocations: 59.41 kB / 0.5172 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3279, allocations: 5.219 kB / 0.5172 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.3279, allocations: 0 / 0.5172 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.328, allocations: 1.031 kB / 0.5172 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.3281, allocations: 39.23 kB / 0.5173 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.3285, allocations: 396.1 kB / 0.5176 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.3287, allocations: 57.27 kB / 0.5177 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.3287, allocations: 21.17 kB / 0.5177 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3287, allocations: 2.688 kB / 0.5177 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.3288, allocations: 30.56 kB / 0.5177 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3288, allocations: 0 / 0.5177 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005306/0.3293, allocations: 249.3 kB / 0.518 GB, free: 34.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.3293, allocations: 56.03 kB / 0.518 GB, free: 34.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.33, allocations: 0.8541 MB / 0.5189 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.33, allocations: 29.7 kB / 0.5189 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3301, allocations: 219.3 kB / 0.5191 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3302, allocations: 25.75 kB / 0.5191 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.3302, allocations: 0 / 0.5191 GB, free: 34.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.3303, allocations: 361.8 kB / 0.5195 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.3303, allocations: 22.12 kB / 0.5195 GB, free: 33.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.3304, allocations: 32.47 kB / 0.5195 GB, free: 33.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3305, allocations: 55.14 kB / 0.5196 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3305, allocations: 0 / 0.5196 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001757/0.3307, allocations: 137.8 kB / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3307, allocations: 3.031 kB / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3308, allocations: 0 / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3308, allocations: 6.688 kB / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.3308, allocations: 11.59 kB / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3308, allocations: 0 / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.3309, allocations: 13.42 kB / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3309, allocations: 4 kB / 0.5197 GB, free: 33.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001306/0.3311, allocations: 211 kB / 0.5199 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.3311, allocations: 44.84 kB / 0.52 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.3314, allocations: 150.8 kB / 0.5201 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3314, allocations: 4 kB / 0.5201 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3314, allocations: 3.422 kB / 0.5201 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3314, allocations: 3.938 kB / 0.5201 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.3318, allocations: 469 kB / 0.5206 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3318, allocations: 0 / 0.5206 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.3319, allocations: 23.12 kB / 0.5206 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3319, allocations: 3.469 kB / 0.5206 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3319, allocations: 6.719 kB / 0.5206 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3319, allocations: 0 / 0.5206 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3319, allocations: 0 / 0.5206 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3321, allocations: 223.3 kB / 0.5208 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.3321, allocations: 116.8 kB / 0.5209 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3322, allocations: 3.938 kB / 0.521 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.3323, allocations: 5.938 kB / 0.521 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3323, allocations: 6.438 kB / 0.521 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3323, allocations: 0 / 0.521 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004288/0.3327, allocations: 0.6473 MB / 0.5216 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.3328, allocations: 0 / 0.5216 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.333, allocations: 29.06 kB / 0.5216 GB, free: 32.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008465/0.3338, allocations: 470.8 kB / 0.5221 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.334, allocations: 59.17 kB / 0.5221 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3341, allocations: 4 kB / 0.5221 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.3341, allocations: 27.88 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3345, allocations: 24.94 kB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.3355, allocations: 0.8764 MB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3357, allocations: 0.8281 MB / 0.5238 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.014e-05/0.3358, allocations: 17.16 kB / 0.5239 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3358, allocations: 20.34 kB / 0.5239 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3358, allocations: 0 / 0.5239 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004004/0.3399, allocations: 1.357 MB / 0.5252 GB, free: 30.81 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches