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.001703/0.001703, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.002023/0.002023, allocations: 162.7 kB / 24.5 MB, free: 3.711 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.45/1.45, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.2208/0.2208, allocations: 32.8 MB / 294.1 MB, free: 15.99 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: 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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [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.002128/0.002128, allocations: 67.89 kB / 440.6 MB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3131, allocations: 65.44 MB / 0.4942 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002517/0.3156, allocations: 1.793 MB / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3174, allocations: 1.276 MB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.3175, allocations: 7.188 kB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.3177, allocations: 47.05 kB / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.3178, allocations: 48.41 kB / 0.4973 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3183, allocations: 247.7 kB / 0.4975 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3185, allocations: 108.6 kB / 0.4976 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3185, allocations: 8.562 kB / 0.4976 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.3187, allocations: 48.69 kB / 0.4977 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.3188, allocations: 49.67 kB / 0.4977 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3188, allocations: 6.594 kB / 0.4977 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.3192, allocations: 310 kB / 0.498 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3193, allocations: 18.3 kB / 0.498 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.3193, allocations: 35.66 kB / 0.4981 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.3197, allocations: 317.9 kB / 0.4984 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3197, allocations: 0 / 0.4984 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3197, allocations: 0 / 0.4984 GB, free: 28.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3197, allocations: 0 / 0.4984 GB, free: 28.87 MB / 446.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.000441/0.3201, allocations: 377.2 kB / 0.4987 GB, free: 28.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.3202, allocations: 9.688 kB / 0.4987 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3202, allocations: 11.39 kB / 0.4987 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.3203, allocations: 117.6 kB / 0.4989 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3203, allocations: 14.78 kB / 0.4989 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3203, allocations: 14.41 kB / 0.4989 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3206, allocations: 151.7 kB / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3206, allocations: 0 / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3206, allocations: 4 kB / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3206, allocations: 3.125 kB / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.3209, allocations: 138.8 kB / 0.4992 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.3216, allocations: 397.1 kB / 0.4996 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3218, allocations: 101.7 kB / 0.4996 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3219, allocations: 45.86 kB / 0.4997 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3219, allocations: 0 / 0.4997 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.322, allocations: 37.84 kB / 0.4997 GB, free: 27.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.322, allocations: 0 / 0.4997 GB, free: 27.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004332/0.3224, allocations: 167.3 kB / 0.4999 GB, free: 27.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.3224, allocations: 54.5 kB / 0.4999 GB, free: 27.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.3225, allocations: 125.3 kB / 0.5001 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3225, allocations: 25.7 kB / 0.5001 GB, free: 27.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.3225, allocations: 117.2 kB / 0.5002 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3226, allocations: 34.2 kB / 0.5002 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3226, allocations: 45.77 kB / 0.5003 GB, free: 27.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.3227, allocations: 317.2 kB / 0.5006 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3228, allocations: 42.16 kB / 0.5006 GB, free: 27.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3229, allocations: 83.22 kB / 0.5007 GB, free: 27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3231, allocations: 138 kB / 0.5008 GB, free: 26.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3231, allocations: 0 / 0.5008 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003021/0.3234, allocations: 162.7 kB / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3235, allocations: 5.969 kB / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3235, allocations: 6.438 kB / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3235, allocations: 0 / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3237, allocations: 45.36 kB / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002335/0.3239, allocations: 0.5855 MB / 0.5016 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.324, allocations: 25.33 kB / 0.5016 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.324, allocations: 9.562 kB / 0.5016 GB, free: 26.22 MB / 446.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 6.29e-05/0.3241, allocations: 117.8 kB / 0.5018 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3241, allocations: 6.25 kB / 0.5018 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.3245, allocations: 181.8 kB / 0.5019 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3245, allocations: 6.875 kB / 0.5019 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3245, allocations: 0 / 0.5019 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3245, allocations: 3.938 kB / 0.5019 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3247, allocations: 144.5 kB / 0.5021 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3247, allocations: 0 / 0.5021 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3248, allocations: 40.03 kB / 0.5021 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3248, allocations: 3.375 kB / 0.5021 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3249, allocations: 3.188 kB / 0.5021 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001795/0.325, allocations: 0.5939 MB / 0.5027 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.325, allocations: 0 / 0.5027 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.3254, allocations: 294 kB / 0.503 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3255, allocations: 16.73 kB / 0.503 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3255, allocations: 11.12 kB / 0.503 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3256, allocations: 6.531 kB / 0.503 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3257, allocations: 13.91 kB / 0.503 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3257, allocations: 7.156 kB / 0.503 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.3257, allocations: 96.72 kB / 0.5031 GB, free: 24.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3257, allocations: 0 / 0.5031 GB, free: 24.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.326, allocations: 78.3 kB / 0.5032 GB, free: 24.95 MB / 446.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.0002556/0.3263, allocations: 176.4 kB / 0.5034 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.3267, allocations: 115.5 kB / 0.5035 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3267, allocations: 3.938 kB / 0.5035 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.3268, allocations: 68.41 kB / 0.5036 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3271, allocations: 17.86 kB / 0.5036 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.3277, allocations: 318.6 kB / 0.5039 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.3277, allocations: 92.62 kB / 0.504 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.3278, allocations: 14.67 kB / 0.504 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3278, allocations: 18.78 kB / 0.504 GB, free: 24.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3278, allocations: 3.5 kB / 0.504 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Templates: time 0.005162/0.333, allocations: 2.343 MB / 0.5063 GB, free: 24.22 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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: 5.0604013410629705]