Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009712/0.000971, allocations: 174.3 kB / 17.4 MB, free: 4.293 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.298/1.298, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.000801/0.000801, allocations: 93.47 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.3988/0.3988, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 12 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 61.9 MB / 0.5127 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.001976/0.3071, allocations: 1.615 MB / 0.5143 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3084, allocations: 0.982 MB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.3085, allocations: 6.781 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.3089, allocations: 243.8 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.3092, allocations: 187.3 kB / 0.5157 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3103, allocations: 0.6091 MB / 0.5163 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.3106, allocations: 290.1 kB / 0.5166 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3108, allocations: 79.2 kB / 0.5166 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3109, allocations: 107.1 kB / 0.5167 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3112, allocations: 185.1 kB / 0.5169 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.3112, allocations: 4.094 kB / 0.5169 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3114, allocations: 58.48 kB / 0.517 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3115, allocations: 88.75 kB / 0.5171 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.3116, allocations: 120.8 kB / 0.5172 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.312, allocations: 295 kB / 0.5175 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.312, allocations: 0 / 0.5175 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.312, allocations: 4 kB / 0.5175 GB, free: 35.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.312, allocations: 1.094 kB / 0.5175 GB, free: 35.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005906/0.3126, allocations: 0.573 MB / 0.518 GB, free: 34.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3127, allocations: 9.062 kB / 0.518 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.3127, allocations: 42.31 kB / 0.5181 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.313, allocations: 310.2 kB / 0.5184 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.313, allocations: 8.594 kB / 0.5184 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3131, allocations: 12.64 kB / 0.5184 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3134, allocations: 134.3 kB / 0.5185 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3134, allocations: 1.031 kB / 0.5185 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3134, allocations: 9.016 kB / 0.5185 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3134, allocations: 3 kB / 0.5185 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3136, allocations: 95.25 kB / 0.5186 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.3142, allocations: 0.4972 MB / 0.5191 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3144, allocations: 112.8 kB / 0.5192 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.3145, allocations: 46.7 kB / 0.5193 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.3145, allocations: 10.02 kB / 0.5193 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3145, allocations: 33.53 kB / 0.5193 GB, free: 33.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3146, allocations: 0 / 0.5193 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008664/0.3154, allocations: 449 kB / 0.5197 GB, free: 33.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3155, allocations: 54.12 kB / 0.5198 GB, free: 33.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.3159, allocations: 0.523 MB / 0.5203 GB, free: 33.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3159, allocations: 29.7 kB / 0.5203 GB, free: 33.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.316, allocations: 200.3 kB / 0.5205 GB, free: 32.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3161, allocations: 52.62 kB / 0.5206 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.3161, allocations: 4 kB / 0.5206 GB, free: 32.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.3162, allocations: 351.8 kB / 0.5209 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3163, allocations: 68.39 kB / 0.521 GB, free: 32.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3164, allocations: 79.19 kB / 0.521 GB, free: 32.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3166, allocations: 158.2 kB / 0.5212 GB, free: 32.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3166, allocations: 3.938 kB / 0.5212 GB, free: 32.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002961/0.3169, allocations: 225.1 kB / 0.5214 GB, free: 32.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.317, allocations: 8.859 kB / 0.5214 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.317, allocations: 4 kB / 0.5214 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.317, allocations: 6.75 kB / 0.5214 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3172, allocations: 35.81 kB / 0.5215 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3172, allocations: 3.938 kB / 0.5215 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3173, allocations: 12.84 kB / 0.5215 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3173, allocations: 5.469 kB / 0.5215 GB, free: 32.39 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 (17): * Single equations (assignments): 17 * 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.0001425/0.3174, allocations: 183 kB / 0.5217 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.3175, allocations: 41.25 kB / 0.5217 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.3179, allocations: 283.7 kB / 0.522 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3179, allocations: 2.469 kB / 0.522 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3179, allocations: 0 / 0.522 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3179, allocations: 4 kB / 0.522 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.3186, allocations: 0.6707 MB / 0.5226 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3186, allocations: 0 / 0.5226 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.3187, allocations: 42.39 kB / 0.5227 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3187, allocations: 2.875 kB / 0.5227 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3188, allocations: 3.234 kB / 0.5227 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3188, allocations: 2.938 kB / 0.5227 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3188, allocations: 3.938 kB / 0.5227 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3191, allocations: 332.8 kB / 0.523 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.3192, allocations: 118.8 kB / 0.5231 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3192, allocations: 4 kB / 0.5231 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.3193, allocations: 5.812 kB / 0.5231 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3194, allocations: 20.53 kB / 0.5231 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3194, allocations: 9.812 kB / 0.5232 GB, free: 31.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000304/0.3197, allocations: 389.1 kB / 0.5235 GB, free: 31.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3197, allocations: 4 kB / 0.5235 GB, free: 31.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.32, allocations: 49.28 kB / 0.5236 GB, free: 31.14 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 (17): * Single equations (assignments): 17 * 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.001462/0.3214, allocations: 0.8145 MB / 0.5244 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.3217, allocations: 175 kB / 0.5245 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3217, allocations: 0 / 0.5245 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3219, allocations: 92.16 kB / 0.5246 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.3224, allocations: 74 kB / 0.5247 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.3233, allocations: 0.8006 MB / 0.5255 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3235, allocations: 0.8265 MB / 0.5263 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.3237, allocations: 48.62 kB / 0.5263 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.3237, allocations: 33.16 kB / 0.5264 GB, free: 29.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3237, allocations: 2.781 kB / 0.5264 GB, free: 29.37 MB / 378.7 MB Notification: Performance of Templates: time 0.005739/0.3295, allocations: 3.109 MB / 0.5294 GB, free: 29.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches