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.002016/0.002016, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.002094/0.002094, allocations: 163.8 kB / 23.95 MB, free: 4.168 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.453/1.453, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.2154/0.2154, allocations: 34.28 MB / 295 MB, free: 14.57 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 1.753e-06/1.753e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.395e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003467/0.003501, allocations: 1.798 MB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.005745, allocations: 1.274 MB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.005798, allocations: 0 / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.00601, allocations: 43.64 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.00623, allocations: 55.62 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.006811, allocations: 250 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.006974, allocations: 115.3 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.007017, allocations: 5.312 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.007245, allocations: 67.75 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.007332, allocations: 43.83 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.007354, allocations: 4 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.007922, allocations: 315.3 kB / 446.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.007952, allocations: 19.84 kB / 446.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.008007, allocations: 31.86 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.008568, allocations: 330.9 kB / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.008572, allocations: 0 / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008573, allocations: 0 / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.008579, allocations: 0 / 447 MB, free: 1.039 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.0006564/0.009235, allocations: 380 kB / 447.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.009272, allocations: 8.031 kB / 447.4 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.00932, allocations: 20.78 kB / 447.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.009444, allocations: 121.7 kB / 447.5 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.009461, allocations: 4.375 kB / 447.6 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.009499, allocations: 12.38 kB / 447.6 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.009828, allocations: 146.2 kB / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.009842, allocations: 3.938 kB / 447.7 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.009858, allocations: 4 kB / 447.7 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.009865, allocations: 8 kB / 447.7 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.01021, allocations: 147.8 kB / 447.9 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.19/0.2002, allocations: 397.5 kB / 448.3 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.2005, allocations: 87.08 kB / 448.3 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2006, allocations: 51.34 kB / 448.4 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.2007, allocations: 1.625 kB / 448.4 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2007, allocations: 34.55 kB / 448.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.2007, allocations: 1.312 kB / 448.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005492/0.2012, allocations: 164.5 kB / 448.6 MB, free: 19.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.2013, allocations: 53.94 kB / 448.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.2013, allocations: 124.7 kB / 448.8 MB, free: 19.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2014, allocations: 30.45 kB / 448.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.2014, allocations: 117.8 kB / 448.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.2014, allocations: 39.8 kB / 448.9 MB, free: 19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.2015, allocations: 31.2 kB / 449 MB, free: 18.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.2016, allocations: 318.3 kB / 449.3 MB, free: 18.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2017, allocations: 40.3 kB / 449.3 MB, free: 18.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2019, allocations: 80.27 kB / 449.4 MB, free: 18.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.2021, allocations: 135 kB / 449.5 MB, free: 18.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2021, allocations: 0 / 449.5 MB, free: 18.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003459/0.2025, allocations: 159.7 kB / 449.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2025, allocations: 6.391 kB / 449.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2025, allocations: 2.25 kB / 449.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.2025, allocations: 2.312 kB / 449.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2028, allocations: 47.31 kB / 449.7 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002388/0.203, allocations: 0.5902 MB / 450.3 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2031, allocations: 20.12 kB / 450.4 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2031, allocations: 10.25 kB / 450.4 MB, free: 17.85 MB / 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 7.437e-05/0.2032, allocations: 122.8 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.2032, allocations: 11.61 kB / 450.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.2037, allocations: 167 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2037, allocations: 5.625 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2037, allocations: 0 / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2037, allocations: 1.875 kB / 450.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2039, allocations: 153.8 kB / 450.8 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2039, allocations: 1 kB / 450.8 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2041, allocations: 41.41 kB / 450.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2041, allocations: 6.609 kB / 450.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2041, allocations: 8.703 kB / 450.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001716/0.2043, allocations: 0.5874 MB / 451.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2043, allocations: 1.094 kB / 451.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.2047, allocations: 291.6 kB / 451.7 MB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.2048, allocations: 18.77 kB / 451.8 MB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2048, allocations: 6.078 kB / 451.8 MB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2049, allocations: 6.766 kB / 451.8 MB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.205, allocations: 13.81 kB / 451.8 MB, free: 16.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.205, allocations: 3.391 kB / 451.8 MB, free: 16.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.205, allocations: 90.22 kB / 451.9 MB, free: 16.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.205, allocations: 0 / 451.9 MB, free: 16.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.2054, allocations: 89.88 kB / 452 MB, free: 16.61 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.0003445/0.2057, allocations: 181.2 kB / 452.2 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.2061, allocations: 120 kB / 452.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2061, allocations: 0 / 452.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.2063, allocations: 68.62 kB / 452.3 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2066, allocations: 19.16 kB / 452.4 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.2073, allocations: 292.6 kB / 452.6 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.2074, allocations: 89.64 kB / 452.7 MB, free: 16.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.444e-05/0.2074, allocations: 24.16 kB / 452.8 MB, free: 16.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.2075, allocations: 17.41 kB / 452.8 MB, free: 16.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2075, allocations: 0 / 452.8 MB, free: 16.17 MB / 366.1 MB Notification: Performance of Templates: time 0.007045/0.2145, allocations: 2.36 MB / 455.1 MB, free: 15.95 MB / 366.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/jenkins/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/jenkins/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.079080626368523]