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.001298/0.001298, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001457/0.001457, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2296/0.2296, allocations: 44.91 MB / 359.6 MB, free: 6.312 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.002311/0.002311, allocations: 75.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3559, allocations: 65.46 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003057/0.359, allocations: 1.487 MB / 0.5597 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3613, allocations: 1.469 MB / 0.5611 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.3613, allocations: 0 / 0.5611 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.3615, allocations: 23.84 kB / 0.5612 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.3618, allocations: 51.48 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.3623, allocations: 231.1 kB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3625, allocations: 51.72 kB / 0.5615 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.3625, allocations: 7.984 kB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.3626, allocations: 19.94 kB / 0.5615 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.3627, allocations: 27.86 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3627, allocations: 0 / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.3633, allocations: 347.5 kB / 0.5619 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.3634, allocations: 7.984 kB / 0.5619 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3634, allocations: 27.81 kB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.3639, allocations: 285.6 kB / 0.5622 GB, free: 3.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3639, allocations: 0 / 0.5622 GB, free: 3.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3639, allocations: 4 kB / 0.5622 GB, free: 3.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3639, allocations: 0 / 0.5622 GB, free: 3.715 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.0006087/0.3645, allocations: 345.5 kB / 0.5625 GB, free: 3.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3645, allocations: 8.031 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3646, allocations: 8.891 kB / 0.5625 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3647, allocations: 114.4 kB / 0.5626 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3647, allocations: 4.375 kB / 0.5626 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.3648, allocations: 4.375 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3649, allocations: 77.78 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.365, allocations: 3.938 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.365, allocations: 3.984 kB / 0.5627 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.365, allocations: 4 kB / 0.5627 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3651, allocations: 55.97 kB / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.3654, allocations: 164.6 kB / 0.5629 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3655, allocations: 50.56 kB / 0.563 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.3655, allocations: 40.84 kB / 0.563 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.3656, allocations: 19.98 kB / 0.563 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3657, allocations: 42.5 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3657, allocations: 0 / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01966/0.3853, allocations: 1.626 MB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3854, allocations: 59.39 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3855, allocations: 134.1 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3855, allocations: 25.7 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3856, allocations: 92.06 kB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.3856, allocations: 47.64 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3857, allocations: 45.69 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3859, allocations: 318.8 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.3865, allocations: 203.9 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.3872, allocations: 213.5 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3884, allocations: 391.1 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3884, allocations: 0 / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001431/0.3899, allocations: 465.3 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3899, allocations: 4 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3899, allocations: 0 / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.3899, allocations: 4 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.3905, allocations: 63.94 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3905, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.3909, allocations: 47.95 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.3909, allocations: 8.141 kB / 0.5667 GB, free: 14.88 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.0001625/0.3911, allocations: 125.7 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.3911, allocations: 7.953 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.3925, allocations: 366 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3925, allocations: 4 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3925, allocations: 0 / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3925, allocations: 4 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.3954, allocations: 0.7534 MB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3954, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.3959, allocations: 75.86 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3959, allocations: 4.094 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3959, allocations: 4 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3959, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3959, allocations: 7.938 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3972, allocations: 417.8 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.3973, allocations: 31.91 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.3973, allocations: 12 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.3977, allocations: 35.91 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.3978, allocations: 11.92 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3978, allocations: 19.98 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.3979, allocations: 102.3 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3979, allocations: 0 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.3985, allocations: 171.6 kB / 0.5688 GB, free: 12.65 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.0006499/0.3991, allocations: 246.8 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.4004, allocations: 363.7 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4004, allocations: 0 / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.401, allocations: 148 kB / 0.5695 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4013, allocations: 12.22 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.4039, allocations: 0.54 MB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4043, allocations: 0.6929 MB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.4044, allocations: 27.41 kB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4044, allocations: 4 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.007991/0.4124, allocations: 4.618 MB / 0.5753 GB, free: 5.926 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/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: 8.221429498167709]