Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.0009216/0.0009216, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00399/0.00399, allocations: 160.9 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8813/0.8813, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2432/0.2432, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.64e-05, allocations: 7.766 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.1731/0.1731, allocations: 1.784 MB / 445.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.174, allocations: 0.7694 MB / 446 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.174, allocations: 0 / 446 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1742, allocations: 41.27 kB / 446.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1745, allocations: 74.56 kB / 446.1 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.1746, allocations: 72.98 kB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1747, allocations: 140.9 kB / 446.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1748, allocations: 2.906 kB / 446.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.175, allocations: 90.59 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1751, allocations: 87.55 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1751, allocations: 6.062 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.1752, allocations: 50.58 kB / 446.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.1752, allocations: 33.03 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.1753, allocations: 32.22 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1754, allocations: 137.7 kB / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1754, allocations: 0 / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1755, allocations: 0 / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1755, allocations: 0 / 446.8 MB, free: 43.18 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006666/0.1761, allocations: 341.4 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1762, allocations: 12.53 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.1764, allocations: 35.62 kB / 447.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1765, allocations: 131.5 kB / 447.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1765, allocations: 14.05 kB / 447.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1766, allocations: 10.38 kB / 447.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1768, allocations: 170 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1768, allocations: 10.84 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1768, allocations: 7.406 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.1768, allocations: 11.84 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.177, allocations: 136.6 kB / 447.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.1775, allocations: 0.5186 MB / 448.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1777, allocations: 101.9 kB / 448.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1777, allocations: 39.17 kB / 448.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1778, allocations: 0 / 448.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.1778, allocations: 40.72 kB / 448.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1778, allocations: 0 / 448.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002613/0.178, allocations: 137.4 kB / 448.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.1781, allocations: 57.31 kB / 448.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.1781, allocations: 132.8 kB / 448.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.1781, allocations: 33.64 kB / 448.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1782, allocations: 116.9 kB / 448.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.1782, allocations: 28.75 kB / 448.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1782, allocations: 26.47 kB / 448.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.889e-05/0.1782, allocations: 321.1 kB / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.1783, allocations: 39.72 kB / 449.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.1784, allocations: 89.36 kB / 449.3 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1785, allocations: 146.1 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1785, allocations: 2.938 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001649/0.1787, allocations: 158.1 kB / 449.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1787, allocations: 9.844 kB / 449.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1787, allocations: 7.062 kB / 449.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1787, allocations: 6.938 kB / 449.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.1788, allocations: 41.94 kB / 449.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1788, allocations: 2.625 kB / 449.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.1788, allocations: 23.02 kB / 449.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1789, allocations: 5.812 kB / 449.7 MB, free: 41.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.1789, allocations: 129.8 kB / 449.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.1789, allocations: 10.67 kB / 449.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.1791, allocations: 128.2 kB / 450 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1791, allocations: 0 / 450 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1791, allocations: 0 / 450 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1791, allocations: 0 / 450 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.1792, allocations: 135.8 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1792, allocations: 1.406 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.1793, allocations: 34.22 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1793, allocations: 0 / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1793, allocations: 7.938 kB / 450.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1793, allocations: 2.906 kB / 450.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1793, allocations: 3.938 kB / 450.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1794, allocations: 204.8 kB / 450.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.1794, allocations: 9.891 kB / 450.3 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1794, allocations: 3.938 kB / 450.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.1795, allocations: 5.906 kB / 450.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1795, allocations: 7.328 kB / 450.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1795, allocations: 10.09 kB / 450.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.473e-05/0.1795, allocations: 97.55 kB / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1795, allocations: 0 / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.1797, allocations: 28.05 kB / 450.5 MB, free: 40.59 MB / 410.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.1799, allocations: 101.6 kB / 450.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1801, allocations: 104.2 kB / 450.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1801, allocations: 0 / 450.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.1801, allocations: 47.56 kB / 450.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1803, allocations: 8.297 kB / 450.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.1807, allocations: 254.1 kB / 451 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.327e-05/0.1807, allocations: 101 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.1808, allocations: 18.34 kB / 451.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1808, allocations: 3.938 kB / 451.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of Templates: time 0.002124/0.1829, allocations: 1.362 MB / 452.5 MB, free: 40.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.935143698938191]