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_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.0009272/0.0009272, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.002545/0.002545, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9181/0.9181, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2526/0.2526, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_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_0_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 1.502e-06/1.502e-06, allocations: 3.938 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.206e-05, allocations: 10.22 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002296/0.002318, allocations: 1.8 MB / 441.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.003136, allocations: 0.584 MB / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.003213, allocations: 0 / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.003492, allocations: 51.7 kB / 442.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.003637, allocations: 75.45 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.00398, allocations: 123.5 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.004199, allocations: 238.6 kB / 442.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.004249, allocations: 16.58 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.004359, allocations: 111.6 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.004474, allocations: 99.64 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004492, allocations: 4 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.00473, allocations: 171.7 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/0.004811, allocations: 55.7 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.004877, allocations: 63.73 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.005246, allocations: 326.9 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.00525, allocations: 0 / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005251, allocations: 0 / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.005258, allocations: 0 / 443.3 MB, free: 0.5 MB / 410.7 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.0007857/0.006043, allocations: 469.5 kB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.006082, allocations: 8.031 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1733/0.1794, allocations: 64.55 kB / 443.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.1804, allocations: 202.2 kB / 444 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1807, allocations: 216.1 kB / 444.2 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1807, allocations: 18.42 kB / 444.3 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1807, allocations: 22.09 kB / 444.3 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.1814, allocations: 0.5011 MB / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1814, allocations: 192 / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1814, allocations: 11.16 kB / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.1814, allocations: 30.36 kB / 444.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.1821, allocations: 0.5846 MB / 445.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1833, allocations: 0.9191 MB / 446.3 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1836, allocations: 164.1 kB / 446.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1838, allocations: 87.67 kB / 446.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1838, allocations: 2.906 kB / 446.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.1838, allocations: 38.44 kB / 446.6 MB, free: 45.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.1838, allocations: 1.5 kB / 446.6 MB, free: 45.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006617/0.1845, allocations: 303.5 kB / 446.9 MB, free: 45.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.1845, allocations: 54.03 kB / 447 MB, free: 45.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1847, allocations: 275.7 kB / 447.2 MB, free: 45.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1847, allocations: 29.7 kB / 447.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1847, allocations: 171.2 kB / 447.4 MB, free: 45.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1847, allocations: 29.91 kB / 447.5 MB, free: 45.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.1848, allocations: 42.41 kB / 447.5 MB, free: 45.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.1848, allocations: 330.1 kB / 447.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.185, allocations: 85.2 kB / 447.9 MB, free: 44.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.1852, allocations: 129.6 kB / 448 MB, free: 44.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.1856, allocations: 207.6 kB / 448.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1856, allocations: 0.6562 kB / 448.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004368/0.186, allocations: 262.9 kB / 448.5 MB, free: 44.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.186, allocations: 10.11 kB / 448.5 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.186, allocations: 6.719 kB / 448.5 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1861, allocations: 0 / 448.5 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.1884, allocations: 459.5 kB / 449 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1895, allocations: 1.947 MB / 450.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.1897, allocations: 43.77 kB / 451 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1897, allocations: 9.016 kB / 451 MB, free: 42.89 MB / 410.7 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.0001199/0.1898, allocations: 158.6 kB / 451.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.1898, allocations: 24.23 kB / 451.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1899, allocations: 29.67 kB / 451.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1899, allocations: 2.594 kB / 451.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1899, allocations: 6 kB / 451.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1899, allocations: 0 / 451.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1901, allocations: 242.9 kB / 451.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1901, allocations: 3.938 kB / 451.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/0.1923, allocations: 448.3 kB / 451.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1923, allocations: 3.375 kB / 451.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1923, allocations: 10.12 kB / 451.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000985/0.1933, allocations: 1.939 MB / 453.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1933, allocations: 192 / 453.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.1938, allocations: 329 kB / 454.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1938, allocations: 21.09 kB / 454.2 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1938, allocations: 0 / 454.2 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.194, allocations: 21.86 kB / 454.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.194, allocations: 9.75 kB / 454.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.194, allocations: 10.08 kB / 454.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.1941, allocations: 206.5 kB / 454.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1941, allocations: 3.156 kB / 454.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.1944, allocations: 65.86 kB / 454.5 MB, free: 40.43 MB / 410.7 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.0006255/0.195, allocations: 0.8714 MB / 455.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.1975, allocations: 0.5975 MB / 455.9 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1975, allocations: 0 / 455.9 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.1998, allocations: 495.7 kB / 456.4 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2001, allocations: 46.28 kB / 456.5 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.2028, allocations: 3.001 MB / 459.5 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.2029, allocations: 169.8 kB / 459.6 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.203, allocations: 52.58 kB / 459.7 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.2031, allocations: 64.56 kB / 459.7 MB, free: 37.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2031, allocations: 0 / 459.7 MB, free: 37.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.2286, allocations: 9.67 MB / 469.4 MB, free: 36.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.06, allocations: 5.531 kB / 469.4 MB, free: 36.18 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.1617251066491]