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.001318/0.001318, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001379/0.001379, allocations: 164.7 kB / 23.95 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.406/1.406, allocations: 177.1 MB / 204.3 MB, free: 9.203 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.1964/0.1964, allocations: 32.81 MB / 293.5 MB, free: 60 kB / 270.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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.366e-05, allocations: 2.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00288/0.002904, allocations: 1.79 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.004986, allocations: 1.27 MB / 443.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.00504, allocations: 11.94 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.00523, allocations: 35.77 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.005393, allocations: 55.56 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.005955, allocations: 254.9 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.006101, allocations: 111.3 kB / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.006142, allocations: 5.312 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.006346, allocations: 71.73 kB / 443.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.006424, allocations: 35.84 kB / 443.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.006442, allocations: 4 kB / 443.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.006954, allocations: 315.3 kB / 444.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.00698, allocations: 19.92 kB / 444.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.007021, allocations: 27.88 kB / 444.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.007538, allocations: 338.9 kB / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.007541, allocations: 0 / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007542, allocations: 4 kB / 444.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.007551, allocations: 0 / 444.4 MB, free: 3.801 MB / 366.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.0006394/0.00819, allocations: 377.4 kB / 444.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.008227, allocations: 8.031 kB / 444.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.008269, allocations: 12.84 kB / 444.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.008398, allocations: 121.7 kB / 445 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.008412, allocations: 8.375 kB / 445 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.008449, allocations: 16.38 kB / 445 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.00876, allocations: 138.2 kB / 445.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.008773, allocations: 3.938 kB / 445.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.008788, allocations: 8 kB / 445.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.008798, allocations: 7.984 kB / 445.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.009116, allocations: 135.9 kB / 445.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.009973, allocations: 411.2 kB / 445.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.01025, allocations: 98.58 kB / 445.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.01039, allocations: 48.83 kB / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.01041, allocations: 0 / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.01044, allocations: 34.56 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.01044, allocations: 0 / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000559/0.011, allocations: 177.3 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.01105, allocations: 55.41 kB / 446.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.01117, allocations: 109.8 kB / 446.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.0112, allocations: 29.7 kB / 446.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01131, allocations: 115.9 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.01135, allocations: 43.61 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.01142, allocations: 33.7 kB / 446.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01159, allocations: 314.8 kB / 446.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.01174, allocations: 43.95 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.0119, allocations: 77.12 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.0122, allocations: 132.9 kB / 447 MB, free: 1.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.0122, allocations: 0 / 447 MB, free: 1.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003653/0.01257, allocations: 157.5 kB / 447.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.01259, allocations: 11.94 kB / 447.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01259, allocations: 0 / 447.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01261, allocations: 4 kB / 447.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.01284, allocations: 43.97 kB / 447.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/0.01324, allocations: 0.586 MB / 447.8 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.01336, allocations: 28.16 kB / 447.8 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01338, allocations: 4 kB / 447.8 MB, free: 228 kB / 366.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.0001253/0.0135, allocations: 122.4 kB / 447.9 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.01354, allocations: 7.953 kB / 447.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1911/0.2046, allocations: 169.3 kB / 448.1 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2046, allocations: 1.125 kB / 448.1 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2046, allocations: 1.156 kB / 448.1 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2046, allocations: 0.75 kB / 448.1 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2049, allocations: 153.4 kB / 448.2 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2049, allocations: 5.5 kB / 448.2 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2051, allocations: 40.44 kB / 448.3 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2051, allocations: 0 / 448.3 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2051, allocations: 6.484 kB / 448.3 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001843/0.2053, allocations: 0.5865 MB / 448.9 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2053, allocations: 1.312 kB / 448.9 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.2057, allocations: 305.2 kB / 449.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.2058, allocations: 19.22 kB / 449.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2058, allocations: 2.062 kB / 449.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2059, allocations: 5.734 kB / 449.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.206, allocations: 15.08 kB / 449.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.206, allocations: 4.531 kB / 449.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.206, allocations: 90.73 kB / 449.3 MB, free: 20.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.206, allocations: 1.125 kB / 449.3 MB, free: 20.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.2064, allocations: 79.2 kB / 449.4 MB, free: 20.72 MB / 366.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.0003326/0.2067, allocations: 184.2 kB / 449.6 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.2072, allocations: 126.1 kB / 449.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2072, allocations: 3.375 kB / 449.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.2074, allocations: 73.67 kB / 449.8 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2077, allocations: 11.64 kB / 449.8 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.2083, allocations: 289.4 kB / 450 MB, free: 20.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.049e-05/0.2083, allocations: 89.33 kB / 450.1 MB, free: 20.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.2084, allocations: 20.73 kB / 450.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.2084, allocations: 17.81 kB / 450.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2084, allocations: 0 / 450.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of Templates: time 0.006376/0.2148, allocations: 2.373 MB / 452.5 MB, free: 20.18 MB / 366.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 -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/jenkins/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/jenkins/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: 4.827522490173578]