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_nominalDensityViscosity_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.001648/0.001648, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001417/0.001417, allocations: 214.4 kB / 23.75 MB, free: 4.668 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: 8.023 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.22/0.22, allocations: 46.93 MB / 360.9 MB, free: 4.293 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 66.03 MB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00345/0.339, allocations: 1.858 MB / 0.5625 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3401, allocations: 0.6319 MB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.3402, allocations: 7.938 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3405, allocations: 47.73 kB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3407, allocations: 75.59 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.341, allocations: 123.5 kB / 0.5633 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.3414, allocations: 230.8 kB / 0.5636 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.3414, allocations: 12.59 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3415, allocations: 91.45 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3417, allocations: 107.5 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3417, allocations: 11.94 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.3421, allocations: 219.7 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.3422, allocations: 59.77 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.3423, allocations: 99.34 kB / 0.5641 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.3428, allocations: 336.4 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3428, allocations: 0 / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3428, allocations: 0 / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3428, allocations: 0 / 0.5645 GB, free: 0.5898 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007135/0.3435, allocations: 473.4 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3436, allocations: 12.03 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.053e-05/0.3437, allocations: 58.73 kB / 0.565 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.3455, allocations: 204.4 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.3459, allocations: 214.1 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3459, allocations: 20.86 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/0.346, allocations: 20.38 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.347, allocations: 0.5085 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.347, allocations: 0 / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3471, allocations: 4 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.3471, allocations: 24.64 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3483, allocations: 0.5918 MB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.3507, allocations: 1.131 MB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.3514, allocations: 178.3 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.3517, allocations: 84.75 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3517, allocations: 3.984 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3517, allocations: 34.56 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3517, allocations: 4 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001163/0.3529, allocations: 301.2 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.353, allocations: 55.41 kB / 0.5683 GB, free: 12.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3532, allocations: 273.9 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3533, allocations: 29.7 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.3535, allocations: 167.7 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3535, allocations: 27.94 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.3536, allocations: 41.69 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3538, allocations: 334.8 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.3541, allocations: 83.89 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.3545, allocations: 119.3 kB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.3552, allocations: 215.1 kB / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3552, allocations: 0 / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009131/0.3561, allocations: 265.2 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3561, allocations: 8 kB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3561, allocations: 0 / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3561, allocations: 0 / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006185/0.3623, allocations: 471.3 kB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.3655, allocations: 1.938 MB / 0.5721 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.3659, allocations: 47.73 kB / 0.5721 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3659, allocations: 7.984 kB / 0.5721 GB, free: 8.391 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001814/0.3661, allocations: 161.8 kB / 0.5723 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3661, allocations: 23.95 kB / 0.5723 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.3662, allocations: 29.64 kB / 0.5724 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3662, allocations: 0 / 0.5724 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3662, allocations: 3.938 kB / 0.5724 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3662, allocations: 7.938 kB / 0.5724 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.3666, allocations: 268.4 kB / 0.5726 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3666, allocations: 0 / 0.5726 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00593/0.3725, allocations: 455.3 kB / 0.5731 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3725, allocations: 3.984 kB / 0.5731 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3725, allocations: 0 / 0.5731 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.3754, allocations: 1.945 MB / 0.575 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3754, allocations: 0 / 0.575 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.3762, allocations: 331.5 kB / 0.5753 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.3763, allocations: 19.84 kB / 0.5753 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.3763, allocations: 4 kB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3767, allocations: 23.97 kB / 0.5753 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3768, allocations: 7.969 kB / 0.5753 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3768, allocations: 11.92 kB / 0.5753 GB, free: 4.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.377, allocations: 205.2 kB / 0.5755 GB, free: 4.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.377, allocations: 0 / 0.5755 GB, free: 4.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.3773, allocations: 71.89 kB / 0.5756 GB, free: 4.707 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 (7): * Single equations (assignments): 4 * 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.001254/0.3786, allocations: 0.8567 MB / 0.5764 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005997/0.3846, allocations: 0.585 MB / 0.577 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3846, allocations: 0 / 0.577 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005683/0.3903, allocations: 0.4916 MB / 0.5775 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3907, allocations: 52.48 kB / 0.5775 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.3955, allocations: 2.992 MB / 0.5805 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3959, allocations: 0.783 MB / 0.5812 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.3961, allocations: 45.92 kB / 0.5813 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3962, allocations: 71.41 kB / 0.5813 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3962, allocations: 0 / 0.5813 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.4314, allocations: 8.054 MB / 0.5892 GB, free: 6.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.03, allocations: 7.734 kB / 0.5892 GB, free: 6.828 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.005135332932696]