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.001821/0.001821, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002288/0.002288, allocations: 207 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.2279/0.2279, allocations: 46.95 MB / 360.8 MB, free: 3.934 MB / 286.1 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 0.002313/0.002313, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3128, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003474/0.3163, allocations: 1.877 MB / 0.5626 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3183, allocations: 1.037 MB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.3184, allocations: 3.938 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3187, allocations: 65.45 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.3189, allocations: 75.52 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.3194, allocations: 163.3 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.3198, allocations: 258.5 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.3198, allocations: 8.938 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.32, allocations: 123.4 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3202, allocations: 111.3 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3203, allocations: 8 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.3207, allocations: 211.7 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.3207, allocations: 55.64 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.3209, allocations: 91.55 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.3215, allocations: 414.2 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3215, allocations: 4 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3215, allocations: 7.938 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3215, allocations: 0 / 0.5651 GB, free: 15.5 MB / 414.1 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.0007687/0.3223, allocations: 0.4978 MB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3223, allocations: 8.031 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.211e-05/0.3224, allocations: 78.66 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.3225, allocations: 40.7 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3228, allocations: 174.2 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3228, allocations: 28.94 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.3228, allocations: 35.98 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008175/0.3237, allocations: 0.4896 MB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3237, allocations: 4 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3237, allocations: 12 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.3238, allocations: 32.92 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.3244, allocations: 427.7 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.326, allocations: 0.9599 MB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3262, allocations: 74.53 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3263, allocations: 40.83 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3264, allocations: 7.984 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3264, allocations: 38.5 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.3264, allocations: 0 / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004979/0.3269, allocations: 153.9 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.327, allocations: 59.34 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.3271, allocations: 166.3 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3272, allocations: 29.7 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3273, allocations: 231.9 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.3273, allocations: 27.78 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.3274, allocations: 57.66 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3276, allocations: 318.8 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3277, allocations: 51.95 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.328, allocations: 173.5 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3284, allocations: 244 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3284, allocations: 4 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004792/0.3288, allocations: 249.1 kB / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3289, allocations: 11.98 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3289, allocations: 7.938 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3289, allocations: 4 kB / 0.5697 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.3293, allocations: 92.47 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.3304, allocations: 1.777 MB / 0.5715 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3306, allocations: 31.81 kB / 0.5715 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3306, allocations: 20 kB / 0.5715 GB, free: 8.504 MB / 414.1 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.0002718/0.3309, allocations: 176.8 kB / 0.5717 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.3309, allocations: 7.953 kB / 0.5717 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.3314, allocations: 206.2 kB / 0.5719 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3314, allocations: 0 / 0.5719 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3314, allocations: 4 kB / 0.5719 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3314, allocations: 7.922 kB / 0.5719 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.3318, allocations: 256.6 kB / 0.5722 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3318, allocations: 0 / 0.5722 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.332, allocations: 59.97 kB / 0.5722 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.332, allocations: 4 kB / 0.5722 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3321, allocations: 3.938 kB / 0.5722 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3331, allocations: 1.774 MB / 0.574 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3332, allocations: 0 / 0.574 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3335, allocations: 223.4 kB / 0.5742 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.3335, allocations: 23.77 kB / 0.5742 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3336, allocations: 3.984 kB / 0.5742 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.3336, allocations: 4 kB / 0.5742 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3337, allocations: 8.234 kB / 0.5742 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3337, allocations: 12 kB / 0.5742 GB, free: 5.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.817e-05/0.3338, allocations: 115.9 kB / 0.5743 GB, free: 5.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3338, allocations: 0 / 0.5743 GB, free: 5.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000507/0.3343, allocations: 99.61 kB / 0.5744 GB, free: 5.398 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.000869/0.3352, allocations: 0.798 MB / 0.5752 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.3357, allocations: 177.2 kB / 0.5754 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3357, allocations: 4 kB / 0.5754 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.336, allocations: 79.95 kB / 0.5755 GB, free: 4.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3363, allocations: 16.25 kB / 0.5755 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.3392, allocations: 2.238 MB / 0.5777 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3394, allocations: 189.3 kB / 0.5778 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.3396, allocations: 61.19 kB / 0.5779 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3397, allocations: 79.41 kB / 0.578 GB, free: 1.531 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3397, allocations: 0 / 0.578 GB, free: 1.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.3742, allocations: 5.811 MB / 0.5837 GB, free: 11.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.78, allocations: 7.922 kB / 0.5837 GB, free: 11.87 MB / 430.1 MB " [Timeout remaining time 647] (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/jenkins1/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/jenkins1/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: 15.850818935781717]