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.001344/0.001344, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001661/0.001661, allocations: 164 kB / 24.84 MB, free: 9.297 MB / 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.9646/0.9646, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1462/0.1462, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.683e-06/1.683e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.348e-05, allocations: 2.312 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001736/0.001759, allocations: 1.486 MB / 350.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002996, allocations: 1.371 MB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.003061, allocations: 0 / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.003216, allocations: 35.77 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.003415, allocations: 43.64 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.003848, allocations: 234.9 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003958, allocations: 55.66 kB / 352.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.004, allocations: 7.984 kB / 352.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.004062, allocations: 31.91 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.004119, allocations: 27.91 kB / 352.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.004131, allocations: 0 / 352.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.004514, allocations: 255.7 kB / 352.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.004534, allocations: 15.92 kB / 352.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.004557, allocations: 15.94 kB / 352.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.004863, allocations: 303.1 kB / 352.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.004866, allocations: 4 kB / 352.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004867, allocations: 0 / 352.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004872, allocations: 4 kB / 352.8 MB, free: 5.27 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.0003354/0.005207, allocations: 439.9 kB / 353.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005243, allocations: 8.031 kB / 353.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.005272, allocations: 8.891 kB / 353.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.005342, allocations: 124.5 kB / 353.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005353, allocations: 8.312 kB / 353.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.005369, allocations: 4.375 kB / 353.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.344e-05/0.005432, allocations: 46.23 kB / 353.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005441, allocations: 4.188 kB / 353.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.005447, allocations: 4.125 kB / 353.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.005453, allocations: 4 kB / 353.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.005481, allocations: 19.92 kB / 353.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.005583, allocations: 125.2 kB / 353.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.005629, allocations: 43.03 kB / 353.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.005651, allocations: 19.69 kB / 353.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.005695, allocations: 20.14 kB / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.00571, allocations: 41.38 kB / 353.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005711, allocations: 0 / 353.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.007837/0.01355, allocations: 1.286 MB / 355 MB, free: 2.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.01358, allocations: 55.41 kB / 355 MB, free: 2.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.01366, allocations: 193.8 kB / 355.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.01368, allocations: 33.7 kB / 355.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.01371, allocations: 134.8 kB / 355.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.01375, allocations: 39.59 kB / 355.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.01382, allocations: 59.31 kB / 355.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.01387, allocations: 0.4962 MB / 356 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.01396, allocations: 108 kB / 356.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.01404, allocations: 112 kB / 356.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.01423, allocations: 195.7 kB / 356.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01423, allocations: 0 / 356.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002525/0.01449, allocations: 277.5 kB / 356.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.0145, allocations: 8 kB / 356.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.01451, allocations: 3.938 kB / 356.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.01452, allocations: 0 / 356.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.01473, allocations: 51.94 kB / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01473, allocations: 240 / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.01488, allocations: 27.97 kB / 356.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01489, allocations: 8 kB / 356.8 MB, free: 1.082 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 7.857e-05/0.01497, allocations: 168.5 kB / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.01501, allocations: 11.95 kB / 356.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.01542, allocations: 182.2 kB / 357.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01542, allocations: 3.938 kB / 357.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.01542, allocations: 3.984 kB / 357.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01543, allocations: 0 / 357.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008136/0.01624, allocations: 0.5163 MB / 357.6 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.01625, allocations: 7.938 kB / 357.6 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01642, allocations: 56.05 kB / 357.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01642, allocations: 0 / 357.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.01644, allocations: 11.92 kB / 357.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.01644, allocations: 4 kB / 357.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.01644, allocations: 0 / 357.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.01673, allocations: 298.9 kB / 358 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.01679, allocations: 35.84 kB / 358 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01681, allocations: 4 kB / 358 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.01696, allocations: 27.97 kB / 358.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.01698, allocations: 19.86 kB / 358.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.017, allocations: 11.98 kB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.01705, allocations: 146 kB / 358.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01705, allocations: 0 / 358.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.01747, allocations: 175.6 kB / 358.4 MB, free: 15.33 MB / 298.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.0004793/0.01795, allocations: 262.7 kB / 358.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.0182, allocations: 198.2 kB / 358.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0182, allocations: 0 / 358.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.01828, allocations: 59.58 kB / 358.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01849, allocations: 44.17 kB / 359 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.01955, allocations: 392.8 kB / 359.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.01959, allocations: 63.34 kB / 359.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.01971, allocations: 44.64 kB / 359.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.01988, allocations: 102.2 kB / 359.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01988, allocations: 0 / 359.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01136/0.03125, allocations: 10.08 MB / 369.6 MB, free: 4.035 MB / 298.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.3290952891111374]