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.001085/0.001085, allocations: 79.92 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.001277/0.001277, allocations: 169 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.9242/0.9242, allocations: 158.6 MB / 186 MB, free: 2.77 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.134/0.134, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 2.004e-06/2.004e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.796e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002214/0.002242, allocations: 1.532 MB / 300.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1334/0.1357, allocations: 1.389 MB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.1358, allocations: 0 / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1359, allocations: 34.75 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1361, allocations: 45.86 kB / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.1366, allocations: 202.9 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1367, allocations: 59.53 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1367, allocations: 4.219 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.1368, allocations: 36.16 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.1369, allocations: 15.47 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1369, allocations: 3.5 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.1374, allocations: 301.8 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1374, allocations: 9.656 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1374, allocations: 15.16 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.1379, allocations: 302.2 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1379, allocations: 0 / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1379, allocations: 2.547 kB / 303.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.1379, allocations: 0 / 303.1 MB, free: 19.09 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.0003422/0.1382, allocations: 320 kB / 303.4 MB, free: 18.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1382, allocations: 11.61 kB / 303.4 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.1383, allocations: 4.703 kB / 303.4 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.102e-05/0.1383, allocations: 122.7 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1383, allocations: 3.312 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1384, allocations: 7.641 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.327e-05/0.1384, allocations: 49.27 kB / 303.6 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1384, allocations: 192 / 303.6 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1385, allocations: 6.875 kB / 303.6 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1385, allocations: 2.172 kB / 303.6 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.1385, allocations: 14.11 kB / 303.6 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.1386, allocations: 82.89 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.1386, allocations: 32.77 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.1387, allocations: 17.09 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.1387, allocations: 23.34 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.1387, allocations: 36.62 kB / 303.8 MB, free: 18.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.11e-07/0.1387, allocations: 0.5625 kB / 303.8 MB, free: 18.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.009357/0.1481, allocations: 1.195 MB / 305 MB, free: 18.28 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.1481, allocations: 56.44 kB / 305 MB, free: 18.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.1482, allocations: 140.2 kB / 305.2 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1482, allocations: 25.7 kB / 305.2 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.1482, allocations: 92.41 kB / 305.3 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1483, allocations: 41.42 kB / 305.3 MB, free: 17.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.1483, allocations: 44.25 kB / 305.4 MB, free: 17.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.222e-05/0.1484, allocations: 321.3 kB / 305.7 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1485, allocations: 99.75 kB / 305.8 MB, free: 17.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1486, allocations: 97.73 kB / 305.9 MB, free: 17.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1489, allocations: 186.6 kB / 306 MB, free: 17.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1489, allocations: 5.312 kB / 306.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003026/0.1492, allocations: 219.5 kB / 306.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1492, allocations: 3.969 kB / 306.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1492, allocations: 1.438 kB / 306.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1492, allocations: 0 / 306.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.1495, allocations: 62.45 kB / 306.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1495, allocations: 5.406 kB / 306.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1497, allocations: 29.56 kB / 306.4 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.1497, allocations: 4.109 kB / 306.4 MB, free: 17.55 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.191e-05/0.1498, allocations: 121.2 kB / 306.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1498, allocations: 7.406 kB / 306.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.1501, allocations: 159.8 kB / 306.7 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1501, allocations: 1.859 kB / 306.7 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1501, allocations: 0 / 306.7 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1501, allocations: 4.594 kB / 306.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009021/0.151, allocations: 442.3 kB / 307.1 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1511, allocations: 1.766 kB / 307.1 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1513, allocations: 52.08 kB / 307.1 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1513, allocations: 2.312 kB / 307.1 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1513, allocations: 12.03 kB / 307.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1513, allocations: 2.375 kB / 307.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1513, allocations: 1.703 kB / 307.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1516, allocations: 265.2 kB / 307.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.1516, allocations: 21.98 kB / 307.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1516, allocations: 13.75 kB / 307.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1518, allocations: 28.84 kB / 307.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1519, allocations: 8.031 kB / 307.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1519, allocations: 9.969 kB / 307.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.537e-05/0.1519, allocations: 21.86 kB / 307.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1519, allocations: 0 / 307.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004902/0.1524, allocations: 169.8 kB / 307.7 MB, free: 16.86 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.0005196/0.1529, allocations: 265.1 kB / 307.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.1532, allocations: 167.8 kB / 308.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1532, allocations: 1.312 kB / 308.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.1533, allocations: 55.69 kB / 308.2 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1535, allocations: 33.92 kB / 308.2 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1547, allocations: 371.3 kB / 308.6 MB, free: 16.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.1547, allocations: 63.72 kB / 308.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.1549, allocations: 38.27 kB / 308.7 MB, free: 16.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.1551, allocations: 72.48 kB / 308.7 MB, free: 16.39 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1551, allocations: 0 / 308.7 MB, free: 16.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01185/0.167, allocations: 9.966 MB / 318.7 MB, free: 10.31 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 -s gbode -gbm=radauIIA3 -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.0359389688819647]