Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.001262/0.001262, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001378/0.001378, allocations: 213 kB / 23.73 MB, free: 4.164 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2276/0.2276, allocations: 46.95 MB / 360.8 MB, free: 3.918 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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 83.86 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3138, allocations: 66.08 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003261/0.3171, allocations: 1.792 MB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.3193, allocations: 1.252 MB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.3194, allocations: 0 / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.3196, allocations: 59.67 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.3199, allocations: 87.5 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.3204, allocations: 223.1 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.3208, allocations: 401.8 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.3209, allocations: 16.94 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.3212, allocations: 163.1 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3214, allocations: 179 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.3215, allocations: 12 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.3219, allocations: 227.5 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3221, allocations: 131.4 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.3223, allocations: 151 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007645/0.323, allocations: 0.5812 MB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.323, allocations: 3.938 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.323, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3231, allocations: 0 / 0.5658 GB, free: 14.75 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00121/0.3243, allocations: 0.7152 MB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3243, allocations: 8.031 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.3244, allocations: 102.7 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.401e-05/0.3245, allocations: 56.56 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.325, allocations: 271 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.325, allocations: 29.38 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.3251, allocations: 43.94 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.3261, allocations: 0.6914 MB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3261, allocations: 0 / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.3262, allocations: 27.98 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.397e-05/0.3263, allocations: 57.27 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3274, allocations: 0.7272 MB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3297, allocations: 1.305 MB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.3304, allocations: 347.4 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.3306, allocations: 133.2 kB / 0.5702 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.3307, allocations: 12.22 kB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3307, allocations: 34.8 kB / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.3307, allocations: 0 / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001029/0.3317, allocations: 491.7 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.3318, allocations: 63.34 kB / 0.5708 GB, free: 9.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.3323, allocations: 461.5 kB / 0.5712 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3323, allocations: 29.7 kB / 0.5713 GB, free: 9.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3325, allocations: 264.1 kB / 0.5715 GB, free: 8.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.3326, allocations: 99.16 kB / 0.5716 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3327, allocations: 89.42 kB / 0.5717 GB, free: 8.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3329, allocations: 350.8 kB / 0.572 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.3332, allocations: 143.9 kB / 0.5722 GB, free: 8.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.3336, allocations: 253.5 kB / 0.5724 GB, free: 7.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.3343, allocations: 438.2 kB / 0.5728 GB, free: 7.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3343, allocations: 3.938 kB / 0.5728 GB, free: 7.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008629/0.3351, allocations: 473 kB / 0.5733 GB, free: 6.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3352, allocations: 10.19 kB / 0.5733 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3352, allocations: 7.938 kB / 0.5733 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3352, allocations: 4 kB / 0.5733 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.3358, allocations: 163.8 kB / 0.5735 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.338, allocations: 3.618 MB / 0.577 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3383, allocations: 51.58 kB / 0.577 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.3384, allocations: 31.86 kB / 0.5771 GB, free: 2.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.3386, allocations: 230 kB / 0.5773 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.3387, allocations: 35.77 kB / 0.5773 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3398, allocations: 0.5324 MB / 0.5779 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3398, allocations: 0 / 0.5779 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3398, allocations: 4 kB / 0.5779 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3398, allocations: 3.984 kB / 0.5779 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.3404, allocations: 400.3 kB / 0.5782 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3404, allocations: 0 / 0.5782 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.341, allocations: 147.9 kB / 0.5784 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.341, allocations: 4 kB / 0.5784 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.341, allocations: 12 kB / 0.5784 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.3432, allocations: 3.602 MB / 0.5819 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3432, allocations: 96 / 0.5819 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3443, allocations: 0.6643 MB / 0.5826 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.3445, allocations: 83.61 kB / 0.5826 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.3446, allocations: 12 kB / 0.5827 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3448, allocations: 15.92 kB / 0.5827 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.3449, allocations: 31.89 kB / 0.5827 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.3449, allocations: 16 kB / 0.5827 GB, free: 12.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003841/0.3453, allocations: 343.1 kB / 0.583 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3453, allocations: 4.062 kB / 0.583 GB, free: 12.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.3458, allocations: 171.5 kB / 0.5832 GB, free: 12.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.3475, allocations: 1.282 MB / 0.5845 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3485, allocations: 428.3 kB / 0.5849 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3485, allocations: 4.062 kB / 0.5849 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.3492, allocations: 248 kB / 0.5851 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3496, allocations: 45.38 kB / 0.5852 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.3564, allocations: 4.88 MB / 0.5899 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3567, allocations: 306.1 kB / 0.5902 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.3571, allocations: 139 kB / 0.5903 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.3573, allocations: 167.4 kB / 0.5905 GB, free: 4.613 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3573, allocations: 0 / 0.5905 GB, free: 4.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04397/0.4013, allocations: 12.1 MB / 0.6023 GB, free: 8.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.97, allocations: 4 kB / 0.6023 GB, free: 8.707 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.379771936219186]