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.0008273/0.0008273, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.001992, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007275/0.0007275, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001693, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9611/0.9611, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08322/1.044, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2471/0.2471, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02179/0.2689, allocations: 13.24 MB / 292.8 MB, free: 6.395 MB / 282.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 3.096e-06/3.096e-06, allocations: 4 kB / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.329e-05, allocations: 2.312 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002256/0.002279, allocations: 1.556 MB / 295.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003637, allocations: 1.394 MB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.00367, allocations: 0 / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.16e-05/0.003762, allocations: 27.78 kB / 297.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.003889, allocations: 51.62 kB / 297.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.004259, allocations: 207 kB / 297.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.665e-05/0.004356, allocations: 59.67 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.004388, allocations: 3.984 kB / 297.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.004451, allocations: 39.89 kB / 297.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.004501, allocations: 15.98 kB / 297.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.00451, allocations: 4 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.00493, allocations: 303.5 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.004946, allocations: 7.938 kB / 297.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.004968, allocations: 15.94 kB / 297.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.005254, allocations: 259.2 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.005263, allocations: 4 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005264, allocations: 0 / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.005272, allocations: 0 / 298 MB, free: 1.152 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.0004014/0.005673, allocations: 422.2 kB / 298.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.005699, allocations: 12.92 kB / 298.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.005724, allocations: 4.938 kB / 298.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.005938, allocations: 117.7 kB / 298.6 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.005947, allocations: 4.375 kB / 298.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.005968, allocations: 384 / 298.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.817e-05/0.006046, allocations: 57.05 kB / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006054, allocations: 192 / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.006061, allocations: 4.125 kB / 298.6 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.006066, allocations: 3.938 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.0061, allocations: 19.92 kB / 298.7 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.55e-05/0.006195, allocations: 78.7 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.006242, allocations: 30.56 kB / 298.8 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.006264, allocations: 21.09 kB / 298.8 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.00631, allocations: 23.97 kB / 298.8 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.006326, allocations: 34.56 kB / 298.8 MB, free: 232 kB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.006327, allocations: 0 / 298.8 MB, free: 232 kB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.007418/0.01374, allocations: 1.535 MB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.01377, allocations: 55.41 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.01384, allocations: 141 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.01386, allocations: 29.7 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.01389, allocations: 92.08 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.01392, allocations: 43.62 kB / 300.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.01399, allocations: 41.66 kB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.01406, allocations: 318.8 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.01415, allocations: 110.8 kB / 301.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.01424, allocations: 112 kB / 301.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01442, allocations: 201 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01442, allocations: 3.938 kB / 301.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002166/0.01464, allocations: 256.6 kB / 301.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01465, allocations: 4 kB / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01465, allocations: 0 / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.01466, allocations: 0 / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.01492, allocations: 67.92 kB / 301.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01492, allocations: 11.88 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01505, allocations: 23.97 kB / 301.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01506, allocations: 11.98 kB / 301.9 MB, free: 13.12 MB / 298.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 6.941e-05/0.01513, allocations: 113.8 kB / 302 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.01516, allocations: 7.984 kB / 302 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.01569, allocations: 156.1 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01569, allocations: 0 / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01569, allocations: 0 / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.0157, allocations: 15.92 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.01643, allocations: 437 kB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01643, allocations: 4 kB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.01664, allocations: 67.95 kB / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.01668, allocations: 23.88 kB / 302.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01668, allocations: 3.938 kB / 302.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.0167, allocations: 7.984 kB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.0167, allocations: 0 / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0167, allocations: 0 / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.01689, allocations: 268.7 kB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.01691, allocations: 3.938 kB / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01706, allocations: 39.95 kB / 303 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.01707, allocations: 7.984 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01708, allocations: 4 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.054e-05/0.0171, allocations: 24.83 kB / 303 MB, free: 11.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0171, allocations: 0 / 303 MB, free: 11.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.01743, allocations: 167.6 kB / 303.2 MB, free: 11.72 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.0003853/0.01782, allocations: 263.9 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.01803, allocations: 184.7 kB / 303.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.01804, allocations: 12 kB / 303.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.01812, allocations: 69.34 kB / 303.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.01831, allocations: 95.52 kB / 303.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.01989, allocations: 394.8 kB / 304.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.01992, allocations: 63.97 kB / 304.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.02005, allocations: 48.69 kB / 304.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.02021, allocations: 71.34 kB / 304.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02021, allocations: 0 / 304.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Templates: time 0.01078/0.031, allocations: 9.838 MB / 314.2 MB, free: 0.6406 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7931133583188057]