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.001732/0.001732, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002142/0.002142, allocations: 212 kB / 23.73 MB, free: 4.387 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.237/0.237, allocations: 46.97 MB / 360.9 MB, free: 4.02 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.002228/0.002228, allocations: 64.09 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3171, allocations: 66.04 MB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003275/0.3204, allocations: 1.773 MB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3225, allocations: 1.279 MB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.3226, allocations: 0 / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.3228, allocations: 39.77 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3229, allocations: 55.61 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.3235, allocations: 251 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3236, allocations: 99.45 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.3237, allocations: 5.312 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3238, allocations: 67.64 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.3239, allocations: 43.77 kB / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.324, allocations: 8 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.3245, allocations: 315.4 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.3245, allocations: 11.92 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.3245, allocations: 39.73 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.325, allocations: 312.8 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3251, allocations: 0 / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3251, allocations: 3.938 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3251, allocations: 0 / 0.5648 GB, free: 15.8 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.0006115/0.3257, allocations: 373.4 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3257, allocations: 19.97 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.3258, allocations: 42.75 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.3258, allocations: 12.88 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3259, allocations: 118.4 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3259, allocations: 12.38 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.326, allocations: 19.88 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3263, allocations: 137.6 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3263, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3263, allocations: 8 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3263, allocations: 0 / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.3266, allocations: 143.8 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.3275, allocations: 438.5 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.3278, allocations: 98.58 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3279, allocations: 48.83 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3279, allocations: 4 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.328, allocations: 34.56 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.328, allocations: 0 / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000481/0.3285, allocations: 161.5 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3285, allocations: 55.34 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3286, allocations: 117.8 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3286, allocations: 25.7 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.3287, allocations: 119.7 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.3287, allocations: 47.62 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.3288, allocations: 37.66 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3289, allocations: 318.8 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3291, allocations: 39.97 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3292, allocations: 84.06 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3295, allocations: 121 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3295, allocations: 7.938 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003416/0.3298, allocations: 162.1 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3299, allocations: 10.66 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3299, allocations: 160 / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3299, allocations: 8 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3301, allocations: 47.91 kB / 0.5675 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003931/0.3305, allocations: 0.5898 MB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3306, allocations: 23.91 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3306, allocations: 4 kB / 0.5682 GB, free: 12.12 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.0001254/0.3307, allocations: 117.8 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3308, allocations: 4.094 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.3312, allocations: 173.9 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3312, allocations: 4 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3312, allocations: 3.938 kB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3312, allocations: 0 / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.3315, allocations: 180.6 kB / 0.5686 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3315, allocations: 4 kB / 0.5686 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3317, allocations: 47.91 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3317, allocations: 0 / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3317, allocations: 4 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003722/0.3321, allocations: 0.5898 MB / 0.5692 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3321, allocations: 0 / 0.5692 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.3326, allocations: 291.5 kB / 0.5695 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.3327, allocations: 27.91 kB / 0.5695 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3327, allocations: 0 / 0.5695 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3328, allocations: 11.98 kB / 0.5696 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3328, allocations: 7.984 kB / 0.5696 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3329, allocations: 8 kB / 0.5696 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.3329, allocations: 95.2 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3329, allocations: 0 / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.3333, allocations: 87.61 kB / 0.5697 GB, free: 10.38 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.001013/0.3343, allocations: 0.9029 MB / 0.5706 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.3347, allocations: 127.9 kB / 0.5708 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3347, allocations: 0 / 0.5708 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.3349, allocations: 63.91 kB / 0.5708 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3352, allocations: 13.61 kB / 0.5708 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3374, allocations: 1.723 MB / 0.5725 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.3375, allocations: 93.23 kB / 0.5726 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.3376, allocations: 16.42 kB / 0.5726 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.3376, allocations: 43.42 kB / 0.5727 GB, free: 7.258 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3376, allocations: 0 / 0.5727 GB, free: 7.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3698, allocations: 4.352 MB / 0.5769 GB, free: 3.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.79, allocations: 12.05 kB / 0.5769 GB, free: 3.074 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.82867643609643]