Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001123/0.001123, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001201/0.001201, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9502/0.9502, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1235/0.1235, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.015e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003093/0.003123, allocations: 1.492 MB / 300.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1311/0.1342, allocations: 1.385 MB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.1343, allocations: 3.062 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1344, allocations: 31.52 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1346, allocations: 55.94 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.1351, allocations: 220.7 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1352, allocations: 60.08 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.1353, allocations: 8.75 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.1353, allocations: 31.41 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.1354, allocations: 17.78 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1354, allocations: 7.406 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.1358, allocations: 268.9 kB / 302.6 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.1358, allocations: 10.36 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.1358, allocations: 14.14 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1362, allocations: 298.6 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1362, allocations: 0.7969 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1362, allocations: 1.156 kB / 303 MB, free: 19.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1362, allocations: 0.6875 kB / 303 MB, free: 19.08 MB / 282.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.000345/0.1366, allocations: 322.7 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.1366, allocations: 9.844 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.1366, allocations: 11.05 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.365e-05/0.1367, allocations: 120.2 kB / 303.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1367, allocations: 7.281 kB / 303.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1367, allocations: 2.844 kB / 303.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.357e-05/0.1368, allocations: 47.84 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1368, allocations: 0.75 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1368, allocations: 4.781 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1368, allocations: 1.812 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.1368, allocations: 14.47 kB / 303.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.57e-05/0.1369, allocations: 81.3 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.137, allocations: 33.22 kB / 303.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.137, allocations: 17.03 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.137, allocations: 24.56 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.137, allocations: 32.2 kB / 303.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.137, allocations: 0 / 303.7 MB, free: 18.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.006825/0.1439, allocations: 1.203 MB / 304.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.1439, allocations: 56.34 kB / 304.9 MB, free: 18.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.144, allocations: 136.1 kB / 305.1 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.144, allocations: 25.7 kB / 305.1 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.144, allocations: 92.11 kB / 305.2 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.144, allocations: 50.48 kB / 305.2 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.1441, allocations: 38.81 kB / 305.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.1441, allocations: 325.3 kB / 305.6 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1442, allocations: 98.53 kB / 305.7 MB, free: 17.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.1443, allocations: 93.47 kB / 305.8 MB, free: 17.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1445, allocations: 184.7 kB / 306 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1445, allocations: 3.938 kB / 306 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002554/0.1448, allocations: 224.1 kB / 306.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1448, allocations: 6.156 kB / 306.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1448, allocations: 0 / 306.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1448, allocations: 2.422 kB / 306.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.145, allocations: 52.17 kB / 306.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.145, allocations: 4.922 kB / 306.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1452, allocations: 29.28 kB / 306.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1452, allocations: 7.844 kB / 306.3 MB, free: 17.54 MB / 282.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.181e-05/0.1452, allocations: 120 kB / 306.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1453, allocations: 6.688 kB / 306.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.1455, allocations: 157.2 kB / 306.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1455, allocations: 1.375 kB / 306.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1455, allocations: 0.7031 kB / 306.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1455, allocations: 5.812 kB / 306.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.1462, allocations: 438 kB / 307 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1462, allocations: 4.094 kB / 307 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1464, allocations: 48.53 kB / 307 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1464, allocations: 2.062 kB / 307 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1464, allocations: 11.33 kB / 307.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1464, allocations: 3.297 kB / 307.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1464, allocations: 1.406 kB / 307.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1466, allocations: 267.9 kB / 307.3 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1467, allocations: 24.88 kB / 307.3 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1467, allocations: 6.359 kB / 307.3 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1468, allocations: 28.61 kB / 307.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1468, allocations: 8.906 kB / 307.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1468, allocations: 6.75 kB / 307.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.1469, allocations: 25.95 kB / 307.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1469, allocations: 0 / 307.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000422/0.1473, allocations: 169.8 kB / 307.6 MB, free: 16.85 MB / 282.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.0004827/0.1478, allocations: 264.9 kB / 307.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.148, allocations: 169.5 kB / 308 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.148, allocations: 1.125 kB / 308 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.1481, allocations: 50.62 kB / 308.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1483, allocations: 37.61 kB / 308.1 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1493, allocations: 372.2 kB / 308.5 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.1493, allocations: 67.5 kB / 308.5 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1494, allocations: 40.77 kB / 308.6 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.1496, allocations: 72.86 kB / 308.6 MB, free: 16.39 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1496, allocations: 3.938 kB / 308.6 MB, free: 16.38 MB / 282.7 MB Notification: Performance of Templates: time 0.01054/0.1601, allocations: 9.962 MB / 318.6 MB, free: 10.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1925238580442965]