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_nominalPressureLossLawDensity_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.0009788/0.0009788, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009451/0.0009451, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9427/0.9427, allocations: 177.1 MB / 205 MB, free: 5.59 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.2353/0.2353, allocations: 34.26 MB / 295.7 MB, free: 0.6758 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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.[0-9,]+.|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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.[0-9,]+.|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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.16e-05, allocations: 2.312 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002958/0.00298, allocations: 1.989 MB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.004664, allocations: 1.122 MB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.004763, allocations: 0 / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.005111, allocations: 59.61 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.005335, allocations: 79.45 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.005795, allocations: 163.2 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.006074, allocations: 278.2 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.006122, allocations: 8.938 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.006371, allocations: 139.4 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.006504, allocations: 115.6 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.006522, allocations: 4 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.006831, allocations: 207.6 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.006913, allocations: 59.66 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.006991, allocations: 75.72 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.007451, allocations: 398.5 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007455, allocations: 0 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007456, allocations: 0 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.007463, allocations: 4 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006526/0.008116, allocations: 0.6056 MB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.008153, allocations: 8.031 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.008237, allocations: 60.75 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.008426, allocations: 176.2 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.008447, allocations: 25.38 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.008472, allocations: 28.38 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.008858, allocations: 359.9 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008868, allocations: 4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.008887, allocations: 8 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.008932, allocations: 36.98 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.009122, allocations: 181.9 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.01018, allocations: 0.9744 MB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.01027, allocations: 58.98 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.0103, allocations: 23.67 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.01033, allocations: 4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01035, allocations: 33.39 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.01035, allocations: 0 / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002009/0.01055, allocations: 97.58 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.01058, allocations: 55.41 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.01069, allocations: 240.5 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.0107, allocations: 29.7 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.0108, allocations: 278.8 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.01082, allocations: 27.8 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.01088, allocations: 63.31 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.01098, allocations: 0.5 MB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.01102, allocations: 19.98 kB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01112, allocations: 194 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01129, allocations: 241.8 kB / 387 MB, free: 9.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01129, allocations: 0 / 387 MB, free: 9.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000205/0.0115, allocations: 201.5 kB / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01151, allocations: 8 kB / 387.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01152, allocations: 4 kB / 387.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01154, allocations: 4 kB / 387.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.01176, allocations: 83.91 kB / 387.3 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008198/0.01258, allocations: 2.711 MB / 390 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.01266, allocations: 31.78 kB / 390.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.01268, allocations: 15.94 kB / 390.1 MB, free: 6.086 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001154/0.01279, allocations: 174.9 kB / 390.3 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.01282, allocations: 15.94 kB / 390.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.01303, allocations: 158.1 kB / 390.4 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01303, allocations: 0 / 390.4 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01304, allocations: 4 kB / 390.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01304, allocations: 0 / 390.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01322, allocations: 232.5 kB / 390.7 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01322, allocations: 0 / 390.7 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01333, allocations: 63.97 kB / 390.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01333, allocations: 0 / 390.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01334, allocations: 4 kB / 390.7 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006708/0.01401, allocations: 2.684 MB / 393.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01401, allocations: 4 kB / 393.4 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.01415, allocations: 235.8 kB / 393.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01416, allocations: 20.09 kB / 393.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.01418, allocations: 0 / 393.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.01421, allocations: 4 kB / 393.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.01425, allocations: 15.97 kB / 393.7 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01426, allocations: 7.938 kB / 393.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.01432, allocations: 157.5 kB / 393.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01432, allocations: 0 / 393.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.0146, allocations: 99.61 kB / 393.9 MB, free: 2.078 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 (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.0002061/0.0148, allocations: 143.1 kB / 394.1 MB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.01505, allocations: 149.8 kB / 394.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01505, allocations: 0 / 394.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01516, allocations: 75.75 kB / 394.3 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.01535, allocations: 20.14 kB / 394.3 MB, free: 1.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.0161, allocations: 462.3 kB / 394.8 MB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.097e-05/0.01616, allocations: 111.8 kB / 394.9 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.869e-05/0.01626, allocations: 57.27 kB / 394.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.01629, allocations: 20.44 kB / 395 MB, free: 1 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01629, allocations: 0 / 395 MB, free: 1 MB / 362.7 MB Notification: Performance of Templates: time 0.005447/0.02174, allocations: 3.62 MB / 398.6 MB, free: 13.44 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_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.1715810419991612]