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.0009664/0.0009664, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001105/0.001105, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.043 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.2902/0.2902, allocations: 34.86 MB / 296.6 MB, free: 396 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 2.024e-06/2.024e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.014e-05, allocations: 2.312 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002414/0.002444, allocations: 1.542 MB / 327.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.004094, allocations: 1.383 MB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.004145, allocations: 0 / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.004315, allocations: 39.7 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.004523, allocations: 51.64 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.005038, allocations: 199 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.005154, allocations: 63.64 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.005192, allocations: 0 / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.005264, allocations: 35.91 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.005328, allocations: 19.97 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.005341, allocations: 4 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.005896, allocations: 307.5 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.005914, allocations: 7.938 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.005949, allocations: 15.98 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.006311, allocations: 299.1 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006314, allocations: 0 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006315, allocations: 0 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006319, allocations: 0 / 329.9 MB, free: 3.133 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.0004019/0.006721, allocations: 318.3 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.006765, allocations: 20.02 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.006799, allocations: 8.938 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.006895, allocations: 117.6 kB / 330.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.006908, allocations: 4.375 kB / 330.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.006928, allocations: 4.375 kB / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.007019, allocations: 49.06 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007029, allocations: 192 / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.007039, allocations: 8.125 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.007046, allocations: 0 / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.007079, allocations: 23.91 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.007192, allocations: 74.7 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.007238, allocations: 34.52 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.007261, allocations: 20.84 kB / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.007305, allocations: 16 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.007329, allocations: 34.56 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.92e-07/0.007329, allocations: 0 / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.007451/0.01478, allocations: 1.205 MB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.01482, allocations: 59.41 kB / 331.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.01492, allocations: 130.6 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01494, allocations: 29.7 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.01498, allocations: 88.08 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.01503, allocations: 43.62 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.01512, allocations: 45.67 kB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.01522, allocations: 322.8 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.01532, allocations: 94.81 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.01541, allocations: 99.92 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.01565, allocations: 181.7 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01566, allocations: 3.938 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002742/0.01593, allocations: 230.7 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01595, allocations: 4 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01596, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01597, allocations: 0 / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.01621, allocations: 59.88 kB / 333.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01621, allocations: 3.938 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.01634, allocations: 23.97 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01636, allocations: 7.984 kB / 333.2 MB, free: 15.63 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 8.118e-05/0.01644, allocations: 113.8 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.01647, allocations: 8 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.01677, allocations: 154.3 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01677, allocations: 0 / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01677, allocations: 7.938 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.01678, allocations: 7.922 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.01759, allocations: 429.1 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01759, allocations: 0 / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.01777, allocations: 63.86 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01777, allocations: 96 / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01779, allocations: 11.94 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01779, allocations: 0 / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01779, allocations: 0 / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.01804, allocations: 272.1 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.01808, allocations: 23.88 kB / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01811, allocations: 3.938 kB / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.01825, allocations: 35.97 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.01827, allocations: 7.984 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.01828, allocations: 7.984 kB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.01831, allocations: 22.94 kB / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01831, allocations: 0 / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000426/0.01873, allocations: 175.6 kB / 334.5 MB, free: 14.24 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.00047/0.0192, allocations: 259.7 kB / 334.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.01945, allocations: 167.9 kB / 335 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.01946, allocations: 3.938 kB / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.01954, allocations: 52.77 kB / 335 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01972, allocations: 31.97 kB / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.02081, allocations: 374.9 kB / 335.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.02086, allocations: 63.34 kB / 335.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.02098, allocations: 40.69 kB / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.02116, allocations: 71.34 kB / 335.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02116, allocations: 0 / 335.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of Templates: time 0.0124/0.03356, allocations: 9.961 MB / 345.5 MB, free: 3.234 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 -s gbode -gbm=radauIIA3 -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.2010571267455816]