Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001818/0.001818, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.00224/0.00224, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 34.27 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 75.88 kB / 443.2 MB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3373, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002349/0.3397, allocations: 1.451 MB / 0.4986 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3413, allocations: 1.294 MB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.3413, allocations: 0 / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.3415, allocations: 24.48 kB / 0.4999 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.3417, allocations: 51.06 kB / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.3422, allocations: 226.9 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.3423, allocations: 57.27 kB / 0.5002 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.3423, allocations: 3.25 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.3424, allocations: 19.86 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.3424, allocations: 25.02 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3424, allocations: 3.25 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.3429, allocations: 272.5 kB / 0.5006 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.3429, allocations: 14.67 kB / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.343, allocations: 21.84 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.3433, allocations: 265.6 kB / 0.5008 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3433, allocations: 0 / 0.5008 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3433, allocations: 3.125 kB / 0.5008 GB, free: 27.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3433, allocations: 0 / 0.5008 GB, free: 27.66 MB / 446.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.0004425/0.3438, allocations: 342.6 kB / 0.5012 GB, free: 27.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3438, allocations: 9.719 kB / 0.5012 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3439, allocations: 7.984 kB / 0.5012 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.344, allocations: 120.7 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.344, allocations: 4.312 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.344, allocations: 7.469 kB / 0.5013 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3441, allocations: 75.94 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3442, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3442, allocations: 3.094 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3442, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.3443, allocations: 58.23 kB / 0.5015 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.3444, allocations: 136 kB / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.3445, allocations: 52.36 kB / 0.5016 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.3445, allocations: 39.25 kB / 0.5017 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.3446, allocations: 28.78 kB / 0.5017 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3446, allocations: 30.56 kB / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3446, allocations: 0 / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.02062/0.3652, allocations: 1.641 MB / 0.5033 GB, free: 26.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3653, allocations: 51.41 kB / 0.5034 GB, free: 26.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3654, allocations: 141.5 kB / 0.5035 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.3654, allocations: 25.7 kB / 0.5035 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.3654, allocations: 88.14 kB / 0.5036 GB, free: 26.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3655, allocations: 45.36 kB / 0.5037 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.3656, allocations: 43.88 kB / 0.5037 GB, free: 26.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.3656, allocations: 321.2 kB / 0.504 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.3662, allocations: 206.2 kB / 0.5042 GB, free: 25.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.3668, allocations: 204.8 kB / 0.5044 GB, free: 25.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.368, allocations: 401.1 kB / 0.5048 GB, free: 25.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.368, allocations: 0 / 0.5048 GB, free: 25.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001306/0.3693, allocations: 462.7 kB / 0.5052 GB, free: 25.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3693, allocations: 6.156 kB / 0.5052 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3693, allocations: 4.016 kB / 0.5052 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3694, allocations: 4 kB / 0.5052 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.3699, allocations: 59.34 kB / 0.5053 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.3699, allocations: 7.141 kB / 0.5053 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.3703, allocations: 42.36 kB / 0.5053 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.3704, allocations: 13.31 kB / 0.5054 GB, free: 25.34 MB / 446.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 9.369e-05/0.3705, allocations: 121.5 kB / 0.5055 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3705, allocations: 6.828 kB / 0.5055 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3718, allocations: 365 kB / 0.5058 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3718, allocations: 6.844 kB / 0.5058 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3718, allocations: 0 / 0.5058 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3718, allocations: 0 / 0.5058 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.3745, allocations: 0.7037 MB / 0.5065 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3745, allocations: 0 / 0.5065 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.375, allocations: 70.61 kB / 0.5066 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.375, allocations: 0 / 0.5066 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.375, allocations: 13.44 kB / 0.5066 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.375, allocations: 0 / 0.5066 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.375, allocations: 0 / 0.5066 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3763, allocations: 425.2 kB / 0.507 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.3764, allocations: 27.78 kB / 0.507 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.3764, allocations: 6.391 kB / 0.507 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.3768, allocations: 44.58 kB / 0.5071 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.3769, allocations: 14.2 kB / 0.5071 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.3769, allocations: 9.641 kB / 0.5071 GB, free: 24.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.3769, allocations: 106.3 kB / 0.5072 GB, free: 24.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3769, allocations: 0 / 0.5072 GB, free: 24.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006254/0.3776, allocations: 170.1 kB / 0.5074 GB, free: 24.32 MB / 446.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.0005701/0.3781, allocations: 256.4 kB / 0.5076 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.3794, allocations: 359.1 kB / 0.508 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3794, allocations: 0 / 0.508 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.38, allocations: 144.2 kB / 0.5081 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3804, allocations: 17 kB / 0.5081 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.3832, allocations: 0.5173 MB / 0.5086 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.3833, allocations: 78.89 kB / 0.5087 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3835, allocations: 43.8 kB / 0.5087 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3836, allocations: 26.98 kB / 0.5088 GB, free: 23.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.984e-06/0.3836, allocations: 0 / 0.5088 GB, free: 23.68 MB / 446.1 MB Notification: Performance of Templates: time 0.01965/0.4033, allocations: 8.919 MB / 0.5175 GB, free: 22.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.380863731959835]