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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_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=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 100.4 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 191.8 kB / 16.9 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3759/0.3759, allocations: 43.5 MB / 313.6 MB, free: 8.289 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 67.91 kB / 382.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1755, allocations: 57.78 MB / 440 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003354/0.1789, allocations: 1.742 MB / 441.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1803, allocations: 0.8229 MB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1804, allocations: 7.938 kB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1807, allocations: 31.83 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1809, allocations: 51.73 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1812, allocations: 87.7 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1815, allocations: 151.2 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.1815, allocations: 17.11 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1817, allocations: 63.77 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1819, allocations: 83.61 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1819, allocations: 4 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.1822, allocations: 155.8 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1824, allocations: 35.89 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1825, allocations: 63.55 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.183, allocations: 207.6 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.183, allocations: 0 / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.183, allocations: 3.938 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.183, allocations: 0 / 443.5 MB, free: 10.93 MB / 382.1 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.0009305/0.184, allocations: 467 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.184, allocations: 15.89 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.1846, allocations: 64.67 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1849, allocations: 216.1 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1849, allocations: 8.375 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.185, allocations: 16.12 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.1854, allocations: 233.5 kB / 444.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1855, allocations: 4 kB / 444.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1855, allocations: 7.938 kB / 444.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.1855, allocations: 23.77 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.186, allocations: 223.8 kB / 444.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1873, allocations: 0.7247 MB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1876, allocations: 94.5 kB / 445.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1878, allocations: 40.83 kB / 445.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.1878, allocations: 3.984 kB / 445.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.1879, allocations: 46.48 kB / 445.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1879, allocations: 0 / 445.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006055/0.1885, allocations: 165.4 kB / 445.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1885, allocations: 51.41 kB / 445.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1888, allocations: 191.2 kB / 446.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1888, allocations: 25.7 kB / 446.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1889, allocations: 143.7 kB / 446.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.189, allocations: 23.66 kB / 446.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.189, allocations: 33.7 kB / 446.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1892, allocations: 326.8 kB / 446.6 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1894, allocations: 43.95 kB / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1896, allocations: 102.8 kB / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1899, allocations: 162.7 kB / 446.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1899, allocations: 4 kB / 446.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004369/0.1903, allocations: 177.3 kB / 447.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1904, allocations: 7.938 kB / 447.1 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1904, allocations: 4 kB / 447.1 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1904, allocations: 4.219 kB / 447.1 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.1916, allocations: 123.9 kB / 447.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1933, allocations: 1.824 MB / 449.1 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1935, allocations: 19.88 kB / 449.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1935, allocations: 11.98 kB / 449.1 MB, free: 4.984 MB / 382.1 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 0.0001761/0.1937, allocations: 138 kB / 449.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.1937, allocations: 19.69 kB / 449.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.1943, allocations: 178.9 kB / 449.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1943, allocations: 0 / 449.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1943, allocations: 0 / 449.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1943, allocations: 0 / 449.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.1946, allocations: 233.5 kB / 449.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1946, allocations: 4 kB / 449.7 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.1953, allocations: 111.9 kB / 449.8 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1954, allocations: 0 / 449.8 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.1954, allocations: 4 kB / 449.8 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.1968, allocations: 1.778 MB / 451.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1968, allocations: 0 / 451.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.1973, allocations: 251.3 kB / 451.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.1974, allocations: 93 kB / 451.9 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1974, allocations: 0 / 451.9 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1975, allocations: 11.98 kB / 451.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.1976, allocations: 7.938 kB / 451.9 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1976, allocations: 4 kB / 451.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1978, allocations: 148.8 kB / 452.1 MB, free: 1.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1978, allocations: 0 / 452.1 MB, free: 1.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.1981, allocations: 43.91 kB / 452.1 MB, free: 1.816 MB / 382.1 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.0002469/0.1984, allocations: 111 kB / 452.2 MB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.1997, allocations: 248.4 kB / 452.5 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1997, allocations: 0 / 452.5 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.2003, allocations: 119.8 kB / 452.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.2008, allocations: 56.36 kB / 452.6 MB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.2017, allocations: 396.8 kB / 453 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.2024, allocations: 0.7473 MB / 453.8 MB, free: 100 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.2025, allocations: 41.33 kB / 453.8 MB, free: 60 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.2026, allocations: 15.44 kB / 453.8 MB, free: 44 kB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2026, allocations: 0 / 453.8 MB, free: 44 kB / 382.1 MB Notification: Performance of Templates: time 0.2425/0.4451, allocations: 3.001 MB / 456.8 MB, free: 48.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches