Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.001787/0.001787, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002114/0.002114, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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.617/1.617, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.1 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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3585, allocations: 65.47 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00282/0.3613, allocations: 1.452 MB / 0.5589 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3635, allocations: 1.286 MB / 0.5601 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.3635, allocations: 0 / 0.5601 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.3637, allocations: 31.83 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.3639, allocations: 47.5 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.3645, allocations: 227.1 kB / 0.5604 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3646, allocations: 59.66 kB / 0.5605 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.3646, allocations: 4 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.3647, allocations: 23.91 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.3648, allocations: 23.86 kB / 0.5605 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3648, allocations: 4 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.3653, allocations: 267.7 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.3653, allocations: 11.86 kB / 0.5608 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3654, allocations: 23.88 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.3658, allocations: 261.8 kB / 0.5611 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3658, allocations: 8 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3658, allocations: 0 / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3658, allocations: 0 / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000592/0.3664, allocations: 349.5 kB / 0.5614 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3664, allocations: 8.031 kB / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3665, allocations: 8.891 kB / 0.5614 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3666, allocations: 114.4 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3666, allocations: 4.312 kB / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3666, allocations: 4.375 kB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3668, allocations: 77.78 kB / 0.5616 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3668, allocations: 4 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3668, allocations: 0 / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3668, allocations: 0 / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.3669, allocations: 55.97 kB / 0.5617 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3671, allocations: 141.2 kB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3672, allocations: 54.5 kB / 0.5619 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.675e-05/0.3673, allocations: 40.84 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.3673, allocations: 19.98 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3674, allocations: 30.56 kB / 0.562 GB, free: 2.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3674, allocations: 0 / 0.562 GB, free: 2.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02007/0.3874, allocations: 1.642 MB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3875, allocations: 51.41 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3877, allocations: 141.3 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3877, allocations: 25.7 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.3877, allocations: 96.12 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.3878, allocations: 39.64 kB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.3879, allocations: 41.69 kB / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.388, allocations: 322.8 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/0.3887, allocations: 203.9 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.3893, allocations: 211.8 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.3906, allocations: 395.4 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3906, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001412/0.392, allocations: 465.2 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3921, allocations: 6.812 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3921, allocations: 4 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3921, allocations: 0 / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.3926, allocations: 67.88 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3926, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.393, allocations: 47.95 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.3931, allocations: 7.984 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.3932, allocations: 117.8 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3932, allocations: 11.94 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.3947, allocations: 362 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3947, allocations: 4 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3947, allocations: 0 / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3947, allocations: 0 / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.3975, allocations: 0.7032 MB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3975, allocations: 4.078 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.398, allocations: 63.94 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.398, allocations: 4 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3981, allocations: 4 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3981, allocations: 7.984 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3981, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3994, allocations: 433.7 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.3995, allocations: 31.91 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3995, allocations: 3.984 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.4, allocations: 39.95 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.4, allocations: 15.92 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.4, allocations: 8 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.093e-05/0.4001, allocations: 99.2 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4001, allocations: 0 / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000585/0.4007, allocations: 175.6 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006488/0.4013, allocations: 246.7 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.4027, allocations: 363.7 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4027, allocations: 0 / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.4033, allocations: 144 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4036, allocations: 24.14 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.4062, allocations: 0.5071 MB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.4063, allocations: 83.83 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.4065, allocations: 40.86 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4066, allocations: 27.41 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4066, allocations: 0 / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.01494/0.4216, allocations: 8.983 MB / 0.5778 GB, free: 2.352 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.645873960107565]