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.00121/0.00121, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001403/0.001403, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.4/1.4, 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.2234/0.2234, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002019/0.002019, allocations: 75.88 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003307/0.3158, allocations: 1.784 MB / 0.5624 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.317, allocations: 0.5813 MB / 0.5629 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.3171, allocations: 0 / 0.5629 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3173, allocations: 55.69 kB / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.3175, allocations: 79.56 kB / 0.5631 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.3179, allocations: 111.5 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3182, allocations: 234.7 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.3182, allocations: 12.59 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3183, allocations: 83.58 kB / 0.5635 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3185, allocations: 123.4 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3185, allocations: 8 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.3188, allocations: 167.8 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.3189, allocations: 59.64 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.319, allocations: 83.47 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.3195, allocations: 320.5 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3195, allocations: 0 / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3195, allocations: 0 / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3195, allocations: 0 / 0.5642 GB, free: 0.5469 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.0007013/0.3202, allocations: 477.4 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3202, allocations: 12.03 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.341e-05/0.3203, allocations: 66.66 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.3223, allocations: 204.4 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.3226, allocations: 214.2 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3227, allocations: 20.88 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.3227, allocations: 32.3 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009969/0.3237, allocations: 0.5007 MB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3237, allocations: 0 / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.3238, allocations: 4 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.3238, allocations: 32.64 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3251, allocations: 0.5802 MB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.3273, allocations: 0.9183 MB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.328, allocations: 166.3 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3283, allocations: 92.75 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3283, allocations: 0 / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3284, allocations: 30.56 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3284, allocations: 0 / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001219/0.3296, allocations: 309.4 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3296, allocations: 55.34 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.3299, allocations: 281.9 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.33, allocations: 29.7 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3301, allocations: 163.7 kB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.3301, allocations: 27.78 kB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.3302, allocations: 41.64 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3304, allocations: 334.8 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.3307, allocations: 91.84 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.3311, allocations: 119.3 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.3318, allocations: 215.1 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3318, allocations: 0 / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008517/0.3327, allocations: 269.2 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3327, allocations: 4 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3327, allocations: 0 / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3327, allocations: 4 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006392/0.3391, allocations: 467.4 kB / 0.5698 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.3421, allocations: 1.945 MB / 0.5717 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.3425, allocations: 43.97 kB / 0.5717 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3425, allocations: 7.984 kB / 0.5717 GB, free: 8.578 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.0001843/0.3427, allocations: 161.7 kB / 0.5719 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3428, allocations: 27.84 kB / 0.5719 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.3428, allocations: 21.72 kB / 0.5719 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3428, allocations: 3.984 kB / 0.5719 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3429, allocations: 0 / 0.5719 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3429, allocations: 0 / 0.5719 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.3432, allocations: 240.6 kB / 0.5721 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3432, allocations: 4 kB / 0.5721 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006494/0.3497, allocations: 455.3 kB / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3497, allocations: 0 / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.3497, allocations: 3.984 kB / 0.5726 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.3528, allocations: 1.949 MB / 0.5745 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3528, allocations: 8.016 kB / 0.5745 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/0.3536, allocations: 323.3 kB / 0.5748 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.3537, allocations: 23.84 kB / 0.5748 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.3537, allocations: 0 / 0.5748 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.3541, allocations: 19.97 kB / 0.5748 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3542, allocations: 7.969 kB / 0.5749 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.3542, allocations: 11.94 kB / 0.5749 GB, free: 5.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.3544, allocations: 209.2 kB / 0.5751 GB, free: 4.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 0 / 0.5751 GB, free: 4.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.3548, allocations: 71.89 kB / 0.5751 GB, free: 4.926 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.001247/0.356, allocations: 0.8605 MB / 0.576 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006699/0.3627, allocations: 0.5967 MB / 0.5766 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3627, allocations: 0 / 0.5766 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00606/0.3688, allocations: 0.4915 MB / 0.577 GB, free: 2.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3692, allocations: 44.64 kB / 0.5771 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.3743, allocations: 2.976 MB / 0.58 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.3745, allocations: 169.1 kB / 0.5801 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.3747, allocations: 61.84 kB / 0.5802 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3749, allocations: 63.41 kB / 0.5803 GB, free: 15.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3749, allocations: 0 / 0.5803 GB, free: 15.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.4129, allocations: 9.67 MB / 0.5897 GB, free: 6.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.7, allocations: 30.14 kB / 0.5897 GB, free: 6.059 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: 15.625458926981082]