Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001282/0.001282, allocations: 175 kB / 17.41 MB, free: 4.391 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.373/1.373, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008485/0.0008485, allocations: 90.5 kB / 295 MB, free: 9.508 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.4392/0.4392, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3403, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002275/0.3427, allocations: 1.337 MB / 0.514 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.3437, allocations: 0.4945 MB / 0.5145 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.3437, allocations: 3.938 kB / 0.5145 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.344, allocations: 72.23 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3441, allocations: 50.62 kB / 0.5146 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.3445, allocations: 165.4 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3447, allocations: 80.23 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3448, allocations: 20.09 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.3448, allocations: 33.16 kB / 0.5149 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.3449, allocations: 45.16 kB / 0.515 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.345, allocations: 0 / 0.515 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.3451, allocations: 47.98 kB / 0.515 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.3451, allocations: 27.41 kB / 0.515 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3452, allocations: 55.36 kB / 0.5151 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3453, allocations: 107.2 kB / 0.5152 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3453, allocations: 0 / 0.5152 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3454, allocations: 0 / 0.5152 GB, free: 36.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3454, allocations: 0 / 0.5152 GB, free: 36.3 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.0004057/0.3458, allocations: 409.3 kB / 0.5156 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3458, allocations: 8.969 kB / 0.5156 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3459, allocations: 16.03 kB / 0.5156 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.346, allocations: 201 kB / 0.5158 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.346, allocations: 3.281 kB / 0.5158 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3461, allocations: 7.281 kB / 0.5158 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3462, allocations: 69.81 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3462, allocations: 0 / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.3463, allocations: 3.938 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3463, allocations: 2.562 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3464, allocations: 57.09 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3468, allocations: 319.3 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.347, allocations: 72.61 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.3471, allocations: 28.91 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3471, allocations: 2.625 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.3472, allocations: 34.56 kB / 0.5164 GB, free: 35.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3472, allocations: 0 / 0.5164 GB, free: 35.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001471/0.3486, allocations: 494.2 kB / 0.5169 GB, free: 35.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.3487, allocations: 60.78 kB / 0.5169 GB, free: 35.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3489, allocations: 205.5 kB / 0.5171 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3489, allocations: 29.64 kB / 0.5171 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3489, allocations: 113.5 kB / 0.5172 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.349, allocations: 36.61 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.349, allocations: 0 / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.349, allocations: 328.4 kB / 0.5176 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3492, allocations: 62.09 kB / 0.5177 GB, free: 34.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3493, allocations: 56.69 kB / 0.5177 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3495, allocations: 146.3 kB / 0.5178 GB, free: 34.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3496, allocations: 0 / 0.5178 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003236/0.3499, allocations: 176.8 kB / 0.518 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3499, allocations: 5.938 kB / 0.518 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3499, allocations: 3.938 kB / 0.518 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3499, allocations: 5.156 kB / 0.518 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3501, allocations: 33.52 kB / 0.5181 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3501, allocations: 1.094 kB / 0.5181 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.3501, allocations: 17.69 kB / 0.5181 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3502, allocations: 10.11 kB / 0.5181 GB, free: 34.21 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 7.794e-05/0.3502, allocations: 134.3 kB / 0.5182 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3503, allocations: 14.16 kB / 0.5182 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.3507, allocations: 207 kB / 0.5184 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3507, allocations: 5.906 kB / 0.5184 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3507, allocations: 0 / 0.5184 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3507, allocations: 0.9688 kB / 0.5184 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.3514, allocations: 0.5092 MB / 0.5189 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3514, allocations: 1.797 kB / 0.5189 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3515, allocations: 28.97 kB / 0.519 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3515, allocations: 5.562 kB / 0.519 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3515, allocations: 5.375 kB / 0.519 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3515, allocations: 2.172 kB / 0.519 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3515, allocations: 1.594 kB / 0.519 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3519, allocations: 293.5 kB / 0.5193 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.352, allocations: 96.06 kB / 0.5193 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.352, allocations: 0.75 kB / 0.5193 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.3521, allocations: 22.7 kB / 0.5194 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3521, allocations: 7.188 kB / 0.5194 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.3522, allocations: 10 kB / 0.5194 GB, free: 33.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.3523, allocations: 158.1 kB / 0.5195 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3523, allocations: 0 / 0.5195 GB, free: 33.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.3525, allocations: 26.05 kB / 0.5196 GB, free: 33.18 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.0009571/0.3535, allocations: 0.5282 MB / 0.5201 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.3539, allocations: 140.5 kB / 0.5202 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.3539, allocations: 3.938 kB / 0.5202 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.354, allocations: 78.42 kB / 0.5203 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3544, allocations: 27.64 kB / 0.5203 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.355, allocations: 344.7 kB / 0.5206 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3551, allocations: 0.7219 MB / 0.5213 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.566e-05/0.3552, allocations: 32.64 kB / 0.5214 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.3553, allocations: 18.47 kB / 0.5214 GB, free: 31.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3553, allocations: 0 / 0.5214 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003618/0.3589, allocations: 1.497 MB / 0.5229 GB, free: 31.67 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches