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.0008185/0.0008185, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.0009447/0.0009447, allocations: 165 kB / 23.79 MB, free: 0.7891 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.8635/0.8635, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1244/0.1244, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.032e-06/1.032e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.179e-05, allocations: 8.281 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001372/0.001384, allocations: 1.487 MB / 349.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.002462, allocations: 1.402 MB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002496, allocations: 0 / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.002638, allocations: 35.78 kB / 350.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.002801, allocations: 51.56 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.003097, allocations: 223 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.003184, allocations: 59.66 kB / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.003222, allocations: 4 kB / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.003283, allocations: 39.89 kB / 351 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.003337, allocations: 15.98 kB / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.003349, allocations: 0 / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.003671, allocations: 271.5 kB / 351.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.003687, allocations: 11.92 kB / 351.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.003714, allocations: 11.98 kB / 351.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.003988, allocations: 307.1 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.00399, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.00399, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.003994, allocations: 0 / 351.6 MB, free: 5.52 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.0003291/0.004323, allocations: 447.9 kB / 352 MB, free: 5.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.004355, allocations: 8.031 kB / 352 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.00439, allocations: 16.89 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.135e-05/0.004451, allocations: 116.5 kB / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.004462, allocations: 4.375 kB / 352.2 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.004489, allocations: 4.312 kB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.004567, allocations: 50.23 kB / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.004575, allocations: 192 / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004584, allocations: 8.125 kB / 352.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004591, allocations: 4 kB / 352.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.004626, allocations: 19.98 kB / 352.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.004736, allocations: 148.5 kB / 352.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.004785, allocations: 47.05 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.004812, allocations: 23.62 kB / 352.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.004856, allocations: 19.98 kB / 352.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.00487, allocations: 41.33 kB / 352.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 5.91e-07/0.00487, allocations: 0 / 352.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.007756/0.01263, allocations: 1.31 MB / 353.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.01265, allocations: 55.41 kB / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.01273, allocations: 192 kB / 354.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.01275, allocations: 25.7 kB / 354.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.01277, allocations: 142.8 kB / 354.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.01281, allocations: 35.92 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.01287, allocations: 59.28 kB / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.01292, allocations: 0.4884 MB / 354.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.01305, allocations: 136 kB / 354.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.01317, allocations: 140 kB / 355.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.01343, allocations: 239.6 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01343, allocations: 0 / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003194/0.01375, allocations: 309.6 kB / 355.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01376, allocations: 11.94 kB / 355.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.01377, allocations: 3.984 kB / 355.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01379, allocations: 4 kB / 355.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.01401, allocations: 47.95 kB / 355.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01402, allocations: 3.938 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.01416, allocations: 31.97 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.01417, allocations: 11.92 kB / 355.7 MB, free: 1.133 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.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 6.551e-05/0.01424, allocations: 160.6 kB / 355.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01427, allocations: 15.89 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.01458, allocations: 194.3 kB / 356.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01458, allocations: 0 / 356.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01459, allocations: 4 kB / 356.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01459, allocations: 0 / 356.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008517/0.01544, allocations: 0.5509 MB / 356.6 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01544, allocations: 0 / 356.6 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.01561, allocations: 55.98 kB / 356.7 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01562, allocations: 4 kB / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.01564, allocations: 7.984 kB / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01564, allocations: 0 / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01564, allocations: 0 / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.01596, allocations: 326.7 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.01602, allocations: 31.91 kB / 357.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01604, allocations: 0 / 357.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.01619, allocations: 35.97 kB / 357.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.01621, allocations: 7.984 kB / 357.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01623, allocations: 7.984 kB / 357.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.01629, allocations: 143.7 kB / 357.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01629, allocations: 0 / 357.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.01666, allocations: 171.6 kB / 357.4 MB, free: 15.34 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.0004458/0.0171, allocations: 289.5 kB / 357.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.0174, allocations: 219.5 kB / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0174, allocations: 0 / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.0175, allocations: 71.58 kB / 358 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.0177, allocations: 36.3 kB / 358 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.01881, allocations: 392.8 kB / 358.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.01884, allocations: 63.34 kB / 358.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.01895, allocations: 36.66 kB / 358.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.01905, allocations: 28.47 kB / 358.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01905, allocations: 4 kB / 358.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.008754/0.02781, allocations: 9.078 MB / 367.6 MB, free: 5.066 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.178169609978795]