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.0008973/0.0008973, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001039/0.001039, allocations: 166 kB / 24.82 MB, free: 9.266 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.9606/0.9606, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2572/0.2572, allocations: 32.82 MB / 294.6 MB, free: 1.246 MB / 266.7 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.[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_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.[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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.711e-05, allocations: 6.25 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001903/0.00192, allocations: 1.736 MB / 378.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003124, allocations: 0.8217 MB / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.003172, allocations: 4 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.003345, allocations: 31.83 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.003479, allocations: 59.59 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.003688, allocations: 99.58 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003822, allocations: 159.1 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.003856, allocations: 13.3 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.003998, allocations: 87.67 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.004093, allocations: 67.78 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.004107, allocations: 4 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.004278, allocations: 127.8 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.004337, allocations: 47.83 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.004376, allocations: 35.88 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.004629, allocations: 207.3 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004631, allocations: 4 kB / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004632, allocations: 0 / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004636, allocations: 0 / 380 MB, free: 0.8711 MB / 346.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.0004069/0.005043, allocations: 487.8 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.005077, allocations: 11.97 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.005339, allocations: 88.66 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.005466, allocations: 152.3 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.005479, allocations: 8.375 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.005494, allocations: 12.38 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.005686, allocations: 151.8 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.005694, allocations: 7.938 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.005705, allocations: 0 / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.005735, allocations: 23.98 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.005809, allocations: 71.44 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.006341, allocations: 469 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.771e-05/0.006409, allocations: 50.97 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.006433, allocations: 19.67 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.006447, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.006468, allocations: 45.39 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.006469, allocations: 4 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001621/0.006631, allocations: 73.61 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.006654, allocations: 51.41 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.006743, allocations: 209.3 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006753, allocations: 25.7 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.006828, allocations: 190.8 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.006844, allocations: 35.67 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.006887, allocations: 43.34 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.006995, allocations: 0.4923 MB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.007021, allocations: 11.98 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.007074, allocations: 85.48 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.007166, allocations: 113.3 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007168, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001383/0.007306, allocations: 125.7 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.007318, allocations: 4 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007323, allocations: 4 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007334, allocations: 0 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.007835, allocations: 83.91 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008514/0.008686, allocations: 2.715 MB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.008745, allocations: 19.89 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.008754, allocations: 4 kB / 385.8 MB, free: 10.68 MB / 362.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 0.0003423/0.009096, allocations: 160.8 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.009118, allocations: 11.95 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.009285, allocations: 114.3 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.009287, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.009289, allocations: 3.938 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.009292, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.00942, allocations: 149.1 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009421, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.009725, allocations: 79.91 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009727, allocations: 0 / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.009734, allocations: 0 / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006668/0.0104, allocations: 2.691 MB / 389 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.0104, allocations: 3.938 kB / 389 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.01053, allocations: 235.8 kB / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.01054, allocations: 7.953 kB / 389.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.01055, allocations: 4 kB / 389.3 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.0106, allocations: 4 kB / 389.3 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.01063, allocations: 7.922 kB / 389.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01064, allocations: 7.984 kB / 389.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.01068, allocations: 143.3 kB / 389.4 MB, free: 6.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 4 kB / 389.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.01088, allocations: 51.84 kB / 389.5 MB, free: 6.867 MB / 362.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.0001398/0.01102, allocations: 115.1 kB / 389.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.01147, allocations: 147.8 kB / 389.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01147, allocations: 0 / 389.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.0117, allocations: 75.55 kB / 389.8 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01192, allocations: 20.42 kB / 389.8 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.01266, allocations: 342.1 kB / 390.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.008e-05/0.01271, allocations: 91.2 kB / 390.3 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.01275, allocations: 16.34 kB / 390.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.01283, allocations: 90.19 kB / 390.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01283, allocations: 0 / 390.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of Templates: time 0.004607/0.01743, allocations: 2.765 MB / 393.1 MB, free: 3.238 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",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.175059682223946]