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.001314/0.001314, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001036/0.001036, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9048/0.9048, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] 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.1427/0.1427, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] 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 1.152e-06/1.152e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.436e-06/9.588e-06, allocations: 6.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001437/0.001446, allocations: 1.48 MB / 380.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.002534, allocations: 1.366 MB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.002577, allocations: 0 / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.002706, allocations: 31.78 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.002876, allocations: 51.62 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.00323, allocations: 230.9 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.003314, allocations: 55.7 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003349, allocations: 8 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.003411, allocations: 31.91 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.003456, allocations: 23.92 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.003466, allocations: 3.984 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.003792, allocations: 267.6 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.003805, allocations: 7.938 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.003823, allocations: 23.91 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.00408, allocations: 299.2 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004082, allocations: 0 / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 4e-07/0.004082, allocations: 0 / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004086, allocations: 4 kB / 383.2 MB, free: 19.51 MB / 314.7 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.0003192/0.004405, allocations: 443.8 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.004434, allocations: 12.03 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.00446, allocations: 8.891 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.838e-05/0.004519, allocations: 124.5 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004529, allocations: 384 / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.004543, allocations: 4.375 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.96e-05/0.004603, allocations: 54.17 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.00461, allocations: 192 / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.004616, allocations: 4.125 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.00462, allocations: 4 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.004647, allocations: 19.97 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.58e-05/0.004743, allocations: 117.3 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.958e-05/0.004782, allocations: 47.05 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.004802, allocations: 23.81 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.004837, allocations: 19.98 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.004851, allocations: 45.33 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.004852, allocations: 0 / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.008163/0.01302, allocations: 1.286 MB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.01304, allocations: 59.39 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.01309, allocations: 192.7 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.01311, allocations: 29.7 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.01313, allocations: 138.8 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.01316, allocations: 43.62 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.01322, allocations: 51.33 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.01325, allocations: 0.4923 MB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.01335, allocations: 116 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.01343, allocations: 104 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.01361, allocations: 194.2 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.01361, allocations: 0 / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002519/0.01387, allocations: 281.5 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.01388, allocations: 4 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01388, allocations: 7.938 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.01389, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.0141, allocations: 47.95 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.0141, allocations: 4 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01425, allocations: 27.97 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.01426, allocations: 11.98 kB / 387.1 MB, free: 15.32 MB / 314.7 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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 6.475e-05/0.01433, allocations: 164.5 kB / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.01435, allocations: 7.953 kB / 387.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.01461, allocations: 182.2 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01462, allocations: 4 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01462, allocations: 4 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01462, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.01539, allocations: 0.5163 MB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01539, allocations: 3.938 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.01557, allocations: 67.97 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01557, allocations: 4 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01558, allocations: 7.984 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01559, allocations: 0 / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01559, allocations: 4 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.01579, allocations: 310.7 kB / 388.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.01584, allocations: 27.84 kB / 388.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.01586, allocations: 12 kB / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.01602, allocations: 23.97 kB / 388.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.01603, allocations: 7.984 kB / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01604, allocations: 12 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.01606, allocations: 139.1 kB / 388.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01606, allocations: 0 / 388.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.01642, allocations: 167.6 kB / 388.8 MB, free: 13.58 MB / 314.7 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.0003838/0.0168, allocations: 270.8 kB / 389 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.01701, allocations: 202.1 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01701, allocations: 3.938 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.01708, allocations: 63.58 kB / 389.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01729, allocations: 41.78 kB / 389.3 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.0184, allocations: 383.4 kB / 389.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.373e-05/0.01842, allocations: 63.22 kB / 389.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.01853, allocations: 48.92 kB / 389.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.01869, allocations: 102.2 kB / 389.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01869, allocations: 0 / 389.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of Templates: time 0.008779/0.02747, allocations: 10.08 MB / 400 MB, free: 2.281 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.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.2258601202629507]