Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002206/0.002206, allocations: 218.2 kB / 23.73 MB, free: 4.16 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.97 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00331/0.00331, allocations: 76.06 kB / 0.4961 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3326, allocations: 66.03 MB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003183/0.3358, allocations: 1.658 MB / 0.5622 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3374, allocations: 0.8461 MB / 0.5631 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.3374, allocations: 0 / 0.5631 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3376, allocations: 31.84 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.3378, allocations: 47.73 kB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.3383, allocations: 143.3 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3385, allocations: 143.3 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.3385, allocations: 9.438 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.3386, allocations: 55.72 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3387, allocations: 71.73 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3388, allocations: 7.938 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.3391, allocations: 151.8 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.3392, allocations: 43.83 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.3392, allocations: 55.61 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.3396, allocations: 229.1 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3396, allocations: 0 / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3396, allocations: 3.938 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3396, allocations: 0 / 0.564 GB, free: 0.6992 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.0006658/0.3403, allocations: 401.4 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3403, allocations: 12.03 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.3404, allocations: 50.73 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3414, allocations: 120.6 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.3417, allocations: 178.2 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3417, allocations: 8.375 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.3418, allocations: 12.38 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.3425, allocations: 321.4 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3425, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.3425, allocations: 8 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.3426, allocations: 19.98 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.3434, allocations: 323.7 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3449, allocations: 0.6133 MB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.3456, allocations: 214.3 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3459, allocations: 84.81 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3459, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3459, allocations: 30.56 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3459, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001043/0.347, allocations: 305.3 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.347, allocations: 55.78 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3472, allocations: 187.2 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3473, allocations: 33.7 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3474, allocations: 143.7 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.3474, allocations: 39.62 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.3475, allocations: 53.67 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.3477, allocations: 322.8 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.348, allocations: 87.84 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.3484, allocations: 138.7 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.349, allocations: 222.6 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.349, allocations: 0 / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007331/0.3497, allocations: 273.2 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3497, allocations: 6.031 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3498, allocations: 7.922 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3498, allocations: 8.219 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.3502, allocations: 79.92 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3515, allocations: 1.781 MB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3517, allocations: 27.86 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3517, allocations: 19.97 kB / 0.57 GB, free: 10.27 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.0001868/0.3519, allocations: 142.1 kB / 0.5701 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.352, allocations: 15.84 kB / 0.5701 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.3528, allocations: 266.7 kB / 0.5704 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3528, allocations: 4 kB / 0.5704 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3528, allocations: 0 / 0.5704 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3528, allocations: 7.984 kB / 0.5704 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.3531, allocations: 212.7 kB / 0.5706 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3531, allocations: 4 kB / 0.5706 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.3535, allocations: 75.81 kB / 0.5707 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3535, allocations: 0 / 0.5707 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3535, allocations: 11.97 kB / 0.5707 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3546, allocations: 1.778 MB / 0.5724 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3546, allocations: 4.062 kB / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.3554, allocations: 327.1 kB / 0.5727 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.3554, allocations: 7.953 kB / 0.5727 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3554, allocations: 4 kB / 0.5727 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3556, allocations: 7.984 kB / 0.5728 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3557, allocations: 11.97 kB / 0.5728 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3557, allocations: 11.98 kB / 0.5728 GB, free: 7.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3558, allocations: 141.8 kB / 0.5729 GB, free: 7.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3558, allocations: 4 kB / 0.5729 GB, free: 7.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000365/0.3562, allocations: 71.75 kB / 0.573 GB, free: 7.043 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.001155/0.3574, allocations: 0.8662 MB / 0.5738 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008268/0.3582, allocations: 243.6 kB / 0.5741 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3582, allocations: 0 / 0.5741 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.3587, allocations: 131.8 kB / 0.5742 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.359, allocations: 8 kB / 0.5742 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.3627, allocations: 2.341 MB / 0.5765 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3628, allocations: 130.5 kB / 0.5766 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.363, allocations: 69.34 kB / 0.5767 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3632, allocations: 51.39 kB / 0.5767 GB, free: 3.051 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3632, allocations: 0 / 0.5767 GB, free: 3.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.395, allocations: 5.424 MB / 0.582 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.89, allocations: 8.312 kB / 0.582 GB, free: 13.79 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.975225826725364]