Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 174.3 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.413/1.413, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0008323/0.0008323, allocations: 96.2 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.3311/0.3311, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003236, allocations: 11.98 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3346, allocations: 61.9 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001397/0.3361, allocations: 1.319 MB / 0.514 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3371, allocations: 1.173 MB / 0.5152 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.3372, allocations: 0 / 0.5152 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.3374, allocations: 13.55 kB / 0.5152 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3375, allocations: 39 kB / 0.5152 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.3378, allocations: 160.5 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3379, allocations: 65.84 kB / 0.5154 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.882e-05/0.338, allocations: 15.31 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.3381, allocations: 23.75 kB / 0.5155 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.3382, allocations: 27.45 kB / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3382, allocations: 2.812 kB / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.821e-05/0.3383, allocations: 41.31 kB / 0.5155 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.3383, allocations: 21.06 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.3384, allocations: 43.33 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3385, allocations: 98.97 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3385, allocations: 4 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3385, allocations: 0 / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3385, allocations: 0 / 0.5157 GB, free: 35.73 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.0003264/0.3389, allocations: 379.4 kB / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3389, allocations: 9.156 kB / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.3389, allocations: 9.688 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3391, allocations: 186.9 kB / 0.5163 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3391, allocations: 6.5 kB / 0.5163 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3391, allocations: 10.47 kB / 0.5163 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3393, allocations: 87.44 kB / 0.5164 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3393, allocations: 0 / 0.5164 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3393, allocations: 1.781 kB / 0.5164 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3393, allocations: 1.062 kB / 0.5164 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3395, allocations: 54.8 kB / 0.5164 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3398, allocations: 304 kB / 0.5167 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3399, allocations: 55.05 kB / 0.5168 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.34, allocations: 32.83 kB / 0.5168 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.34, allocations: 0 / 0.5168 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.34, allocations: 34.5 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3401, allocations: 4 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006638/0.3407, allocations: 254.8 kB / 0.5171 GB, free: 34.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.3408, allocations: 77.11 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.3409, allocations: 144 kB / 0.5173 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.3409, allocations: 25.7 kB / 0.5173 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.3409, allocations: 94.19 kB / 0.5174 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3409, allocations: 30.25 kB / 0.5174 GB, free: 34.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.3409, allocations: 0 / 0.5174 GB, free: 34.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.341, allocations: 324.9 kB / 0.5177 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3411, allocations: 45.89 kB / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3412, allocations: 63.78 kB / 0.5178 GB, free: 33.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3414, allocations: 106.1 kB / 0.5179 GB, free: 33.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3414, allocations: 0 / 0.5179 GB, free: 33.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002435/0.3417, allocations: 137.3 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3417, allocations: 9.828 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3417, allocations: 0 / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3417, allocations: 3 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3419, allocations: 29.45 kB / 0.5181 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3419, allocations: 3.938 kB / 0.5181 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.342, allocations: 18.2 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.342, allocations: 0 / 0.5181 GB, free: 33.75 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 (7): * Single equations (assignments): 7 * 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.345e-05/0.3421, allocations: 117.8 kB / 0.5182 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3421, allocations: 9.75 kB / 0.5183 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3424, allocations: 156.5 kB / 0.5184 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.3425, allocations: 3.984 kB / 0.5184 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3425, allocations: 5.406 kB / 0.5184 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3425, allocations: 3.938 kB / 0.5184 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.3429, allocations: 421.9 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3429, allocations: 0 / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.343, allocations: 25.89 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.343, allocations: 0 / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3431, allocations: 5.125 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3431, allocations: 0 / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3431, allocations: 1.281 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3434, allocations: 236.4 kB / 0.5191 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3434, allocations: 91.23 kB / 0.5192 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3434, allocations: 8.906 kB / 0.5192 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3435, allocations: 13.02 kB / 0.5192 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3436, allocations: 6.047 kB / 0.5192 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3436, allocations: 6.562 kB / 0.5192 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.3436, allocations: 102.1 kB / 0.5193 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3436, allocations: 7.875 kB / 0.5193 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.3439, allocations: 25.22 kB / 0.5193 GB, free: 32.84 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 (7): * Single equations (assignments): 7 * 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.001047/0.3449, allocations: 0.5084 MB / 0.5198 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.3453, allocations: 111.8 kB / 0.5199 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3453, allocations: 0 / 0.5199 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3454, allocations: 53.97 kB / 0.52 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3458, allocations: 15.97 kB / 0.52 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.3463, allocations: 225.6 kB / 0.5202 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3465, allocations: 0.7075 MB / 0.5209 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.253e-05/0.3466, allocations: 27.86 kB / 0.5209 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.3466, allocations: 15.05 kB / 0.5209 GB, free: 31.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3466, allocations: 0 / 0.5209 GB, free: 31.61 MB / 378.7 MB Notification: Performance of Templates: time 0.003522/0.3502, allocations: 1.437 MB / 0.5223 GB, free: 31.44 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches