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.001252/0.001252, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001399/0.001399, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2296/0.2296, allocations: 46.95 MB / 360.9 MB, free: 4.035 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.001975/0.001975, allocations: 71.89 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3316, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003164/0.3348, allocations: 1.78 MB / 0.5624 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.337, allocations: 1.275 MB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.337, allocations: 0 / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.3372, allocations: 47.77 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3374, allocations: 51.61 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.3379, allocations: 247.1 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3381, allocations: 107.4 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.3381, allocations: 1.312 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3383, allocations: 59.72 kB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.3384, allocations: 51.69 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3384, allocations: 7.938 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.339, allocations: 327.4 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.339, allocations: 23.84 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.339, allocations: 35.8 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.3395, allocations: 316.7 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3395, allocations: 0 / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3395, allocations: 0 / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3395, allocations: 0 / 0.5648 GB, free: 15.91 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.0005838/0.3401, allocations: 373.4 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3402, allocations: 12.02 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.3402, allocations: 42.75 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.3403, allocations: 12.83 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3404, allocations: 134.3 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3404, allocations: 8.375 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3404, allocations: 15.94 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3407, allocations: 137.6 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3408, allocations: 4 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3408, allocations: 4 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3408, allocations: 4 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.3411, allocations: 135.8 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009235/0.342, allocations: 442.5 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.3423, allocations: 90.66 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3424, allocations: 40.83 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3425, allocations: 8 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3425, allocations: 34.5 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3425, allocations: 0 / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004897/0.343, allocations: 165.5 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.343, allocations: 51.41 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3431, allocations: 121.8 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3431, allocations: 25.7 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.3432, allocations: 115.7 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.3433, allocations: 43.62 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.3433, allocations: 34.05 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3435, allocations: 326.8 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3436, allocations: 39.97 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3438, allocations: 88 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.344, allocations: 125 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.344, allocations: 4 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003563/0.3444, allocations: 161.8 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3444, allocations: 4 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3444, allocations: 11.98 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3444, allocations: 0 / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.3447, allocations: 51.91 kB / 0.5676 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004944/0.3452, allocations: 0.5861 MB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3453, allocations: 19.92 kB / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3453, allocations: 7.984 kB / 0.5682 GB, free: 12.23 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.0001182/0.3454, allocations: 121.8 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3455, allocations: 7.984 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.3459, allocations: 173.8 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3459, allocations: 7.984 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3459, allocations: 3.938 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3459, allocations: 0 / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3462, allocations: 176.7 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3462, allocations: 0 / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3464, allocations: 47.91 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3464, allocations: 0 / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3464, allocations: 15.98 kB / 0.5687 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003587/0.3468, allocations: 0.5821 MB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3468, allocations: 0 / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.3473, allocations: 303.3 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.3474, allocations: 15.91 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3474, allocations: 4 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3475, allocations: 8.156 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.3476, allocations: 19.97 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3476, allocations: 0 / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.705e-05/0.3477, allocations: 91.27 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3477, allocations: 0 / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004442/0.3481, allocations: 75.69 kB / 0.5698 GB, free: 10.5 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.001149/0.3493, allocations: 0.9034 MB / 0.5706 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004399/0.3497, allocations: 124.1 kB / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3497, allocations: 0 / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.3499, allocations: 67.89 kB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3503, allocations: 9.906 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3525, allocations: 1.731 MB / 0.5725 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.855e-05/0.3526, allocations: 93.05 kB / 0.5726 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.3526, allocations: 16.48 kB / 0.5726 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.3527, allocations: 43.41 kB / 0.5727 GB, free: 7.371 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3527, allocations: 0 / 0.5727 GB, free: 7.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.3851, allocations: 4.409 MB / 0.577 GB, free: 3.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.32, allocations: 11.98 kB / 0.577 GB, free: 3.129 MB / 414.1 MB " [Timeout remaining time 648] (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.32953249901766]