Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.0009789/0.0009789, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.002071/0.002071, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9336/0.9336, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1395/0.1395, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/2.991e-05, allocations: 6.25 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002969/0.002999, allocations: 1.733 MB / 300.8 MB, free: 432 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1646/0.1676, allocations: 0.8258 MB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1677, allocations: 2.031 kB / 301.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.168, allocations: 37.3 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1682, allocations: 62.42 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1686, allocations: 98.17 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1688, allocations: 161.7 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.1688, allocations: 6.062 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.169, allocations: 86.11 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1691, allocations: 62.55 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1691, allocations: 3.562 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.1694, allocations: 131.3 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.1695, allocations: 41.17 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.1695, allocations: 35 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1699, allocations: 212.5 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1699, allocations: 1.25 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1699, allocations: 0 / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1699, allocations: 0.7188 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004291/0.1703, allocations: 350 kB / 302.9 MB, free: 18.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1703, allocations: 9.5 kB / 302.9 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.1706, allocations: 98.06 kB / 303 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1708, allocations: 132.4 kB / 303.2 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1708, allocations: 13.08 kB / 303.2 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1708, allocations: 12.88 kB / 303.2 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.171, allocations: 147.2 kB / 303.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.171, allocations: 0.5312 kB / 303.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.171, allocations: 9.031 kB / 303.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.1711, allocations: 17.97 kB / 303.4 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.1712, allocations: 56.73 kB / 303.4 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.1717, allocations: 368.4 kB / 303.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.1717, allocations: 89.94 kB / 303.9 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.1718, allocations: 13.05 kB / 303.9 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.1718, allocations: 1.656 kB / 303.9 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.1718, allocations: 38.73 kB / 303.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1718, allocations: 0 / 303.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001384/0.1719, allocations: 61.77 kB / 304 MB, free: 18.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.1719, allocations: 54.91 kB / 304 MB, free: 18.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.172, allocations: 139.1 kB / 304.2 MB, free: 18.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.172, allocations: 30.41 kB / 304.2 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.1721, allocations: 142.3 kB / 304.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1721, allocations: 28.75 kB / 304.4 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1721, allocations: 34.17 kB / 304.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.1722, allocations: 328.7 kB / 304.7 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.1722, allocations: 16.73 kB / 304.7 MB, free: 17.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.1722, allocations: 59.14 kB / 304.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.1723, allocations: 96.19 kB / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1723, allocations: 0 / 304.9 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001198/0.1724, allocations: 95.22 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1725, allocations: 4.938 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1725, allocations: 3.438 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1725, allocations: 3.156 kB / 305 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.1729, allocations: 116 kB / 305.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004281/0.1733, allocations: 1.794 MB / 306.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.1734, allocations: 24.16 kB / 306.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1734, allocations: 5.844 kB / 306.9 MB, free: 15.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.1735, allocations: 115.7 kB / 307 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1735, allocations: 11.56 kB / 307 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1736, allocations: 96.53 kB / 307.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1737, allocations: 1.312 kB / 307.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1737, allocations: 1.281 kB / 307.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1737, allocations: 8.734 kB / 307.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1738, allocations: 108.3 kB / 307.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1738, allocations: 0.7031 kB / 307.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.1741, allocations: 101.5 kB / 307.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1741, allocations: 1 kB / 307.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1741, allocations: 5.297 kB / 307.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003117/0.1744, allocations: 1.779 MB / 309.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1744, allocations: 1.406 kB / 309.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1746, allocations: 217.4 kB / 309.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.1746, allocations: 7.828 kB / 309.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1746, allocations: 3.219 kB / 309.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.1746, allocations: 4.641 kB / 309.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1747, allocations: 12.64 kB / 309.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1747, allocations: 1.469 kB / 309.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.1747, allocations: 30.02 kB / 309.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1747, allocations: 1.344 kB / 309.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.175, allocations: 54.27 kB / 309.5 MB, free: 13.33 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.1752, allocations: 91.58 kB / 309.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1756, allocations: 170.2 kB / 309.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.1756, allocations: 1.188 kB / 309.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.1759, allocations: 101.6 kB / 309.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.1761, allocations: 21.12 kB / 309.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.1767, allocations: 331.4 kB / 310.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.1768, allocations: 83.03 kB / 310.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.241e-05/0.1769, allocations: 12.12 kB / 310.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.1769, allocations: 63.38 kB / 310.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1769, allocations: 0 / 310.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of Templates: time 0.005454/0.1824, allocations: 2.666 MB / 313 MB, free: 12.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.162156058009714]