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_pressureLossCoefficient_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.001656/0.001656, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001551/0.001551, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.397/1.397, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2224/0.2224, allocations: 46.97 MB / 360.9 MB, free: 4.016 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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003113/0.3247, allocations: 1.675 MB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3262, allocations: 0.78 MB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.3263, allocations: 3.938 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.3265, allocations: 39.83 kB / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.3267, allocations: 47.73 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.327, allocations: 111.6 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3273, allocations: 155.2 kB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.806e-05/0.3273, allocations: 16.98 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3275, allocations: 59.78 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3277, allocations: 75.67 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3277, allocations: 4 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.3279, allocations: 143.8 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.328, allocations: 43.83 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.3281, allocations: 47.69 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.3285, allocations: 209 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3285, allocations: 4 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3285, allocations: 0 / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3285, allocations: 0 / 0.5639 GB, free: 0.8047 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006632/0.3291, allocations: 389.5 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3292, allocations: 12.03 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.3292, allocations: 50.73 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.3297, allocations: 60.78 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.33, allocations: 166.2 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.33, allocations: 4.375 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.33, allocations: 15.94 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.3305, allocations: 245.2 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3305, allocations: 0 / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.3306, allocations: 4 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.3306, allocations: 23.92 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.3311, allocations: 223.8 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3322, allocations: 0.5239 MB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3324, allocations: 86.44 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3326, allocations: 44.81 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3326, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3326, allocations: 46.44 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.3326, allocations: 4 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000543/0.3332, allocations: 165.5 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3332, allocations: 55.41 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.3334, allocations: 183.2 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3335, allocations: 29.7 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3336, allocations: 139.8 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3336, allocations: 31.89 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.3337, allocations: 33.7 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3338, allocations: 326.8 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.334, allocations: 47.95 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3342, allocations: 106.7 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.3345, allocations: 162.6 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3345, allocations: 4 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004197/0.3349, allocations: 181.3 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3349, allocations: 8 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3349, allocations: 8.156 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.335, allocations: 4 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.336, allocations: 87.89 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.3375, allocations: 1.805 MB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3376, allocations: 23.83 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3377, allocations: 8 kB / 0.5691 GB, free: 11.24 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 (14): * Single equations (assignments): 11 * 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.0001521/0.3378, allocations: 145.6 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3379, allocations: 11.95 kB / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.3384, allocations: 194.9 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3384, allocations: 0 / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3384, allocations: 0 / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3384, allocations: 4 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3387, allocations: 208.6 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3387, allocations: 0 / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/0.3395, allocations: 79.89 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3395, allocations: 0 / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3395, allocations: 4 kB / 0.5697 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3408, allocations: 1.778 MB / 0.5714 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3408, allocations: 0 / 0.5714 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.3412, allocations: 243.3 kB / 0.5716 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.3412, allocations: 19.89 kB / 0.5717 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.3412, allocations: 0 / 0.5717 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3414, allocations: 4 kB / 0.5717 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.3414, allocations: 15.97 kB / 0.5717 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3415, allocations: 4 kB / 0.5717 GB, free: 8.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3416, allocations: 137.8 kB / 0.5718 GB, free: 8.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 4.094 kB / 0.5718 GB, free: 8.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.3419, allocations: 43.89 kB / 0.5719 GB, free: 8.219 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 (11): * Single equations (assignments): 8 * 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.0008448/0.3428, allocations: 0.7918 MB / 0.5726 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3441, allocations: 196.1 kB / 0.5728 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3441, allocations: 0 / 0.5728 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.3448, allocations: 108.2 kB / 0.5729 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3453, allocations: 48.53 kB / 0.573 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.348, allocations: 2.096 MB / 0.575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.3481, allocations: 130.6 kB / 0.5751 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.3482, allocations: 33.41 kB / 0.5752 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.3483, allocations: 43.42 kB / 0.5752 GB, free: 4.617 MB / 414.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3483, allocations: 0 / 0.5752 GB, free: 4.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3811, allocations: 5.875 MB / 0.5809 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.45, allocations: 8 kB / 0.581 GB, free: 14.95 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.48276363502373]