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.001238/0.001238, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001362/0.001362, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.378/1.378, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2193/0.2193, allocations: 46.94 MB / 361.6 MB, free: 3.961 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 71.89 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3043, allocations: 66.08 MB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003088/0.3073, allocations: 1.79 MB / 0.5632 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3094, allocations: 1.255 MB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.3094, allocations: 3.938 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.3097, allocations: 55.67 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.31, allocations: 87.56 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.3105, allocations: 227.1 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.3109, allocations: 401.8 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.311, allocations: 16.92 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.3112, allocations: 163.1 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.3115, allocations: 183.1 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.3115, allocations: 12 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.312, allocations: 239.5 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.3122, allocations: 131.4 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.3123, allocations: 162.9 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.3131, allocations: 0.5657 MB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3131, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3131, allocations: 4 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3131, allocations: 0 / 0.5666 GB, free: 14.77 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.00122/0.3143, allocations: 0.7152 MB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3143, allocations: 8.031 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.038e-05/0.3144, allocations: 13.19 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.3145, allocations: 102.7 kB / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.3146, allocations: 56.56 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3149, allocations: 267 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.315, allocations: 33.12 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.3151, allocations: 47.98 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.3161, allocations: 0.6992 MB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3161, allocations: 0 / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.3162, allocations: 16 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-05/0.3163, allocations: 57.28 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3174, allocations: 0.7233 MB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.3197, allocations: 1.324 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.3203, allocations: 335.5 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.3205, allocations: 137.2 kB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.3206, allocations: 8.219 kB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3206, allocations: 38.8 kB / 0.5711 GB, free: 10.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.3206, allocations: 0 / 0.5711 GB, free: 10.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009915/0.3216, allocations: 495.6 kB / 0.5715 GB, free: 9.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3217, allocations: 55.41 kB / 0.5716 GB, free: 9.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.3222, allocations: 449.5 kB / 0.572 GB, free: 9.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3222, allocations: 37.64 kB / 0.572 GB, free: 9.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.3225, allocations: 272 kB / 0.5723 GB, free: 8.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.3226, allocations: 99.12 kB / 0.5724 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3227, allocations: 85.47 kB / 0.5725 GB, free: 8.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3229, allocations: 346.8 kB / 0.5728 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.3232, allocations: 147.9 kB / 0.5729 GB, free: 8.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.3236, allocations: 253.3 kB / 0.5732 GB, free: 7.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.3243, allocations: 438.1 kB / 0.5736 GB, free: 7.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3243, allocations: 4 kB / 0.5736 GB, free: 7.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000839/0.3251, allocations: 472.9 kB / 0.5741 GB, free: 6.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3251, allocations: 4 kB / 0.5741 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3251, allocations: 4 kB / 0.5741 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3252, allocations: 8.469 kB / 0.5741 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.3258, allocations: 171.8 kB / 0.5742 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.3279, allocations: 3.606 MB / 0.5778 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.3282, allocations: 64.05 kB / 0.5778 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.3282, allocations: 31.92 kB / 0.5779 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.00027/0.3285, allocations: 221.6 kB / 0.5781 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.3286, allocations: 43.72 kB / 0.5781 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3297, allocations: 0.5211 MB / 0.5786 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3297, allocations: 4 kB / 0.5786 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3297, allocations: 0 / 0.5786 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3297, allocations: 3.938 kB / 0.5786 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.3303, allocations: 412.2 kB / 0.579 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3303, allocations: 0 / 0.579 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.3309, allocations: 139.9 kB / 0.5792 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.3309, allocations: 4 kB / 0.5792 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.3309, allocations: 8 kB / 0.5792 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.3331, allocations: 3.61 MB / 0.5827 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3331, allocations: 0 / 0.5827 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3342, allocations: 0.6643 MB / 0.5833 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.3344, allocations: 79.67 kB / 0.5834 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.3344, allocations: 15.89 kB / 0.5834 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3346, allocations: 16.33 kB / 0.5834 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.3347, allocations: 31.89 kB / 0.5835 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3348, allocations: 12 kB / 0.5835 GB, free: 12.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.3351, allocations: 347.1 kB / 0.5838 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3351, allocations: 0 / 0.5838 GB, free: 12.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006322/0.3358, allocations: 167.5 kB / 0.584 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.001597/0.3374, allocations: 1.289 MB / 0.5852 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3384, allocations: 428 kB / 0.5856 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3384, allocations: 4 kB / 0.5856 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.3391, allocations: 255.9 kB / 0.5859 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3395, allocations: 37.44 kB / 0.5859 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.3458, allocations: 4.878 MB / 0.5907 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3461, allocations: 302.1 kB / 0.591 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.3464, allocations: 143 kB / 0.5911 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.3467, allocations: 167.4 kB / 0.5913 GB, free: 4.617 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3467, allocations: 0 / 0.5913 GB, free: 4.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.3822, allocations: 11.83 MB / 0.6028 GB, free: 8.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.34, allocations: 10.39 kB / 0.6028 GB, free: 8.977 MB / 446.1 MB " [Timeout remaining time 646] (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.94124413409736]