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.00156/0.00156, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001325/0.001325, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2325/0.2325, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4283, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002642/0.431, allocations: 1.793 MB / 0.5207 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.4321, allocations: 0.8021 MB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.4322, allocations: 1.062 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.4324, allocations: 39.06 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.4327, allocations: 74.17 kB / 0.5216 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.4329, allocations: 67.5 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.4331, allocations: 136.3 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.4331, allocations: 15.33 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.4332, allocations: 68.31 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.4334, allocations: 77.33 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.4335, allocations: 4.281 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.4336, allocations: 71.44 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.4337, allocations: 30.5 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.4338, allocations: 38.95 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.4341, allocations: 141 kB / 0.5222 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4341, allocations: 0.7969 kB / 0.5222 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4341, allocations: 4 kB / 0.5222 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.4341, allocations: 0 / 0.5222 GB, free: 1.492 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.0005466/0.4347, allocations: 405.2 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4347, allocations: 10.22 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.435, allocations: 34.84 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.4352, allocations: 184.1 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4352, allocations: 13.11 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4353, allocations: 11.19 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.4357, allocations: 190.1 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4357, allocations: 0 / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.4357, allocations: 1.375 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.4357, allocations: 14.09 kB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.4361, allocations: 136.2 kB / 0.5231 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.4369, allocations: 0.6427 MB / 0.5238 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.4373, allocations: 113.8 kB / 0.5239 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4374, allocations: 36.94 kB / 0.5239 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4374, allocations: 6.328 kB / 0.5239 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4375, allocations: 34.56 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4375, allocations: 3.938 kB / 0.524 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005671/0.438, allocations: 138.4 kB / 0.5241 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.4381, allocations: 51.41 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4383, allocations: 126 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4383, allocations: 27.2 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4384, allocations: 122.1 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.4385, allocations: 25.08 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.4385, allocations: 35.28 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4386, allocations: 315.2 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4388, allocations: 36.98 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4389, allocations: 94.03 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.4393, allocations: 162.8 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4393, allocations: 7.156 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003336/0.4396, allocations: 152.5 kB / 0.5252 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4396, allocations: 14.47 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4396, allocations: 1.375 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4397, allocations: 4.125 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4398, allocations: 35.91 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.4399, allocations: 8.766 kB / 0.5253 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.44, allocations: 21.39 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.44, allocations: 5.5 kB / 0.5253 GB, free: 15.02 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 0.0001232/0.4401, allocations: 134.8 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.4402, allocations: 7.359 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.4405, allocations: 126 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4405, allocations: 2.219 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4406, allocations: 0 / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4406, allocations: 4.594 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.4408, allocations: 198.9 kB / 0.5257 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4408, allocations: 5.344 kB / 0.5257 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.441, allocations: 26.19 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.441, allocations: 1.406 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.441, allocations: 0.75 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.441, allocations: 1.438 kB / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.441, allocations: 0 / 0.5258 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.4414, allocations: 215.4 kB / 0.526 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.4414, allocations: 84.17 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4415, allocations: 9.766 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4416, allocations: 6.469 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.4416, allocations: 4.422 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.4416, allocations: 2.891 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.779e-05/0.4417, allocations: 100.9 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4417, allocations: 0 / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.442, allocations: 22.91 kB / 0.5262 GB, free: 14.25 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.0001915/0.4422, allocations: 106.1 kB / 0.5263 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.4426, allocations: 102.2 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4426, allocations: 4 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4427, allocations: 42.41 kB / 0.5264 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.443, allocations: 7.219 kB / 0.5264 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.4435, allocations: 252.6 kB / 0.5267 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4439, allocations: 0.7229 MB / 0.5274 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.444, allocations: 27.91 kB / 0.5274 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.444, allocations: 13.03 kB / 0.5274 GB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.444, allocations: 0 / 0.5274 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.003767/0.4478, allocations: 0.9426 MB / 0.5283 GB, free: 12.86 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