Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 177.2 kB / 17.41 MB, free: 4.285 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.316/1.316, allocations: 225.7 MB / 243.9 MB, free: 8.469 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.0007535/0.0007535, allocations: 100.5 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.3382/0.3382, allocations: 44.32 MB / 390.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003177, allocations: 8 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3286, allocations: 61.92 MB / 0.5127 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001632/0.3303, allocations: 1.279 MB / 0.514 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006585/0.331, allocations: 471.3 kB / 0.5144 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.331, allocations: 4 kB / 0.5144 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.3313, allocations: 125.4 kB / 0.5146 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.3315, allocations: 77.41 kB / 0.5146 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3317, allocations: 97.3 kB / 0.5147 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.3319, allocations: 87.89 kB / 0.5148 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.332, allocations: 19.88 kB / 0.5148 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.3321, allocations: 36.8 kB / 0.5149 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3322, allocations: 76.44 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.3322, allocations: 2.5 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.3323, allocations: 35.69 kB / 0.515 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.3323, allocations: 29.41 kB / 0.515 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.3324, allocations: 65.31 kB / 0.5151 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3325, allocations: 113.4 kB / 0.5152 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3326, allocations: 0 / 0.5152 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3326, allocations: 0 / 0.5152 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3326, allocations: 3.062 kB / 0.5152 GB, free: 36.44 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.0003853/0.333, allocations: 411.8 kB / 0.5156 GB, free: 36.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.333, allocations: 8.906 kB / 0.5156 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3331, allocations: 14.44 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3332, allocations: 205.8 kB / 0.5158 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3332, allocations: 4.375 kB / 0.5158 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3333, allocations: 7.062 kB / 0.5158 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3334, allocations: 59.44 kB / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3334, allocations: 3.938 kB / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3334, allocations: 6.875 kB / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3334, allocations: 0 / 0.5159 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.3335, allocations: 30.47 kB / 0.5159 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.3339, allocations: 306.8 kB / 0.5162 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.334, allocations: 45.52 kB / 0.5162 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.334, allocations: 20.33 kB / 0.5163 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.3341, allocations: 7.828 kB / 0.5163 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.3341, allocations: 30.56 kB / 0.5163 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3341, allocations: 0 / 0.5163 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008224/0.3349, allocations: 271.8 kB / 0.5166 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.335, allocations: 56.16 kB / 0.5166 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3352, allocations: 274.6 kB / 0.5169 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.3352, allocations: 30.86 kB / 0.5169 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.3353, allocations: 107.2 kB / 0.517 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3353, allocations: 37.92 kB / 0.517 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.3353, allocations: 4 kB / 0.517 GB, free: 34.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.3354, allocations: 324.6 kB / 0.5173 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.3355, allocations: 38.31 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.3355, allocations: 33.42 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3357, allocations: 83 kB / 0.5175 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3357, allocations: 5.375 kB / 0.5175 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001993/0.3359, allocations: 115.9 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3359, allocations: 5.906 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3359, allocations: 0 / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.336, allocations: 4.469 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.3361, allocations: 19.17 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3361, allocations: 7.938 kB / 0.5176 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.3361, allocations: 5.344 kB / 0.5177 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3361, allocations: 5.906 kB / 0.5177 GB, free: 34.45 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 (8): * Single equations (assignments): 8 * 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 8.008e-05/0.3362, allocations: 136.6 kB / 0.5178 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3363, allocations: 14.08 kB / 0.5178 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3365, allocations: 144.9 kB / 0.5179 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3365, allocations: 0 / 0.5179 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3365, allocations: 7.922 kB / 0.5179 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3366, allocations: 3.234 kB / 0.5179 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.337, allocations: 439.9 kB / 0.5184 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.337, allocations: 0 / 0.5184 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.3371, allocations: 29.8 kB / 0.5184 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3371, allocations: 3.125 kB / 0.5184 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3371, allocations: 0 / 0.5184 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3371, allocations: 2.875 kB / 0.5184 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3371, allocations: 0 / 0.5184 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.3373, allocations: 220 kB / 0.5186 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.3373, allocations: 92.92 kB / 0.5187 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.3373, allocations: 5.062 kB / 0.5187 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.3374, allocations: 8.469 kB / 0.5187 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3375, allocations: 11.2 kB / 0.5187 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3375, allocations: 2.219 kB / 0.5187 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.3376, allocations: 201.2 kB / 0.5189 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3376, allocations: 5.312 kB / 0.5189 GB, free: 33.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.3379, allocations: 22.73 kB / 0.5189 GB, free: 33.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000982/0.3389, allocations: 0.513 MB / 0.5194 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3391, allocations: 83.25 kB / 0.5195 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3391, allocations: 3.938 kB / 0.5195 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.3393, allocations: 46 kB / 0.5196 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3396, allocations: 21.53 kB / 0.5196 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.3401, allocations: 347.5 kB / 0.5199 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3403, allocations: 0.7226 MB / 0.5206 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.777e-05/0.3403, allocations: 25.78 kB / 0.5207 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.3404, allocations: 14.36 kB / 0.5207 GB, free: 32.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3404, allocations: 0 / 0.5207 GB, free: 32.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003352/0.3437, allocations: 1.314 MB / 0.522 GB, free: 32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches