Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001805/0.001805, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00219/0.00219, allocations: 217.1 kB / 23.73 MB, free: 4.156 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.449/1.449, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3198, allocations: 65.48 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003568/0.3233, allocations: 1.775 MB / 0.5587 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.3258, allocations: 1.279 MB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.3258, allocations: 0 / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3261, allocations: 39.77 kB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3263, allocations: 47.64 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.3269, allocations: 259 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3271, allocations: 95.45 kB / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3272, allocations: 9.297 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.3274, allocations: 63.66 kB / 0.5605 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.3274, allocations: 43.77 kB / 0.5605 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3275, allocations: 4 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.328, allocations: 311.4 kB / 0.5608 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.3281, allocations: 15.86 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.3281, allocations: 51.72 kB / 0.5609 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.3286, allocations: 312.7 kB / 0.5612 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3287, allocations: 0 / 0.5612 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3287, allocations: 0 / 0.5612 GB, free: 3.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3287, allocations: 0 / 0.5612 GB, free: 3.242 MB / 398.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.0006321/0.3293, allocations: 369.4 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3293, allocations: 12.03 kB / 0.5615 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.3294, allocations: 50.67 kB / 0.5616 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.3294, allocations: 12.89 kB / 0.5616 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3296, allocations: 122.3 kB / 0.5617 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3296, allocations: 16.38 kB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.3296, allocations: 15.94 kB / 0.5618 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.3299, allocations: 141.6 kB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.33, allocations: 3.938 kB / 0.5619 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.33, allocations: 8 kB / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.33, allocations: 0 / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.3303, allocations: 135.9 kB / 0.562 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/0.3312, allocations: 434.5 kB / 0.5624 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.3315, allocations: 94.64 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3317, allocations: 52.75 kB / 0.5626 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3317, allocations: 4 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3317, allocations: 30.56 kB / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.3317, allocations: 0 / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005005/0.3322, allocations: 165.5 kB / 0.5628 GB, free: 1.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.3323, allocations: 55.41 kB / 0.5628 GB, free: 1.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3324, allocations: 109.8 kB / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3324, allocations: 33.7 kB / 0.563 GB, free: 1.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.3325, allocations: 119.6 kB / 0.5631 GB, free: 1.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3325, allocations: 39.62 kB / 0.5631 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.3326, allocations: 37.66 kB / 0.5632 GB, free: 1.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3327, allocations: 326.7 kB / 0.5635 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3329, allocations: 43.97 kB / 0.5635 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.333, allocations: 80.17 kB / 0.5636 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3333, allocations: 121 kB / 0.5637 GB, free: 444 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3333, allocations: 4 kB / 0.5637 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003584/0.3337, allocations: 161.4 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3337, allocations: 7.938 kB / 0.5639 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3337, allocations: 0 / 0.5639 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3337, allocations: 4 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3339, allocations: 47.91 kB / 0.5639 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004394/0.3343, allocations: 0.5978 MB / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3345, allocations: 15.92 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3345, allocations: 4 kB / 0.5645 GB, free: 15.57 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.0001138/0.3346, allocations: 129.8 kB / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3346, allocations: 0 / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.335, allocations: 177.2 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.335, allocations: 4 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.335, allocations: 3.938 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3351, allocations: 7.922 kB / 0.5648 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3353, allocations: 176.7 kB / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3353, allocations: 0 / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3355, allocations: 39.97 kB / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3355, allocations: 0 / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3355, allocations: 8 kB / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003815/0.3359, allocations: 0.5937 MB / 0.5656 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3359, allocations: 7.922 kB / 0.5656 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.3365, allocations: 291.4 kB / 0.5659 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3365, allocations: 19.91 kB / 0.5659 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3365, allocations: 0 / 0.5659 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3366, allocations: 11.98 kB / 0.5659 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3367, allocations: 12.14 kB / 0.5659 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3367, allocations: 7.984 kB / 0.566 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.3368, allocations: 87.28 kB / 0.566 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3368, allocations: 0 / 0.566 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.3371, allocations: 83.67 kB / 0.5661 GB, free: 13.83 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.001058/0.3382, allocations: 0.8995 MB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.3386, allocations: 120.7 kB / 0.5671 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3386, allocations: 4.062 kB / 0.5671 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3388, allocations: 67.89 kB / 0.5672 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.3391, allocations: 9.625 kB / 0.5672 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.3415, allocations: 1.743 MB / 0.5689 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.3416, allocations: 92.98 kB / 0.569 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.3417, allocations: 20.48 kB / 0.569 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.3417, allocations: 31.42 kB / 0.569 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3417, allocations: 4 kB / 0.569 GB, free: 10.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.376, allocations: 4.35 MB / 0.5733 GB, free: 6.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.88, allocations: 19.14 kB / 0.5733 GB, free: 6.512 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.976793170906603]