Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.001545/0.001545, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.00175/0.00175, allocations: 207.5 kB / 24.53 MB, free: 4.066 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2195/0.2195, allocations: 46.92 MB / 361.6 MB, free: 4.184 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_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 79.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3001, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003215/0.3033, allocations: 1.831 MB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.3057, allocations: 1.411 MB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.3058, allocations: 4 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.306, allocations: 47.75 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.3062, allocations: 55.61 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.3069, allocations: 246.4 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.307, allocations: 111.3 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.3071, allocations: 9.25 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.3073, allocations: 55.78 kB / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3074, allocations: 51.7 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3074, allocations: 4 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/0.3083, allocations: 0.503 MB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.3083, allocations: 23.86 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.3084, allocations: 47.66 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006078/0.309, allocations: 356.8 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.309, allocations: 8 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.309, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.309, allocations: 0 / 0.5662 GB, free: 15.52 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.0006369/0.3096, allocations: 373.3 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3097, allocations: 8.031 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.01e-05/0.3097, allocations: 4.188 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.3097, allocations: 50.73 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.3098, allocations: 8.891 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3099, allocations: 126.3 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3099, allocations: 16.12 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.31, allocations: 12 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.3103, allocations: 145.5 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3103, allocations: 0 / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3103, allocations: 8 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3103, allocations: 4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.3106, allocations: 143.9 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.3115, allocations: 497.9 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.3118, allocations: 94.59 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3119, allocations: 52.81 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3119, allocations: 3.984 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.312, allocations: 30.56 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.312, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005444/0.3125, allocations: 165.5 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3126, allocations: 55.39 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3127, allocations: 121.8 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3127, allocations: 25.7 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.3128, allocations: 123.6 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.3128, allocations: 39.62 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.3129, allocations: 33.7 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3131, allocations: 322.8 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3132, allocations: 39.97 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3134, allocations: 77.11 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3137, allocations: 133.4 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3137, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003735/0.3141, allocations: 161.4 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3141, allocations: 4 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3141, allocations: 4 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3141, allocations: 0 / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.3143, allocations: 51.91 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004112/0.3147, allocations: 0.5899 MB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3148, allocations: 24.02 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3149, allocations: 4 kB / 0.5696 GB, free: 11.75 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.0001318/0.315, allocations: 123.2 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.315, allocations: 3.953 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.3155, allocations: 182.2 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3155, allocations: 7.938 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3155, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3155, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.3157, allocations: 180.7 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3157, allocations: 3.938 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.3159, allocations: 43.97 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3159, allocations: 0 / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.316, allocations: 4 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003662/0.3163, allocations: 0.5898 MB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3163, allocations: 0 / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.3168, allocations: 299.4 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3169, allocations: 11.97 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3169, allocations: 4 kB / 0.571 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.317, allocations: 15.98 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3171, allocations: 11.98 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3171, allocations: 8 kB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.3171, allocations: 87.27 kB / 0.5711 GB, free: 10.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3171, allocations: 0 / 0.5711 GB, free: 10.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.3175, allocations: 83.62 kB / 0.5712 GB, free: 10.02 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.001076/0.3186, allocations: 0.9076 MB / 0.5721 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.3191, allocations: 126.9 kB / 0.5722 GB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3191, allocations: 320 / 0.5722 GB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3193, allocations: 71.89 kB / 0.5722 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3196, allocations: 13.88 kB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.322, allocations: 1.73 MB / 0.5739 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3223, allocations: 0.7039 MB / 0.5746 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.3224, allocations: 16.48 kB / 0.5746 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.3225, allocations: 35.42 kB / 0.5747 GB, free: 6.266 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3225, allocations: 0 / 0.5747 GB, free: 6.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3486, allocations: 4.015 MB / 0.5786 GB, free: 2.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.48, allocations: 4.062 kB / 0.5786 GB, free: 2.398 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.525312451005448]