Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4245, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002771/0.4273, allocations: 1.793 MB / 0.5207 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.4285, allocations: 0.8017 MB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.4285, allocations: 1.844 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.4288, allocations: 35.14 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.4291, allocations: 82.2 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.4293, allocations: 68.61 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.4295, allocations: 131.7 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.4295, allocations: 10.23 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4297, allocations: 69.88 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.4298, allocations: 81.48 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.4299, allocations: 4.375 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.43, allocations: 70.88 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.4301, allocations: 34.48 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.4302, allocations: 42.56 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.4304, allocations: 140.9 kB / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4304, allocations: 1.094 kB / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4304, allocations: 0 / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.4305, allocations: 0 / 0.5222 GB, free: 1.504 MB / 382.1 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.0005016/0.431, allocations: 401.8 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.431, allocations: 9.562 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.4313, allocations: 35.3 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.4315, allocations: 192.5 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4315, allocations: 4.812 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.4315, allocations: 14.41 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.4319, allocations: 178.4 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4319, allocations: 0 / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4319, allocations: 6.688 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.432, allocations: 17 kB / 0.523 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.4323, allocations: 140.4 kB / 0.5232 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.4331, allocations: 0.6462 MB / 0.5238 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.4334, allocations: 102.2 kB / 0.5239 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4335, allocations: 40.52 kB / 0.5239 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4336, allocations: 5.906 kB / 0.5239 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.4336, allocations: 31.41 kB / 0.524 GB, free: 80 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.4336, allocations: 2 kB / 0.524 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005603/0.4342, allocations: 137.8 kB / 0.5241 GB, free: 20 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.4342, allocations: 57.59 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4344, allocations: 132.9 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4344, allocations: 28.08 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.4345, allocations: 117.1 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.4345, allocations: 30.47 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.4346, allocations: 30.03 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4347, allocations: 319.2 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4348, allocations: 34.67 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.435, allocations: 101.2 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.4352, allocations: 146.8 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4353, allocations: 1.312 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00035/0.4356, allocations: 160.2 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4356, allocations: 6.328 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4357, allocations: 2.5 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4357, allocations: 8.391 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.4359, allocations: 38.62 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4359, allocations: 10.94 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.436, allocations: 19.28 kB / 0.5253 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.436, allocations: 5.5 kB / 0.5253 GB, free: 15.03 MB / 398.1 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 9.788e-05/0.4361, allocations: 133.8 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4361, allocations: 8.031 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.4365, allocations: 129.6 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4365, allocations: 1.938 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4365, allocations: 3.938 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4365, allocations: 2.078 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.4367, allocations: 194.8 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4367, allocations: 0 / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.4369, allocations: 31.03 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4369, allocations: 1.438 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4369, allocations: 0 / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4369, allocations: 2.016 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4369, allocations: 4 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.4372, allocations: 211.6 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.4373, allocations: 83.72 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.4373, allocations: 1.062 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4374, allocations: 14.67 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.4375, allocations: 8.844 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.4375, allocations: 1.625 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.4375, allocations: 98.03 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4375, allocations: 1.156 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.4378, allocations: 27.97 kB / 0.5262 GB, free: 14.26 MB / 398.1 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.0001312/0.4379, allocations: 104.1 kB / 0.5263 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4383, allocations: 104.8 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4383, allocations: 1.156 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4384, allocations: 38.23 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4386, allocations: 12.78 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.4391, allocations: 259.6 kB / 0.5267 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4395, allocations: 0.7122 MB / 0.5274 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.4396, allocations: 26.92 kB / 0.5274 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.4396, allocations: 12.7 kB / 0.5274 GB, free: 13.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4396, allocations: 0 / 0.5274 GB, free: 13.24 MB / 398.1 MB Notification: Performance of Templates: time 0.003306/0.4429, allocations: 0.9366 MB / 0.5283 GB, free: 12.87 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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