Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001513/0.001513, allocations: 85.41 kB / 20.68 MB, free: 1.023 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.001622/0.001622, allocations: 163.6 kB / 23.96 MB, free: 4.148 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.399/1.399, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,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_4.0.0_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.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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.167e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002836/0.002857, allocations: 1.678 MB / 441.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004224, allocations: 0.7789 MB / 442.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.004265, allocations: 0 / 442.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.00448, allocations: 39.77 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.004653, allocations: 59.61 kB / 442.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.004971, allocations: 103.6 kB / 442.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.005178, allocations: 159.1 kB / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.005215, allocations: 5.312 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.005425, allocations: 91.66 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.005553, allocations: 63.8 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.005574, allocations: 4 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.00583, allocations: 131.8 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.005908, allocations: 47.83 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.005972, allocations: 39.86 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.006305, allocations: 207.3 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006307, allocations: 0 / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006308, allocations: 0 / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.006312, allocations: 0 / 443.5 MB, free: 4.73 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006029/0.006915, allocations: 381.5 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.006955, allocations: 20.02 kB / 443.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.007377, allocations: 52.75 kB / 444 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.007597, allocations: 165.5 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.007617, allocations: 16.36 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.007645, allocations: 16.31 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.008099, allocations: 235.1 kB / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.008111, allocations: 7.938 kB / 444.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.008131, allocations: 7.938 kB / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.008167, allocations: 23.77 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.00863, allocations: 227.8 kB / 444.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.009646, allocations: 489.2 kB / 445.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.009878, allocations: 90.44 kB / 445.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.01001, allocations: 40.81 kB / 445.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01003, allocations: 4 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.01006, allocations: 38.56 kB / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.01006, allocations: 0 / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005337/0.0106, allocations: 169.5 kB / 445.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.01065, allocations: 59.34 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.01078, allocations: 145.3 kB / 445.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.0108, allocations: 25.7 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.01089, allocations: 144.1 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.01092, allocations: 23.95 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.01099, allocations: 41.64 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01114, allocations: 326.8 kB / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.01128, allocations: 47.94 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.01146, allocations: 102.8 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.0118, allocations: 154.7 kB / 446.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.01181, allocations: 4 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004055/0.01221, allocations: 181.4 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01223, allocations: 7.031 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.01223, allocations: 8 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01225, allocations: 0 / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.01313, allocations: 95.83 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1835/0.1966, allocations: 1.801 MB / 448.6 MB, free: 20.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1968, allocations: 19.56 kB / 448.6 MB, free: 20.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1968, allocations: 7.984 kB / 448.6 MB, free: 20.51 MB / 366.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.0001293/0.197, allocations: 143.8 kB / 448.8 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.197, allocations: 6.297 kB / 448.8 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.1975, allocations: 182.7 kB / 448.9 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1975, allocations: 1.219 kB / 448.9 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1975, allocations: 0 / 448.9 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1975, allocations: 1.922 kB / 448.9 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1977, allocations: 167.2 kB / 449.1 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1977, allocations: 1.344 kB / 449.1 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007735/0.1985, allocations: 82.11 kB / 449.2 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1985, allocations: 3.844 kB / 449.2 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1985, allocations: 6.719 kB / 449.2 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007652/0.1993, allocations: 1.767 MB / 451 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1993, allocations: 3.688 kB / 451 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1997, allocations: 248.3 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.1997, allocations: 8.781 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1998, allocations: 1.688 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1999, allocations: 8.438 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2, allocations: 10.03 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2, allocations: 5.047 kB / 451.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.2001, allocations: 109.8 kB / 451.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2001, allocations: 2.562 kB / 451.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.2004, allocations: 48.33 kB / 451.4 MB, free: 18.28 MB / 366.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.000246/0.2007, allocations: 109.3 kB / 451.5 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.202, allocations: 202.4 kB / 451.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.202, allocations: 0 / 451.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006788/0.2026, allocations: 104 kB / 451.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.203, allocations: 24.69 kB / 451.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.2036, allocations: 321.5 kB / 452.1 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2037, allocations: 134.5 kB / 452.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.2038, allocations: 41.06 kB / 452.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.2039, allocations: 16.47 kB / 452.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2039, allocations: 0 / 452.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.006402/0.2103, allocations: 2.575 MB / 454.9 MB, free: 17.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.7291093692183495]