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.001529/0.001529, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001824/0.001824, allocations: 172.9 kB / 24.82 MB, free: 8.945 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 0.9756/0.9756, allocations: 177.2 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.2581/0.2581, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.432e-06/1.432e-06, allocations: 0 / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.815e-05, allocations: 6.312 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003197/0.003216, allocations: 1.974 MB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.005047, allocations: 1.102 MB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.005142, allocations: 4 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.005447, allocations: 55.62 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.005669, allocations: 87.39 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.006176, allocations: 155.3 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.006481, allocations: 278.2 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.006538, allocations: 12.94 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.006817, allocations: 139.4 kB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.007001, allocations: 107.6 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.007027, allocations: 8 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.007432, allocations: 215.5 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.007509, allocations: 51.72 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.007593, allocations: 79.64 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.008122, allocations: 394.5 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.008124, allocations: 0 / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008125, allocations: 0 / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.008131, allocations: 4 kB / 381.2 MB, free: 15.7 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.0006222/0.008753, allocations: 0.6094 MB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.008792, allocations: 8.031 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.008878, allocations: 56.75 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.009066, allocations: 172.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.00909, allocations: 25.38 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.009128, allocations: 40.36 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.00954, allocations: 331.9 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.009552, allocations: 0 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.009574, allocations: 15.94 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.009617, allocations: 32.97 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.009805, allocations: 142.9 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01084, allocations: 0.9086 MB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.01092, allocations: 50.97 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.01095, allocations: 19.69 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.01098, allocations: 15.06 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.01101, allocations: 33.39 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.01101, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001909/0.0112, allocations: 85.58 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.01123, allocations: 63.41 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01137, allocations: 235.9 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.01138, allocations: 29.7 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.0115, allocations: 274.6 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.01153, allocations: 27.78 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.0116, allocations: 63.3 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.01174, allocations: 0.5001 MB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.01178, allocations: 15.98 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.0119, allocations: 190 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.01204, allocations: 246 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01205, allocations: 4 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001859/0.01223, allocations: 185.4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01225, allocations: 8 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01225, allocations: 4 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01227, allocations: 8 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.01245, allocations: 87.89 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007583/0.01321, allocations: 2.704 MB / 388.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.01328, allocations: 31.77 kB / 388.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01329, allocations: 15.98 kB / 388.3 MB, free: 8.043 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 (NominalMassFlowRate,m_flow_IN_con[1].target,m_flow_IN_con[2].target,m_flow_IN_con[3].target,dp_IN_con[1].target,dp_IN_con[2].target,dp_IN_con[3].target) * 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 9.267e-05/0.01339, allocations: 179 kB / 388.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.01341, allocations: 11.95 kB / 388.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.01361, allocations: 150.1 kB / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01361, allocations: 0 / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01361, allocations: 0 / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01361, allocations: 0 / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01377, allocations: 181 kB / 388.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01377, allocations: 7.938 kB / 388.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.01388, allocations: 63.97 kB / 388.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01388, allocations: 0 / 388.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01389, allocations: 8 kB / 388.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007013/0.01459, allocations: 2.684 MB / 391.6 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0146, allocations: 0 / 391.6 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.01473, allocations: 231.8 kB / 391.8 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.01474, allocations: 16.09 kB / 391.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01475, allocations: 4 kB / 391.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.01479, allocations: 0 / 391.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.01481, allocations: 15.98 kB / 391.9 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.01482, allocations: 0 / 391.9 MB, free: 4.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.01487, allocations: 154 kB / 392 MB, free: 4.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01487, allocations: 0 / 392 MB, free: 4.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.01513, allocations: 99.61 kB / 392.1 MB, free: 4.117 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.0001756/0.01531, allocations: 155.1 kB / 392.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01552, allocations: 140.6 kB / 392.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01552, allocations: 0 / 392.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01562, allocations: 75.59 kB / 392.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.0158, allocations: 15.94 kB / 392.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.01647, allocations: 460 kB / 393 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.01653, allocations: 111.8 kB / 393.1 MB, free: 3.117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.706e-05/0.01662, allocations: 41.28 kB / 393.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.01667, allocations: 82.2 kB / 393.2 MB, free: 2.996 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01667, allocations: 0 / 393.2 MB, free: 2.996 MB / 362.7 MB Notification: Performance of Templates: time 0.005134/0.0218, allocations: 3.492 MB / 396.7 MB, free: 15.56 MB / 378.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.1462069507688284]