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_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.001559/0.001559, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001532/0.001532, allocations: 161 kB / 24.56 MB, free: 16 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.9951/0.9951, allocations: 177.1 MB / 205 MB, free: 5.594 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.2612/0.2612, allocations: 32.8 MB / 294.3 MB, free: 1.199 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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 376 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.893e-05, allocations: 6.312 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00233/0.002349, allocations: 1.989 MB / 378 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.003821, allocations: 1.118 MB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.00389, allocations: 4 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.004174, allocations: 55.62 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.004363, allocations: 83.39 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.004718, allocations: 163.2 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.004967, allocations: 278.2 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.005013, allocations: 12.94 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.005232, allocations: 139.5 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005365, allocations: 99.58 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.005385, allocations: 8 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.005689, allocations: 215.5 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.005757, allocations: 55.7 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.005835, allocations: 83.59 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.006284, allocations: 390.8 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006286, allocations: 0 / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006287, allocations: 0 / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.006291, allocations: 0 / 380.7 MB, free: 15.91 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.0005907/0.006882, allocations: 0.6056 MB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.006918, allocations: 8.031 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.007003, allocations: 56.75 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.007209, allocations: 188.1 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.007233, allocations: 25.38 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.00727, allocations: 32.36 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.007717, allocations: 356 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.007733, allocations: 3.984 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.007756, allocations: 15.94 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/0.007804, allocations: 24.98 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.008056, allocations: 189.9 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.009182, allocations: 0.9705 MB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.009269, allocations: 55.05 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.009306, allocations: 19.69 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.009332, allocations: 7.984 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.009352, allocations: 37.39 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.009354, allocations: 4 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002172/0.009571, allocations: 89.53 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.009595, allocations: 51.41 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.009729, allocations: 240.6 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.009741, allocations: 29.69 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.009851, allocations: 274.8 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.009872, allocations: 23.8 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.009942, allocations: 71.31 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01005, allocations: 0.4961 MB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.0101, allocations: 23.98 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01022, allocations: 198 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.0104, allocations: 238.1 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01041, allocations: 0 / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002647/0.01067, allocations: 205.1 kB / 385.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01069, allocations: 8 kB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01069, allocations: 4.562 kB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.01071, allocations: 8 kB / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.01097, allocations: 87.91 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.01205, allocations: 2.695 MB / 388 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.01215, allocations: 31.78 kB / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.01216, allocations: 19.94 kB / 388.1 MB, free: 8.094 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.0001083/0.01227, allocations: 180.6 kB / 388.2 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.0123, allocations: 11.95 kB / 388.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.01256, allocations: 154.1 kB / 388.4 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01256, allocations: 0 / 388.4 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01257, allocations: 0 / 388.4 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01257, allocations: 3.984 kB / 388.4 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.01278, allocations: 232.5 kB / 388.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01278, allocations: 3.938 kB / 388.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.01293, allocations: 63.97 kB / 388.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01293, allocations: 0 / 388.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01294, allocations: 8 kB / 388.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008421/0.01378, allocations: 2.691 MB / 391.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01378, allocations: 0 / 391.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.01394, allocations: 235.8 kB / 391.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.01395, allocations: 11.91 kB / 391.6 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.01397, allocations: 0 / 391.6 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.01403, allocations: 11.98 kB / 391.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.01407, allocations: 4 kB / 391.6 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01408, allocations: 4.188 kB / 391.6 MB, free: 4.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.01414, allocations: 161.5 kB / 391.8 MB, free: 4.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01414, allocations: 0 / 391.8 MB, free: 4.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.0145, allocations: 99.61 kB / 391.9 MB, free: 4.086 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.0002035/0.0147, allocations: 151 kB / 392.1 MB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.015, allocations: 140.1 kB / 392.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01501, allocations: 1.125 kB / 392.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.01515, allocations: 75.66 kB / 392.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01539, allocations: 19.98 kB / 392.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.01625, allocations: 466 kB / 392.7 MB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.01632, allocations: 107.8 kB / 392.8 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.01645, allocations: 61.25 kB / 392.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.01648, allocations: 20.5 kB / 392.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01648, allocations: 0 / 392.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of Templates: time 0.005918/0.0224, allocations: 3.054 MB / 396 MB, free: 12 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.5696076159365475]