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_volumeFlowRate_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.000941/0.000941, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001082/0.001082, allocations: 167.9 kB / 24.82 MB, free: 9.27 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2307/0.2307, allocations: 32.81 MB / 294.6 MB, free: 1.254 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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[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_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.944e-05, allocations: 6.25 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002016/0.002035, allocations: 1.724 MB / 378.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.003071, allocations: 0.8606 MB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.003125, allocations: 4 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.003308, allocations: 39.72 kB / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.003461, allocations: 51.67 kB / 379.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.00377, allocations: 135.4 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.003922, allocations: 151.2 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.003961, allocations: 5.641 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.004042, allocations: 67.8 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.004136, allocations: 63.8 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004155, allocations: 8 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.004384, allocations: 163.7 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.004439, allocations: 43.83 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.004476, allocations: 35.86 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.004737, allocations: 235.1 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00474, allocations: 3.984 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004741, allocations: 0 / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004745, allocations: 4 kB / 380.1 MB, free: 0.7852 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004227/0.005167, allocations: 499.7 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.005202, allocations: 8.031 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/0.005704, allocations: 112.6 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.005877, allocations: 164.4 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.005892, allocations: 12.38 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.005912, allocations: 12.38 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.006257, allocations: 206.6 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006266, allocations: 192 / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.006287, allocations: 8.375 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.006325, allocations: 23.92 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.006492, allocations: 103.9 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.00733, allocations: 0.5207 MB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.007576, allocations: 94.92 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.007635, allocations: 35.7 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.007661, allocations: 6.875 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.007683, allocations: 37.39 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.007685, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003268/0.008011, allocations: 133.6 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.008042, allocations: 51.41 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.008147, allocations: 209.2 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.008165, allocations: 25.7 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.008247, allocations: 194.8 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.008278, allocations: 39.69 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.008354, allocations: 59.31 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.008478, allocations: 0.4961 MB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.008545, allocations: 31.91 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.008646, allocations: 97.45 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.008826, allocations: 137.3 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008829, allocations: 0 / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002699/0.009098, allocations: 161.7 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.009112, allocations: 8 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009117, allocations: 0 / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009131, allocations: 4 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.009396, allocations: 79.88 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008893/0.01029, allocations: 2.692 MB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.0104, allocations: 23.83 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.01042, allocations: 7.984 kB / 386.3 MB, free: 10.19 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 (17): * Single equations (assignments): 14 * 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 9.599e-05/0.01052, allocations: 172.4 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.01057, allocations: 23.92 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.01086, allocations: 154.4 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01086, allocations: 0 / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01086, allocations: 0 / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01086, allocations: 3.938 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.01106, allocations: 153.1 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01106, allocations: 0 / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.01126, allocations: 63.94 kB / 386.9 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01127, allocations: 4 kB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.01128, allocations: 11.97 kB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008312/0.01212, allocations: 2.684 MB / 389.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01212, allocations: 0 / 389.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.01238, allocations: 271.9 kB / 389.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.01239, allocations: 11.89 kB / 389.9 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01241, allocations: 0 / 389.9 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01252, allocations: 11.98 kB / 389.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.01257, allocations: 11.97 kB / 389.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.01259, allocations: 7.984 kB / 389.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.01264, allocations: 143.1 kB / 390 MB, free: 6.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01264, allocations: 0 / 390 MB, free: 6.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003177/0.01295, allocations: 67.77 kB / 390.1 MB, free: 6.262 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 (10): * Single equations (assignments): 7 * 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.0001821/0.01314, allocations: 131.1 kB / 390.2 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.01344, allocations: 131.9 kB / 390.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01344, allocations: 4 kB / 390.4 MB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01361, allocations: 91.48 kB / 390.4 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01385, allocations: 15.98 kB / 390.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.01452, allocations: 327.3 kB / 390.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.01458, allocations: 87.31 kB / 390.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.01469, allocations: 32.98 kB / 390.9 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.0148, allocations: 90.17 kB / 391 MB, free: 5.312 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0148, allocations: 0 / 391 MB, free: 5.312 MB / 362.7 MB Notification: Performance of Templates: time 0.005256/0.02006, allocations: 2.978 MB / 394 MB, free: 2.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_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.1843550601042807]