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.001947/0.001947, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002174/0.002174, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2212/0.2212, allocations: 46.96 MB / 361.6 MB, free: 4.117 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2835, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002974/0.2865, allocations: 1.78 MB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.2888, allocations: 1.271 MB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.2888, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.2891, allocations: 47.75 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2893, allocations: 55.62 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.2899, allocations: 242.7 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.29, allocations: 107.4 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.2901, allocations: 13.25 kB / 0.5653 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2903, allocations: 63.7 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2904, allocations: 47.72 kB / 0.5654 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2904, allocations: 4 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.291, allocations: 327.4 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.291, allocations: 27.84 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.2911, allocations: 31.8 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.2916, allocations: 313.4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2916, allocations: 4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2916, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2916, allocations: 0 / 0.566 GB, free: 15.84 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.000577/0.2922, allocations: 377.3 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2922, allocations: 8.031 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.2923, allocations: 12.89 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2924, allocations: 118.4 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2924, allocations: 8.375 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.2925, allocations: 16.12 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.2928, allocations: 153.6 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2928, allocations: 0 / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2928, allocations: 0 / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2928, allocations: 4 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.2932, allocations: 143.8 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008834/0.2941, allocations: 399.1 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.2943, allocations: 98.62 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.2945, allocations: 44.77 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2945, allocations: 4 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2945, allocations: 34.56 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2945, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005282/0.2951, allocations: 165.4 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2951, allocations: 55.41 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2952, allocations: 125.8 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2952, allocations: 25.7 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.321e-05/0.2953, allocations: 116 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.2954, allocations: 35.69 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.2954, allocations: 41.61 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2956, allocations: 318.8 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2957, allocations: 39.91 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2959, allocations: 88.14 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.2962, allocations: 133 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2962, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003844/0.2966, allocations: 173.7 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2966, allocations: 4 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2966, allocations: 4 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2967, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2969, allocations: 51.91 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004295/0.2973, allocations: 0.5822 MB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2975, allocations: 15.88 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.2975, allocations: 12.22 kB / 0.5693 GB, free: 12.25 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.0001069/0.2976, allocations: 125.7 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.2976, allocations: 4 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.2981, allocations: 173.9 kB / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2981, allocations: 0 / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2981, allocations: 4 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2981, allocations: 3.938 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2983, allocations: 145.3 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2983, allocations: 0 / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.2986, allocations: 47.91 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2986, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2986, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/0.2989, allocations: 0.5937 MB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2989, allocations: 0 / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.2995, allocations: 303.4 kB / 0.5707 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.2995, allocations: 15.97 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2995, allocations: 7.938 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2996, allocations: 7.984 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2997, allocations: 11.98 kB / 0.5707 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.2997, allocations: 4 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.2998, allocations: 91.27 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2998, allocations: 0 / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.3002, allocations: 83.73 kB / 0.5709 GB, free: 10.56 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.0003208/0.3005, allocations: 170.9 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.3009, allocations: 123.8 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3009, allocations: 0 / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.3011, allocations: 67.89 kB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3014, allocations: 10.94 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.3021, allocations: 316.7 kB / 0.5715 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.538e-05/0.3022, allocations: 93.05 kB / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.3023, allocations: 20.42 kB / 0.5716 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.3023, allocations: 19.44 kB / 0.5717 GB, free: 9.707 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3023, allocations: 0 / 0.5717 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Templates: time 0.006377/0.3087, allocations: 2.485 MB / 0.5741 GB, free: 7.273 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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: 5.069269325991627]