Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 175 kB / 17.41 MB, free: 4.387 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.334/1.334, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.0007445/0.0007446, allocations: 93.42 kB / 295 MB, free: 9.703 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.3305/0.3305, allocations: 44.33 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 16 kB / 463.1 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3354, allocations: 61.89 MB / 0.5127 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001717/0.3371, allocations: 1.34 MB / 0.514 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.3378, allocations: 479.5 kB / 0.5145 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.3379, allocations: 0 / 0.5145 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.3381, allocations: 74 kB / 0.5146 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3383, allocations: 48.59 kB / 0.5146 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.3386, allocations: 126.4 kB / 0.5147 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3388, allocations: 78.22 kB / 0.5148 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.3389, allocations: 13.94 kB / 0.5148 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.3389, allocations: 25.91 kB / 0.5148 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.339, allocations: 47.11 kB / 0.5149 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3391, allocations: 2.625 kB / 0.5149 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.3392, allocations: 36.89 kB / 0.5149 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.3392, allocations: 31 kB / 0.515 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.3393, allocations: 59.84 kB / 0.515 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3394, allocations: 96.75 kB / 0.5151 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3394, allocations: 3 kB / 0.5151 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3394, allocations: 0 / 0.5151 GB, free: 36.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3394, allocations: 3.938 kB / 0.5151 GB, free: 36.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003841/0.3398, allocations: 414.8 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3399, allocations: 12.78 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3399, allocations: 10.78 kB / 0.5155 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3401, allocations: 194.8 kB / 0.5157 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3401, allocations: 384 / 0.5157 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3401, allocations: 7.281 kB / 0.5157 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3403, allocations: 68.8 kB / 0.5158 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3403, allocations: 3.984 kB / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3403, allocations: 4 kB / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3403, allocations: 4 kB / 0.5158 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3405, allocations: 46.66 kB / 0.5159 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.3408, allocations: 306.1 kB / 0.5161 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3411, allocations: 62.22 kB / 0.5162 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.3411, allocations: 27.34 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3412, allocations: 0.6094 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3412, allocations: 45.41 kB / 0.5163 GB, free: 35.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3412, allocations: 0 / 0.5163 GB, free: 35.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001314/0.3425, allocations: 469 kB / 0.5167 GB, free: 35.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3426, allocations: 60.31 kB / 0.5168 GB, free: 35.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3427, allocations: 200 kB / 0.517 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3427, allocations: 26.98 kB / 0.517 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.3428, allocations: 103.9 kB / 0.5171 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3428, allocations: 39.52 kB / 0.5171 GB, free: 35.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.3428, allocations: 1 kB / 0.5171 GB, free: 35.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.3429, allocations: 321.1 kB / 0.5174 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.343, allocations: 57.72 kB / 0.5175 GB, free: 34.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3431, allocations: 44.17 kB / 0.5175 GB, free: 34.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3434, allocations: 121.5 kB / 0.5177 GB, free: 34.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3434, allocations: 0 / 0.5177 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002671/0.3436, allocations: 159.2 kB / 0.5178 GB, free: 34.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3437, allocations: 5.25 kB / 0.5178 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3437, allocations: 2.125 kB / 0.5178 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3437, allocations: 4 kB / 0.5178 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3438, allocations: 38.62 kB / 0.5178 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3438, allocations: 3.984 kB / 0.5179 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.3439, allocations: 11.81 kB / 0.5179 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3439, allocations: 3 kB / 0.5179 GB, free: 34.54 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 (11): * Single equations (assignments): 11 * 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 6.847e-05/0.344, allocations: 136.7 kB / 0.518 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.344, allocations: 9.781 kB / 0.518 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.3443, allocations: 182.7 kB / 0.5182 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3443, allocations: 3.938 kB / 0.5182 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3444, allocations: 0 / 0.5182 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3444, allocations: 2.781 kB / 0.5182 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.3449, allocations: 487 kB / 0.5187 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3449, allocations: 0 / 0.5187 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3451, allocations: 33.38 kB / 0.5187 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3451, allocations: 6.125 kB / 0.5187 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3451, allocations: 10.58 kB / 0.5187 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3451, allocations: 0.9375 kB / 0.5187 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3451, allocations: 1.688 kB / 0.5187 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3454, allocations: 271 kB / 0.519 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.3455, allocations: 87.45 kB / 0.519 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3455, allocations: 6.938 kB / 0.5191 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.3456, allocations: 20.23 kB / 0.5191 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.3457, allocations: 13.08 kB / 0.5191 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3457, allocations: 3.312 kB / 0.5191 GB, free: 33.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3458, allocations: 149.7 kB / 0.5192 GB, free: 33.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3458, allocations: 0 / 0.5192 GB, free: 33.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.346, allocations: 27.44 kB / 0.5193 GB, free: 33.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009366/0.347, allocations: 0.5216 MB / 0.5198 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.3473, allocations: 127.2 kB / 0.5199 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3473, allocations: 0 / 0.5199 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3475, allocations: 71.36 kB / 0.52 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3478, allocations: 32.55 kB / 0.52 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.3482, allocations: 325.3 kB / 0.5203 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.3484, allocations: 0.7126 MB / 0.521 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.3485, allocations: 14.92 kB / 0.521 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.3485, allocations: 13.73 kB / 0.521 GB, free: 32.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3485, allocations: 0 / 0.521 GB, free: 32.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003378/0.3519, allocations: 1.436 MB / 0.5224 GB, free: 32.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches