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_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.001086/0.001086, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001034/0.001034, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 158.6 MB / 186 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1529/0.1529, allocations: 32.38 MB / 270.7 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.694e-05, allocations: 6.25 kB / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003068/0.003095, allocations: 1.98 MB / 349.7 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.004801, allocations: 1.118 MB / 350.8 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004928, allocations: 0 / 350.8 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.005278, allocations: 63.55 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.005521, allocations: 87.39 kB / 351 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.00609, allocations: 167.2 kB / 351.1 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.006401, allocations: 274.2 kB / 351.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.273e-05/0.006464, allocations: 20.91 kB / 351.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.006695, allocations: 135.5 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.00685, allocations: 95.59 kB / 351.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.006876, allocations: 8 kB / 351.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.007267, allocations: 219.5 kB / 351.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.007372, allocations: 47.72 kB / 351.9 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.00746, allocations: 79.66 kB / 352 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.007979, allocations: 394.5 kB / 352.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.007983, allocations: 0 / 352.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.007984, allocations: 4 kB / 352.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.007992, allocations: 0 / 352.4 MB, free: 5.059 MB / 282.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.000674/0.008666, allocations: 0.6056 MB / 353 MB, free: 4.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.008712, allocations: 8.031 kB / 353 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.008815, allocations: 56.75 kB / 353 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.009055, allocations: 180.2 kB / 353.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.009084, allocations: 29.36 kB / 353.2 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.009121, allocations: 28.38 kB / 353.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.009634, allocations: 364 kB / 353.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.009648, allocations: 0 / 353.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.009674, allocations: 19.94 kB / 353.6 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.009728, allocations: 24.98 kB / 353.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.009987, allocations: 189.9 kB / 353.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01121, allocations: 0.9666 MB / 354.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.01133, allocations: 55.05 kB / 354.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.01136, allocations: 15.69 kB / 354.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.01139, allocations: 11.98 kB / 354.9 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.01141, allocations: 33.39 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.01141, allocations: 3.984 kB / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002143/0.01162, allocations: 105.7 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.01164, allocations: 51.41 kB / 355.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.01174, allocations: 234.9 kB / 355.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.01175, allocations: 25.7 kB / 355.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.01182, allocations: 270.6 kB / 355.6 MB, free: 1.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.01183, allocations: 23.8 kB / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.01188, allocations: 67.31 kB / 355.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.01193, allocations: 0.4961 MB / 356.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.01197, allocations: 23.98 kB / 356.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.01204, allocations: 201.9 kB / 356.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.01217, allocations: 246.1 kB / 356.7 MB, free: 396 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01217, allocations: 0 / 356.7 MB, free: 396 kB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002028/0.01237, allocations: 205.3 kB / 356.9 MB, free: 184 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01239, allocations: 8 kB / 356.9 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.0124, allocations: 4 kB / 356.9 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01241, allocations: 4 kB / 356.9 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.01266, allocations: 83.91 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009786/0.01363, allocations: 2.704 MB / 359.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.875e-05/0.01372, allocations: 23.84 kB / 359.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01374, allocations: 23.94 kB / 359.7 MB, free: 13.25 MB / 298.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.0001364/0.01388, allocations: 176.4 kB / 359.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.0139, allocations: 15.89 kB / 359.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.01415, allocations: 142.4 kB / 360 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.01416, allocations: 0 / 360 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01416, allocations: 3.984 kB / 360 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01416, allocations: 0 / 360 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.01439, allocations: 240.5 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.0144, allocations: 7.922 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.01459, allocations: 59.98 kB / 360.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.0146, allocations: 0 / 360.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01461, allocations: 4 kB / 360.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009285/0.01554, allocations: 2.688 MB / 363 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01554, allocations: 192 / 363 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.01568, allocations: 231.8 kB / 363.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.0157, allocations: 15.84 kB / 363.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.01572, allocations: 4 kB / 363.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.01576, allocations: 7.984 kB / 363.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.01581, allocations: 4 kB / 363.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.01582, allocations: 8 kB / 363.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.01588, allocations: 155.8 kB / 363.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01588, allocations: 0 / 363.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.01622, allocations: 103.6 kB / 363.5 MB, free: 9.242 MB / 298.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.0002504/0.01648, allocations: 143 kB / 363.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01675, allocations: 152 kB / 363.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01675, allocations: 0 / 363.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.01685, allocations: 71.66 kB / 363.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.01707, allocations: 22.17 kB / 363.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/0.01795, allocations: 459.2 kB / 364.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.974e-05/0.01802, allocations: 107.8 kB / 364.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.01813, allocations: 61.25 kB / 364.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.01816, allocations: 16.5 kB / 364.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of SimCode: time 1.223e-06/0.01816, allocations: 0 / 364.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of Templates: time 0.005312/0.02347, allocations: 3.071 MB / 367.6 MB, free: 5.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_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.3612989170942456]