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.001504/0.001504, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001681/0.001681, allocations: 165.8 kB / 24.99 MB, free: 8.336 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2807/0.2807, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.853e-06/1.853e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.047e-05, allocations: 6.312 kB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002912/0.002943, allocations: 1.985 MB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.004737, allocations: 1.114 MB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.004833, allocations: 0 / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.005154, allocations: 63.61 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.005378, allocations: 79.39 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.005849, allocations: 163.2 kB / 379.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.006163, allocations: 282.2 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.006217, allocations: 8.938 kB / 379.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.006499, allocations: 139.4 kB / 379.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.006674, allocations: 99.62 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.0067, allocations: 8 kB / 380 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.007086, allocations: 215.6 kB / 380.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.007176, allocations: 59.69 kB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.007275, allocations: 75.61 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.007808, allocations: 394.6 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007811, allocations: 0 / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007812, allocations: 0 / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.007817, allocations: 4 kB / 380.7 MB, free: 280 kB / 346.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.0007316/0.008549, allocations: 0.6017 MB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.008593, allocations: 12.03 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.008703, allocations: 56.75 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.008957, allocations: 184.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.008984, allocations: 25.38 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.009028, allocations: 36.36 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.009614, allocations: 356 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.009628, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.009649, allocations: 12 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.009699, allocations: 28.98 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.009924, allocations: 185.9 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.01093, allocations: 0.9744 MB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.01102, allocations: 59.05 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.01106, allocations: 19.67 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.01108, allocations: 0 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.0111, allocations: 41.39 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.01111, allocations: 0 / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002227/0.01133, allocations: 93.52 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.01136, allocations: 55.41 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01149, allocations: 239.8 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.0115, allocations: 25.7 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01161, allocations: 270.8 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.01163, allocations: 35.78 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.01169, allocations: 63.31 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01182, allocations: 0.5 MB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.01186, allocations: 19.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.01198, allocations: 204.7 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.01215, allocations: 234.1 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.01215, allocations: 8 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002251/0.01238, allocations: 197.2 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.0124, allocations: 10.73 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.0124, allocations: 8 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.01242, allocations: 8 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.01267, allocations: 83.91 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009262/0.0136, allocations: 2.695 MB / 388 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.01369, allocations: 31.78 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.01371, allocations: 19.94 kB / 388 MB, free: 8.465 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.000138/0.01385, allocations: 176.6 kB / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.01387, allocations: 15.95 kB / 388.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.01413, allocations: 158.1 kB / 388.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01413, allocations: 0 / 388.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01413, allocations: 0 / 388.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01414, allocations: 3.938 kB / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.01434, allocations: 240.5 kB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01434, allocations: 0 / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.01446, allocations: 55.97 kB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01447, allocations: 0 / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01448, allocations: 8 kB / 388.7 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007629/0.01524, allocations: 2.688 MB / 391.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01524, allocations: 0 / 391.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.0154, allocations: 243.8 kB / 391.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.01542, allocations: 7.906 kB / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01544, allocations: 4 kB / 391.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.01548, allocations: 4 kB / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.01552, allocations: 8.172 kB / 391.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.01553, allocations: 12 kB / 391.6 MB, free: 4.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.222e-05/0.01559, allocations: 157.9 kB / 391.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01559, allocations: 0 / 391.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.01591, allocations: 99.61 kB / 391.9 MB, free: 4.453 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.0002424/0.01615, allocations: 151 kB / 392 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01642, allocations: 141.2 kB / 392.2 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01642, allocations: 4 kB / 392.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01653, allocations: 75.66 kB / 392.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01675, allocations: 16 kB / 392.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009181/0.01767, allocations: 459.4 kB / 392.7 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.773e-05/0.01774, allocations: 103.8 kB / 392.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.01785, allocations: 61.25 kB / 392.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01788, allocations: 24.5 kB / 392.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01788, allocations: 0 / 392.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of Templates: time 0.005255/0.02314, allocations: 3.047 MB / 395.9 MB, free: 392 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.36751377210021]