Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.0015/0.0015, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001892/0.001892, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 46.94 MB / 360.9 MB, free: 4.324 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 72.08 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 66.04 MB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003743/0.315, allocations: 1.819 MB / 0.5625 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.3177, allocations: 1.431 MB / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.3178, allocations: 0 / 0.5639 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.3181, allocations: 47.75 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.3183, allocations: 51.56 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.319, allocations: 255 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3192, allocations: 99.44 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.3192, allocations: 9.312 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.3194, allocations: 55.72 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3196, allocations: 51.7 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3196, allocations: 4 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007961/0.3204, allocations: 0.5108 MB / 0.5649 GB, free: 180 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3204, allocations: 15.91 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.3204, allocations: 47.67 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.321, allocations: 360.7 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.321, allocations: 0 / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.321, allocations: 0 / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.321, allocations: 0 / 0.5653 GB, free: 15.76 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006151/0.3216, allocations: 381.3 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3217, allocations: 12.03 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.3218, allocations: 46.75 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3218, allocations: 8.891 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3219, allocations: 122.4 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3219, allocations: 12.31 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.322, allocations: 19.88 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.3223, allocations: 141.6 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3223, allocations: 0 / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3224, allocations: 4 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3224, allocations: 4 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.3227, allocations: 139.9 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009995/0.3237, allocations: 0.4901 MB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.324, allocations: 98.59 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3241, allocations: 40.83 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.3241, allocations: 7.984 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3242, allocations: 34.56 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3242, allocations: 0 / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004953/0.3247, allocations: 165.5 kB / 0.567 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3247, allocations: 55.34 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.3248, allocations: 113.8 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3248, allocations: 25.7 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.3249, allocations: 119.7 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.3249, allocations: 39.62 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.325, allocations: 37.7 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3252, allocations: 314.8 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3253, allocations: 39.97 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3254, allocations: 81.11 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3257, allocations: 133 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3257, allocations: 0 / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003375/0.326, allocations: 165.4 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.326, allocations: 4 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3261, allocations: 0 / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3261, allocations: 4 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3263, allocations: 43.97 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/0.3267, allocations: 0.5937 MB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3268, allocations: 20.17 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3268, allocations: 8 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.3269, allocations: 114.2 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.327, allocations: 7.953 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.3274, allocations: 185.8 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3274, allocations: 0 / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3274, allocations: 3.938 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3274, allocations: 4 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.3277, allocations: 180.7 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3277, allocations: 4 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.3279, allocations: 39.97 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3279, allocations: 4 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3279, allocations: 3.938 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/0.3283, allocations: 0.5937 MB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3283, allocations: 8.016 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.3287, allocations: 293.4 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3288, allocations: 15.91 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3288, allocations: 4 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3289, allocations: 11.92 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.329, allocations: 19.98 kB / 0.5701 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.329, allocations: 3.984 kB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.329, allocations: 91.22 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.329, allocations: 0 / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.3294, allocations: 83.62 kB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.3304, allocations: 0.9035 MB / 0.5712 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.3308, allocations: 119.8 kB / 0.5713 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3308, allocations: 4.312 kB / 0.5713 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.331, allocations: 71.89 kB / 0.5714 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3313, allocations: 9.312 kB / 0.5714 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3336, allocations: 1.728 MB / 0.5731 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3339, allocations: 0.7078 MB / 0.5738 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.334, allocations: 24.88 kB / 0.5738 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.3341, allocations: 39.42 kB / 0.5738 GB, free: 6.508 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3341, allocations: 0 / 0.5738 GB, free: 6.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.3672, allocations: 3.976 MB / 0.5777 GB, free: 2.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.53, allocations: 14.45 kB / 0.5777 GB, free: 2.688 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.524581582052633]