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.001443/0.001443, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001572/0.001572, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2375/0.2375, allocations: 46.96 MB / 361.6 MB, free: 4.121 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.002182/0.002182, allocations: 71.89 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3266, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003672/0.3302, allocations: 1.773 MB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3328, allocations: 1.283 MB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3329, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3331, allocations: 39.77 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.3334, allocations: 55.56 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.3343, allocations: 247.1 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3345, allocations: 107.4 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.3345, allocations: 5.312 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3348, allocations: 59.72 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3349, allocations: 43.77 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3349, allocations: 7.938 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.3355, allocations: 315.4 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.3355, allocations: 15.92 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.3356, allocations: 39.73 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.3363, allocations: 313.5 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3363, allocations: 0 / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3363, allocations: 0 / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3363, allocations: 3.938 kB / 0.566 GB, free: 15.86 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.0007678/0.3371, allocations: 373.4 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3372, allocations: 11.97 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.3372, allocations: 16.89 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3374, allocations: 114.4 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3374, allocations: 8.375 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.3375, allocations: 16.12 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.3378, allocations: 153.5 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3378, allocations: 0 / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3379, allocations: 0 / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3379, allocations: 4 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.3382, allocations: 147.8 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000934/0.3391, allocations: 403.1 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.3394, allocations: 90.59 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.3396, allocations: 48.77 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3396, allocations: 0 / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3396, allocations: 34.56 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.3397, allocations: 4 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005257/0.3402, allocations: 165.4 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3402, allocations: 59.34 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3403, allocations: 117.8 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3404, allocations: 29.7 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.3404, allocations: 115.7 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3405, allocations: 39.67 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.3406, allocations: 41.61 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3407, allocations: 322.8 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3408, allocations: 35.97 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.341, allocations: 81.11 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3413, allocations: 129 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3413, allocations: 0 / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000373/0.3417, allocations: 165.3 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3417, allocations: 7.984 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3417, allocations: 4 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3417, allocations: 0 / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.3419, allocations: 52.12 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004214/0.3424, allocations: 0.586 MB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3425, allocations: 11.89 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3425, allocations: 15.98 kB / 0.5693 GB, free: 12.28 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.0001137/0.3426, allocations: 117.8 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3427, allocations: 4 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.3431, allocations: 178.9 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3431, allocations: 3.984 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3431, allocations: 0 / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3431, allocations: 3.938 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3434, allocations: 141.3 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3434, allocations: 0 / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.3436, allocations: 47.97 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3436, allocations: 4 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3436, allocations: 4 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/0.344, allocations: 0.5898 MB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.344, allocations: 3.938 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.3445, allocations: 302.5 kB / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3446, allocations: 15.95 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3446, allocations: 8.094 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3447, allocations: 11.98 kB / 0.5707 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.3448, allocations: 11.98 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3448, allocations: 4 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.3448, allocations: 99.14 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3448, allocations: 0 / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.3452, allocations: 79.67 kB / 0.5709 GB, free: 10.59 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.0003767/0.3456, allocations: 176.5 kB / 0.571 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.346, allocations: 115.9 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.346, allocations: 320 / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.3462, allocations: 71.89 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3466, allocations: 11.19 kB / 0.5712 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.3474, allocations: 338.1 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.757e-05/0.3475, allocations: 97.05 kB / 0.5716 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.3475, allocations: 19.44 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3475, allocations: 3.938 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of Templates: time 0.005948/0.3535, allocations: 2.639 MB / 0.5742 GB, free: 7.082 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 -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: 8.120918592903763]