Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 214.2 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.91 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 65.47 MB / 0.5571 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003002/0.2934, allocations: 1.68 MB / 0.5587 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.2951, allocations: 0.9279 MB / 0.5596 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.2951, allocations: 7.938 kB / 0.5596 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.2954, allocations: 27.83 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2955, allocations: 51.75 kB / 0.5597 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.296, allocations: 135.5 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.2962, allocations: 143.3 kB / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.2962, allocations: 17.31 kB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.2963, allocations: 51.83 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2964, allocations: 75.67 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2964, allocations: 7.938 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.2968, allocations: 211.6 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.2969, allocations: 39.84 kB / 0.5603 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.2969, allocations: 63.61 kB / 0.5604 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.2973, allocations: 241 kB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2973, allocations: 0 / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2973, allocations: 0 / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2973, allocations: 0 / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006303/0.2979, allocations: 401.4 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.298, allocations: 12.03 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.2981, allocations: 46.73 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.2991, allocations: 124.6 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.2994, allocations: 174.2 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2994, allocations: 8.375 kB / 0.5614 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.2995, allocations: 16.31 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.3001, allocations: 321.4 kB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3001, allocations: 0 / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3002, allocations: 0 / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.3002, allocations: 23.98 kB / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.301, allocations: 323.7 kB / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.3025, allocations: 0.8027 MB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.3032, allocations: 218.2 kB / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3035, allocations: 84.81 kB / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3035, allocations: 4 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3035, allocations: 30.56 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.3035, allocations: 0 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001017/0.3046, allocations: 301.3 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3046, allocations: 55.41 kB / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3048, allocations: 179.3 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3048, allocations: 29.7 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3049, allocations: 139.7 kB / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.305, allocations: 43.67 kB / 0.5638 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.3051, allocations: 49.62 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3052, allocations: 326.8 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3055, allocations: 91.83 kB / 0.5643 GB, free: 116 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.3059, allocations: 134.8 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.3065, allocations: 222.6 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3065, allocations: 0 / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007431/0.3072, allocations: 269.5 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3072, allocations: 8 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3073, allocations: 3.938 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3073, allocations: 4 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.3077, allocations: 79.86 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.3089, allocations: 1.785 MB / 0.5667 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3091, allocations: 28.14 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3091, allocations: 19.98 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.3093, allocations: 142.2 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3093, allocations: 23.83 kB / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/0.3101, allocations: 266.8 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3101, allocations: 0 / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3101, allocations: 0 / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3101, allocations: 0 / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.3104, allocations: 228.5 kB / 0.5674 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3104, allocations: 0 / 0.5674 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.3108, allocations: 79.86 kB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3108, allocations: 0 / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.3108, allocations: 7.984 kB / 0.5675 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3119, allocations: 1.785 MB / 0.5692 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3119, allocations: 4.312 kB / 0.5692 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.3126, allocations: 319.2 kB / 0.5695 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.3127, allocations: 19.89 kB / 0.5695 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3127, allocations: 4.188 kB / 0.5695 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3129, allocations: 7.984 kB / 0.5696 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.313, allocations: 15.91 kB / 0.5696 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.313, allocations: 15.98 kB / 0.5696 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.3131, allocations: 137.6 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3131, allocations: 4 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.3135, allocations: 63.81 kB / 0.5698 GB, free: 10.2 MB / 414.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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.3147, allocations: 0.8683 MB / 0.5706 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008422/0.3155, allocations: 236.1 kB / 0.5709 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3155, allocations: 0 / 0.5709 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.316, allocations: 131.9 kB / 0.571 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3162, allocations: 17.56 kB / 0.571 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.3199, allocations: 2.345 MB / 0.5733 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.3203, allocations: 0.7435 MB / 0.574 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.3205, allocations: 61.05 kB / 0.5741 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3206, allocations: 55.39 kB / 0.5741 GB, free: 5.582 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3206, allocations: 0 / 0.5741 GB, free: 5.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.3518, allocations: 4.982 MB / 0.579 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.04, allocations: 4.766 kB / 0.579 GB, free: 0.7578 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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: 16.18030513310805]