Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 174.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.311/1.311, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007833/0.0007833, allocations: 92.36 kB / 295 MB, free: 9.516 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.3559/0.3559, allocations: 44.31 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3031, allocations: 61.88 MB / 0.5128 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001887/0.305, allocations: 1.489 MB / 0.5142 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3063, allocations: 0.9031 MB / 0.5151 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.3063, allocations: 2.5 kB / 0.5151 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3066, allocations: 38.53 kB / 0.5151 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.3069, allocations: 65.08 kB / 0.5152 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.307, allocations: 64.97 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3072, allocations: 206.4 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.3073, allocations: 5.781 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3074, allocations: 54.83 kB / 0.5155 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3075, allocations: 81.34 kB / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3075, allocations: 3 kB / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3077, allocations: 62.7 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.3078, allocations: 36.67 kB / 0.5157 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.3078, allocations: 57.81 kB / 0.5157 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3081, allocations: 147.2 kB / 0.5159 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3081, allocations: 2.438 kB / 0.5159 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3081, allocations: 3.938 kB / 0.5159 GB, free: 35.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3081, allocations: 0 / 0.5159 GB, free: 35.84 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004917/0.3086, allocations: 389.8 kB / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3086, allocations: 11 kB / 0.5163 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.309, allocations: 39.16 kB / 0.5163 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3091, allocations: 182.2 kB / 0.5165 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3092, allocations: 7.125 kB / 0.5165 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3092, allocations: 12.34 kB / 0.5165 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.3095, allocations: 187.2 kB / 0.5167 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3095, allocations: 0 / 0.5167 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3096, allocations: 7.984 kB / 0.5167 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.3096, allocations: 11.94 kB / 0.5167 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.3099, allocations: 147 kB / 0.5168 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.3107, allocations: 0.651 MB / 0.5175 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.311, allocations: 114.2 kB / 0.5176 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3111, allocations: 45.17 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3112, allocations: 2.016 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.3112, allocations: 35.62 kB / 0.5177 GB, free: 34.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3112, allocations: 0 / 0.5177 GB, free: 34.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004656/0.3117, allocations: 153.8 kB / 0.5178 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.3117, allocations: 54.33 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.3118, allocations: 129 kB / 0.518 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.3118, allocations: 25.7 kB / 0.518 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.3119, allocations: 126.3 kB / 0.5181 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.3119, allocations: 21.84 kB / 0.5181 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.3119, allocations: 9.5 kB / 0.5182 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.312, allocations: 318.9 kB / 0.5185 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3121, allocations: 37.91 kB / 0.5185 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3122, allocations: 101.8 kB / 0.5186 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.3125, allocations: 162.1 kB / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3125, allocations: 4 kB / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003448/0.3129, allocations: 163.8 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3129, allocations: 10.81 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3129, allocations: 1.438 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3129, allocations: 7.109 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3131, allocations: 39.77 kB / 0.519 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3132, allocations: 8.125 kB / 0.519 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.3133, allocations: 20.56 kB / 0.519 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3133, allocations: 5.344 kB / 0.519 GB, free: 33.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.943e-05/0.3134, allocations: 135.1 kB / 0.5191 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3134, allocations: 6.969 kB / 0.5191 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.3138, allocations: 147.7 kB / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3138, allocations: 2.25 kB / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3138, allocations: 0 / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3138, allocations: 0.6562 kB / 0.5193 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.314, allocations: 203 kB / 0.5195 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.314, allocations: 0.8438 kB / 0.5195 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3142, allocations: 28.98 kB / 0.5195 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3142, allocations: 1.156 kB / 0.5195 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3142, allocations: 5.625 kB / 0.5195 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3142, allocations: 8.641 kB / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3142, allocations: 0 / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3145, allocations: 223.4 kB / 0.5197 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.3145, allocations: 87.92 kB / 0.5198 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3145, allocations: 0 / 0.5198 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.3146, allocations: 8.641 kB / 0.5198 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3147, allocations: 6.219 kB / 0.5198 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3147, allocations: 6.906 kB / 0.5198 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.485e-05/0.3147, allocations: 95.03 kB / 0.5199 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3147, allocations: 0 / 0.5199 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000226/0.315, allocations: 24.09 kB / 0.5199 GB, free: 32.62 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 (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.0001284/0.3151, allocations: 114 kB / 0.5201 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.3154, allocations: 106.4 kB / 0.5202 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3154, allocations: 2.688 kB / 0.5202 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3155, allocations: 47.12 kB / 0.5202 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3158, allocations: 14.56 kB / 0.5202 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.3162, allocations: 307.3 kB / 0.5205 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3163, allocations: 0.7085 MB / 0.5212 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.3164, allocations: 31.69 kB / 0.5212 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.3165, allocations: 14.38 kB / 0.5212 GB, free: 31.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3165, allocations: 0 / 0.5212 GB, free: 31.56 MB / 378.7 MB Notification: Performance of Templates: time 0.002949/0.3194, allocations: 0.8466 MB / 0.5221 GB, free: 31.44 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches