Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 108.8 kB / 17.07 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 192.7 kB / 20.02 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 227.9 MB, free: 4.371 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3352/0.3352, allocations: 43.51 MB / 320.8 MB, free: 9.066 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00331/0.00331, allocations: 67.89 kB / 450.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3213, allocations: 57.78 MB / 0.4959 GB, free: 19.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002743/0.3241, allocations: 1.793 MB / 0.4977 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3252, allocations: 0.8437 MB / 0.4985 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.3253, allocations: 1 kB / 0.4985 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.3255, allocations: 37.58 kB / 0.4985 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.3258, allocations: 80.27 kB / 0.4986 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.326, allocations: 64.27 kB / 0.4987 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.3262, allocations: 134.4 kB / 0.4988 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.3262, allocations: 17.83 kB / 0.4988 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.3264, allocations: 70.25 kB / 0.4989 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3265, allocations: 84.42 kB / 0.499 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3265, allocations: 3.375 kB / 0.499 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3267, allocations: 67.06 kB / 0.499 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.3268, allocations: 38.08 kB / 0.4991 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.3269, allocations: 33.77 kB / 0.4991 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3271, allocations: 140.5 kB / 0.4992 GB, free: 17.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3271, allocations: 0 / 0.4992 GB, free: 17.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3271, allocations: 0.875 kB / 0.4992 GB, free: 17.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3272, allocations: 0 / 0.4992 GB, free: 17.15 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.0005398/0.3277, allocations: 416.1 kB / 0.4996 GB, free: 16.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3278, allocations: 10.06 kB / 0.4996 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.3278, allocations: 42.72 kB / 0.4997 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.3282, allocations: 34.17 kB / 0.4997 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3283, allocations: 190.5 kB / 0.4999 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3284, allocations: 9.047 kB / 0.4999 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3284, allocations: 15.31 kB / 0.4999 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.3288, allocations: 178.8 kB / 0.5001 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3288, allocations: 1.438 kB / 0.5001 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.87e-05/0.3288, allocations: 5.344 kB / 0.5001 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.3289, allocations: 10.95 kB / 0.5001 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.3292, allocations: 139.3 kB / 0.5002 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.33, allocations: 0.6487 MB / 0.5009 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.3303, allocations: 105.4 kB / 0.501 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3304, allocations: 47.58 kB / 0.501 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3305, allocations: 5.109 kB / 0.501 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3305, allocations: 31.66 kB / 0.5011 GB, free: 15.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3305, allocations: 0 / 0.5011 GB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000455/0.331, allocations: 136 kB / 0.5012 GB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.331, allocations: 52.78 kB / 0.5012 GB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.3311, allocations: 131.5 kB / 0.5014 GB, free: 15.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3311, allocations: 25.7 kB / 0.5014 GB, free: 15.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.3312, allocations: 117.5 kB / 0.5015 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3312, allocations: 27.91 kB / 0.5015 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.3312, allocations: 31.83 kB / 0.5016 GB, free: 15.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.3313, allocations: 320.5 kB / 0.5019 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3314, allocations: 41.78 kB / 0.5019 GB, free: 14.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3315, allocations: 99.88 kB / 0.502 GB, free: 14.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3318, allocations: 154.5 kB / 0.5021 GB, free: 14.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3318, allocations: 1.062 kB / 0.5021 GB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003028/0.3321, allocations: 161.1 kB / 0.5023 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3321, allocations: 6.781 kB / 0.5023 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3321, allocations: 2.219 kB / 0.5023 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3322, allocations: 2.5 kB / 0.5023 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3323, allocations: 50.19 kB / 0.5024 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3323, allocations: 3.5 kB / 0.5024 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.3324, allocations: 14.78 kB / 0.5024 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3325, allocations: 5.406 kB / 0.5024 GB, free: 14.34 MB / 382.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 7.765e-05/0.3325, allocations: 135.3 kB / 0.5025 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3326, allocations: 11.05 kB / 0.5025 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.3329, allocations: 120 kB / 0.5026 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3329, allocations: 1.438 kB / 0.5026 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3329, allocations: 0 / 0.5026 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3329, allocations: 3.984 kB / 0.5026 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3331, allocations: 205.4 kB / 0.5028 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3331, allocations: 1.312 kB / 0.5028 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3332, allocations: 36.66 kB / 0.5029 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3332, allocations: 0 / 0.5029 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3332, allocations: 1.062 kB / 0.5029 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3333, allocations: 1.062 kB / 0.5029 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3333, allocations: 3.938 kB / 0.5029 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3335, allocations: 209 kB / 0.5031 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3336, allocations: 82.94 kB / 0.5032 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3336, allocations: 4.969 kB / 0.5032 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.3337, allocations: 8.312 kB / 0.5032 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3337, allocations: 11.28 kB / 0.5032 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3338, allocations: 1.281 kB / 0.5032 GB, free: 13.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.3338, allocations: 93.02 kB / 0.5033 GB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3338, allocations: 1.062 kB / 0.5033 GB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3341, allocations: 30.45 kB / 0.5033 GB, free: 13.48 MB / 382.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.000466/0.3345, allocations: 0.751 MB / 0.504 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.3349, allocations: 103.3 kB / 0.5041 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3349, allocations: 0 / 0.5041 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.335, allocations: 41.97 kB / 0.5042 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.3352, allocations: 7.625 kB / 0.5042 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3369, allocations: 1.672 MB / 0.5058 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.337, allocations: 0.7133 MB / 0.5065 GB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.127e-05/0.3371, allocations: 23.19 kB / 0.5065 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3372, allocations: 35.64 kB / 0.5066 GB, free: 10.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3372, allocations: 1.469 kB / 0.5066 GB, free: 10.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3602, allocations: 2.3 MB / 0.5088 GB, free: 9.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.305, allocations: 6.156 kB / 0.5088 GB, free: 9.086 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.293419644003734]