Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 166.4 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9551/0.9551, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 34.85 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.944e-05, allocations: 5.406 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002543/0.002562, allocations: 1.5 MB / 327.4 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.004523, allocations: 1.387 MB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.004568, allocations: 0 / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.004726, allocations: 31.78 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.004946, allocations: 55.62 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.005409, allocations: 223 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.005525, allocations: 59.64 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.005566, allocations: 11.94 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.005642, allocations: 27.97 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.005711, allocations: 27.91 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.005724, allocations: 4 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.006225, allocations: 275.5 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.006239, allocations: 0 / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.006267, allocations: 19.92 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.006699, allocations: 299.2 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006702, allocations: 0 / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006702, allocations: 0 / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.006706, allocations: 0 / 329.8 MB, free: 3.234 MB / 298.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.000446/0.007152, allocations: 326.2 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.007189, allocations: 15.97 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.007221, allocations: 4.938 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.007321, allocations: 113.7 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.007336, allocations: 8.375 kB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.00736, allocations: 4.375 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.007448, allocations: 49.06 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007457, allocations: 192 / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.007466, allocations: 4.125 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.007472, allocations: 0 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.007513, allocations: 19.92 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.007638, allocations: 78.69 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.007698, allocations: 34.58 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.00773, allocations: 24.84 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.00778, allocations: 19.98 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.007804, allocations: 30.56 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.007806, allocations: 0 / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.01192/0.01973, allocations: 1.207 MB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.01977, allocations: 51.41 kB / 331.8 MB, free: 1.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.01988, allocations: 144.5 kB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.0199, allocations: 29.64 kB / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.01994, allocations: 92.08 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.02, allocations: 43.62 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.02009, allocations: 41.67 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.02019, allocations: 322.8 kB / 332.4 MB, free: 440 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.02034, allocations: 98.81 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.02047, allocations: 99.98 kB / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.02077, allocations: 177.6 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02077, allocations: 3.938 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000378/0.02115, allocations: 218.8 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.02117, allocations: 9.25 kB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.02118, allocations: 0 / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.02119, allocations: 0 / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.02151, allocations: 55.88 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.02151, allocations: 3.938 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.02173, allocations: 27.97 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.02175, allocations: 4 kB / 333.1 MB, free: 15.74 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 0.0001075/0.02186, allocations: 117.8 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.0219, allocations: 7.984 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.02228, allocations: 155.5 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02229, allocations: 0 / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.02229, allocations: 4 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02229, allocations: 3.938 kB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.02366, allocations: 441 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.02366, allocations: 4 kB / 333.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.02383, allocations: 43.95 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02384, allocations: 8.094 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.02385, allocations: 15.92 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.02386, allocations: 0 / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02386, allocations: 0 / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.02406, allocations: 264.7 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.02411, allocations: 23.89 kB / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.02413, allocations: 3.938 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.02427, allocations: 31.97 kB / 334.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.02428, allocations: 11.98 kB / 334.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.0243, allocations: 7.984 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.928e-05/0.02432, allocations: 20.83 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02432, allocations: 0 / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.02466, allocations: 175.5 kB / 334.4 MB, free: 14.35 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.0004231/0.02508, allocations: 252.6 kB / 334.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.0253, allocations: 171.9 kB / 334.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0253, allocations: 0 / 334.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.02537, allocations: 56.05 kB / 334.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.02553, allocations: 35.95 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/0.0265, allocations: 374.9 kB / 335.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.02654, allocations: 63.34 kB / 335.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.02665, allocations: 40.92 kB / 335.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.02681, allocations: 79.33 kB / 335.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02681, allocations: 4 kB / 335.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of Templates: time 0.009556/0.03637, allocations: 9.949 MB / 345.4 MB, free: 3.344 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2208870421163738]