Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.0008187/0.0008187, 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.003115/0.003115, allocations: 161.2 kB / 24.7 MB, free: 9.43 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.8322/0.8322, allocations: 177.1 MB / 205 MB, free: 5.73 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.2147/0.2147, allocations: 34.25 MB / 295.7 MB, free: 0.6875 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.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.493e-05, allocations: 2.281 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.1541/0.1541, allocations: 1.799 MB / 445.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.1547, allocations: 0.5742 MB / 445.8 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1548, allocations: 0 / 445.8 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.155, allocations: 54.7 kB / 445.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1551, allocations: 81.56 kB / 446 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1553, allocations: 123.7 kB / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1555, allocations: 242.3 kB / 446.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.1555, allocations: 10.44 kB / 446.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.1556, allocations: 111.8 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.1557, allocations: 98.64 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1557, allocations: 5.375 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.1559, allocations: 169 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1559, allocations: 54.69 kB / 446.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.1559, allocations: 63.28 kB / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1562, allocations: 331.4 kB / 447.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1562, allocations: 0 / 447.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1562, allocations: 0 / 447.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1562, allocations: 0 / 447.2 MB, free: 43.06 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0003884/0.1566, allocations: 475 kB / 447.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1566, allocations: 11.62 kB / 447.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.1574, allocations: 201.4 kB / 447.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1576, allocations: 213.1 kB / 448 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1576, allocations: 16.17 kB / 448.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.1577, allocations: 25.42 kB / 448.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.1581, allocations: 0.4955 MB / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.1582, allocations: 4.719 kB / 448.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.1582, allocations: 14.95 kB / 448.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1582, allocations: 37.06 kB / 448.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.1588, allocations: 0.5843 MB / 449.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.1597, allocations: 0.8395 MB / 450.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1601, allocations: 160.7 kB / 450.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1602, allocations: 84.53 kB / 450.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.1602, allocations: 3.938 kB / 450.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.1603, allocations: 37.53 kB / 450.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1603, allocations: 0 / 450.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005982/0.1609, allocations: 295.6 kB / 450.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.1609, allocations: 51.41 kB / 450.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.1609, allocations: 150.8 kB / 450.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1609, allocations: 25.7 kB / 450.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.161, allocations: 189.6 kB / 451 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.161, allocations: 25.72 kB / 451.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1611, allocations: 38.12 kB / 451.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.565e-05/0.1611, allocations: 320.9 kB / 451.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1613, allocations: 83.02 kB / 451.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1614, allocations: 125.2 kB / 451.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.1618, allocations: 207.9 kB / 451.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1618, allocations: 0 / 451.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003991/0.1622, allocations: 255.5 kB / 452.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1622, allocations: 10.91 kB / 452.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1622, allocations: 2.844 kB / 452.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1622, allocations: 0 / 452.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.1645, allocations: 469.3 kB / 452.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009763/0.1654, allocations: 1.939 MB / 454.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1656, allocations: 29.12 kB / 454.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1656, allocations: 6.469 kB / 454.5 MB, free: 38.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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 8.094e-05/0.1657, allocations: 165.9 kB / 454.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1657, allocations: 10.42 kB / 454.7 MB, free: 38.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.1657, allocations: 19.19 kB / 454.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1657, allocations: 2.656 kB / 454.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1657, allocations: 0 / 454.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1657, allocations: 0 / 454.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1659, allocations: 202.6 kB / 454.9 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1659, allocations: 1.406 kB / 454.9 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/0.1681, allocations: 460 kB / 455.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1681, allocations: 3.938 kB / 455.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1681, allocations: 10.06 kB / 455.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009195/0.169, allocations: 1.948 MB / 457.3 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.169, allocations: 0 / 457.3 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.1694, allocations: 308.1 kB / 457.6 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.1694, allocations: 17.72 kB / 457.6 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1694, allocations: 2.562 kB / 457.6 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1695, allocations: 18.59 kB / 457.6 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1696, allocations: 8.953 kB / 457.7 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1696, allocations: 5.75 kB / 457.7 MB, free: 36.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.1696, allocations: 109.2 kB / 457.8 MB, free: 36.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1696, allocations: 0 / 457.8 MB, free: 36.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.1698, allocations: 82.69 kB / 457.9 MB, free: 36.48 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 (7): * Single equations (assignments): 4 * 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.0001267/0.1699, allocations: 122.4 kB / 458 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.1723, allocations: 0.5838 MB / 458.6 MB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1723, allocations: 0 / 458.6 MB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.1744, allocations: 0.49 MB / 459 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1746, allocations: 19.52 kB / 459.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.1752, allocations: 483 kB / 459.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.1752, allocations: 168.8 kB / 459.7 MB, free: 35.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.1753, allocations: 17.56 kB / 459.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1753, allocations: 0 / 459.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of Templates: time 0.003958/0.1792, allocations: 6.08 MB / 465.8 MB, free: 35.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.266858603805304]