Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 175.2 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.352/1.352, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0007771/0.0007774, allocations: 97.38 kB / 295.1 MB, free: 9.496 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.3463/0.3463, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 12 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3551, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001745/0.357, allocations: 1.35 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.3576, allocations: 496.9 kB / 0.5145 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.3577, allocations: 0 / 0.5145 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.358, allocations: 74.94 kB / 0.5146 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3581, allocations: 53.91 kB / 0.5146 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3585, allocations: 159.4 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3586, allocations: 82.73 kB / 0.5149 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3587, allocations: 24.2 kB / 0.5149 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.3588, allocations: 25.72 kB / 0.5149 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.3589, allocations: 53.61 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3589, allocations: 6.281 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.359, allocations: 39.33 kB / 0.515 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.3591, allocations: 22.73 kB / 0.515 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.3591, allocations: 56.67 kB / 0.5151 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3593, allocations: 108.4 kB / 0.5152 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3593, allocations: 0 / 0.5152 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3593, allocations: 0 / 0.5152 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3593, allocations: 6.938 kB / 0.5152 GB, free: 36.24 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.0004056/0.3597, allocations: 406.2 kB / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3598, allocations: 9.031 kB / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3598, allocations: 7.656 kB / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3599, allocations: 206.2 kB / 0.5158 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.36, allocations: 11.19 kB / 0.5158 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.36, allocations: 7.047 kB / 0.5158 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3602, allocations: 75 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3602, allocations: 0 / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3602, allocations: 7.938 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3602, allocations: 6.656 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3604, allocations: 43.3 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.3607, allocations: 324.8 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3609, allocations: 66.61 kB / 0.5163 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.361, allocations: 32.14 kB / 0.5164 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.361, allocations: 0 / 0.5164 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.3611, allocations: 37.75 kB / 0.5164 GB, free: 35.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.3611, allocations: 0 / 0.5164 GB, free: 35.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00133/0.3624, allocations: 490.6 kB / 0.5169 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3624, allocations: 62.09 kB / 0.5169 GB, free: 34.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3626, allocations: 205.9 kB / 0.5171 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3626, allocations: 29.7 kB / 0.5171 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.3627, allocations: 113.5 kB / 0.5173 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3627, allocations: 34.78 kB / 0.5173 GB, free: 34.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.3627, allocations: 5.312 kB / 0.5173 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.3628, allocations: 321.7 kB / 0.5176 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3629, allocations: 61.59 kB / 0.5177 GB, free: 34.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3631, allocations: 68.94 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3633, allocations: 138 kB / 0.5179 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3633, allocations: 0 / 0.5179 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003099/0.3636, allocations: 179.1 kB / 0.518 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3637, allocations: 5 kB / 0.518 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3637, allocations: 9.406 kB / 0.518 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3637, allocations: 0 / 0.518 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3638, allocations: 34.47 kB / 0.5181 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3639, allocations: 9.141 kB / 0.5181 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.3639, allocations: 20.3 kB / 0.5181 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3639, allocations: 2.875 kB / 0.5181 GB, free: 34.15 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.57e-05/0.364, allocations: 130.3 kB / 0.5182 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.3641, allocations: 14.19 kB / 0.5182 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.3644, allocations: 210.5 kB / 0.5184 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3645, allocations: 3.938 kB / 0.5184 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3645, allocations: 4 kB / 0.5184 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3645, allocations: 0 / 0.5184 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.365, allocations: 0.5081 MB / 0.5189 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.365, allocations: 0 / 0.5189 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.3651, allocations: 32.05 kB / 0.519 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3652, allocations: 1.688 kB / 0.519 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3652, allocations: 2.312 kB / 0.519 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3652, allocations: 1.031 kB / 0.519 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3652, allocations: 1.094 kB / 0.519 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3655, allocations: 298.3 kB / 0.5193 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.3656, allocations: 89.69 kB / 0.5194 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3656, allocations: 7.688 kB / 0.5194 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.3657, allocations: 12.17 kB / 0.5194 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.3658, allocations: 8.719 kB / 0.5194 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3658, allocations: 8.062 kB / 0.5194 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3659, allocations: 157 kB / 0.5195 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3659, allocations: 0 / 0.5195 GB, free: 33.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.3661, allocations: 30.14 kB / 0.5196 GB, free: 33.12 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.000996/0.3671, allocations: 0.5249 MB / 0.5201 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3675, allocations: 138.7 kB / 0.5202 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3675, allocations: 3.938 kB / 0.5202 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3676, allocations: 81.33 kB / 0.5203 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.368, allocations: 28.5 kB / 0.5203 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.3684, allocations: 345.2 kB / 0.5206 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.3686, allocations: 0.7239 MB / 0.5214 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.3687, allocations: 32.25 kB / 0.5214 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.3687, allocations: 20.78 kB / 0.5214 GB, free: 31.78 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3687, allocations: 0 / 0.5214 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Templates: time 0.003355/0.3721, allocations: 1.507 MB / 0.5229 GB, free: 31.6 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches