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.001469/0.001469, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001698/0.001698, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.359/1.359, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.2095/0.2095, allocations: 46.92 MB / 361.5 MB, free: 4.172 MB / 286.1 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 0.00221/0.00221, allocations: 83.86 kB / 0.4974 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3024, allocations: 66.07 MB / 0.562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002659/0.305, allocations: 1.492 MB / 0.5634 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3071, allocations: 1.465 MB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.3072, allocations: 0 / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.3073, allocations: 35.77 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3075, allocations: 47.48 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.308, allocations: 227.1 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3081, allocations: 51.67 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.3081, allocations: 7.984 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.3082, allocations: 19.94 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.3083, allocations: 31.84 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.3083, allocations: 3.938 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.3088, allocations: 339.6 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.3089, allocations: 11.98 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.3089, allocations: 35.73 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3093, allocations: 273.8 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3093, allocations: 0 / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3093, allocations: 0 / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3093, allocations: 0 / 0.5659 GB, free: 208 kB / 398.1 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.0005288/0.3099, allocations: 345.5 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3099, allocations: 8.031 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3099, allocations: 12.83 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3101, allocations: 118.4 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3101, allocations: 8.375 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3101, allocations: 384 / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3102, allocations: 73.8 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3103, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3103, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3103, allocations: 4 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.3104, allocations: 55.97 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.3105, allocations: 164.6 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.3106, allocations: 62.5 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.3107, allocations: 36.84 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.3108, allocations: 20.2 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3108, allocations: 42.5 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.3108, allocations: 0 / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01922/0.33, allocations: 1.622 MB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3301, allocations: 55.41 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3302, allocations: 138 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3302, allocations: 29.64 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.3303, allocations: 88.14 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.3303, allocations: 43.64 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.3304, allocations: 45.69 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3306, allocations: 322.8 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/0.3312, allocations: 207.9 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.3318, allocations: 211.8 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.333, allocations: 388.7 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.333, allocations: 0 / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001332/0.3344, allocations: 461.4 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3344, allocations: 4 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3344, allocations: 0 / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3344, allocations: 0 / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.3349, allocations: 67.88 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3349, allocations: 4 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.3353, allocations: 43.95 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.3353, allocations: 4 kB / 0.5704 GB, free: 11.37 MB / 414.1 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 0.0001288/0.3355, allocations: 123.1 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.3355, allocations: 7.953 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.3369, allocations: 373.9 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3369, allocations: 0 / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3369, allocations: 4 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3369, allocations: 0 / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.3396, allocations: 0.7534 MB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3396, allocations: 4 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.3401, allocations: 72.02 kB / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3401, allocations: 0 / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3401, allocations: 4 kB / 0.5717 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.3401, allocations: 4 kB / 0.5717 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3401, allocations: 7.875 kB / 0.5717 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.3413, allocations: 417.9 kB / 0.5721 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.3414, allocations: 31.91 kB / 0.5721 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.3414, allocations: 11.94 kB / 0.5721 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3419, allocations: 31.97 kB / 0.5722 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.3419, allocations: 19.91 kB / 0.5722 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.3419, allocations: 15.98 kB / 0.5722 GB, free: 9.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.285e-05/0.342, allocations: 105.7 kB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.342, allocations: 0 / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.3426, allocations: 171.6 kB / 0.5725 GB, free: 9.137 MB / 414.1 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.0006233/0.3432, allocations: 253.7 kB / 0.5727 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3445, allocations: 363.7 kB / 0.5731 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3445, allocations: 0 / 0.5731 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.345, allocations: 148.1 kB / 0.5732 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3454, allocations: 15 kB / 0.5732 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.3478, allocations: 0.5361 MB / 0.5737 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3482, allocations: 0.6924 MB / 0.5744 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3483, allocations: 31.41 kB / 0.5744 GB, free: 7.043 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3483, allocations: 0 / 0.5744 GB, free: 7.043 MB / 414.1 MB Notification: Performance of Templates: time 0.007316/0.3556, allocations: 4.612 MB / 0.5789 GB, free: 2.422 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.161259924992919]