Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008044/0.0008044, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008072/0.0008072, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8635/0.8635, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 34.23 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.865e-05, allocations: 4.812 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.1564/0.1564, allocations: 1.883 MB / 444.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1574, allocations: 1.047 MB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.1574, allocations: 2.875 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.1577, allocations: 60.81 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1578, allocations: 84.72 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1581, allocations: 160 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1582, allocations: 277.1 kB / 445.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.1583, allocations: 13.88 kB / 445.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1584, allocations: 141.6 kB / 445.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.1585, allocations: 102.4 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1585, allocations: 9.188 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.1587, allocations: 208.3 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.1588, allocations: 60.5 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.1588, allocations: 75.59 kB / 446.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1591, allocations: 421.8 kB / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1591, allocations: 0.5 kB / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1591, allocations: 0 / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1591, allocations: 2.938 kB / 446.7 MB, free: 42.53 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.000412/0.1596, allocations: 0.5007 MB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1596, allocations: 8 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1596, allocations: 75.25 kB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1597, allocations: 42.02 kB / 447.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1598, allocations: 177.7 kB / 447.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1598, allocations: 27.84 kB / 447.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1598, allocations: 37.27 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.1602, allocations: 495.2 kB / 448.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1602, allocations: 0 / 448.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1602, allocations: 14.86 kB / 448.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.1603, allocations: 28.22 kB / 448.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1606, allocations: 430.1 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.1613, allocations: 0.9615 MB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.1614, allocations: 71.17 kB / 449.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1614, allocations: 43.19 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1615, allocations: 2.938 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.066e-05/0.1615, allocations: 34.56 kB / 449.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1615, allocations: 0 / 449.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002485/0.1617, allocations: 164.2 kB / 449.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.651e-05/0.1617, allocations: 51.41 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.1618, allocations: 169.1 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.1618, allocations: 29.7 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.1619, allocations: 225 kB / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.1619, allocations: 28.48 kB / 450.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1619, allocations: 55.98 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.44e-05/0.1619, allocations: 325 kB / 450.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.162, allocations: 52.02 kB / 450.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.1621, allocations: 177.3 kB / 450.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1622, allocations: 246 kB / 451.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1622, allocations: 2.688 kB / 451.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002155/0.1625, allocations: 246.6 kB / 451.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1625, allocations: 9.25 kB / 451.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1625, allocations: 6.906 kB / 451.4 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1625, allocations: 5.781 kB / 451.4 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1627, allocations: 88.97 kB / 451.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000284/0.163, allocations: 1.777 MB / 453.2 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.163, allocations: 34.41 kB / 453.3 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.163, allocations: 15.69 kB / 453.3 MB, free: 37.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001552/0.1632, allocations: 184.3 kB / 453.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.1632, allocations: 9.734 kB / 453.5 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.1635, allocations: 191.2 kB / 453.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1635, allocations: 2.938 kB / 453.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1635, allocations: 0 / 453.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1635, allocations: 8.766 kB / 453.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1636, allocations: 259.4 kB / 453.9 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1636, allocations: 3.938 kB / 453.9 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.1637, allocations: 60.69 kB / 454 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1637, allocations: 6.812 kB / 454 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1637, allocations: 2.531 kB / 454 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002211/0.164, allocations: 1.769 MB / 455.8 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.164, allocations: 7.875 kB / 455.8 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1641, allocations: 222.1 kB / 456 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.1641, allocations: 17.83 kB / 456 MB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1641, allocations: 2.938 kB / 456 MB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.1642, allocations: 14.11 kB / 456 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1642, allocations: 10.28 kB / 456 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1642, allocations: 5.781 kB / 456 MB, free: 35.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.1642, allocations: 119 kB / 456.2 MB, free: 35.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1642, allocations: 0 / 456.2 MB, free: 35.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.1645, allocations: 102.3 kB / 456.3 MB, free: 35.27 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.0003406/0.1648, allocations: 0.7884 MB / 457.1 MB, free: 34.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1651, allocations: 187.8 kB / 457.2 MB, free: 34.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1651, allocations: 0 / 457.2 MB, free: 34.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1652, allocations: 90.31 kB / 457.3 MB, free: 34.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.1654, allocations: 15.36 kB / 457.3 MB, free: 34.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1666, allocations: 2.203 MB / 459.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.351e-05/0.1667, allocations: 189.3 kB / 459.7 MB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.1668, allocations: 61.3 kB / 459.8 MB, free: 32.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.1668, allocations: 75.7 kB / 459.9 MB, free: 32.62 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1668, allocations: 0 / 459.9 MB, free: 32.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.1831, allocations: 5.975 MB / 465.8 MB, free: 31.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/7.865, allocations: 10.92 kB / 465.8 MB, free: 31.34 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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: 9.87497567012906]