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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002067/0.002067, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00221/0.00221, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003017/0.003017, allocations: 80.48 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1926, allocations: 62.46 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00462/0.1973, allocations: 1.465 MB / 481.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.201, allocations: 1.444 MB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.2011, allocations: 0 / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.2015, allocations: 39.77 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.2018, allocations: 47.69 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009465/0.2028, allocations: 227.4 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.203, allocations: 51.67 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.203, allocations: 7.984 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.2031, allocations: 23.88 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2032, allocations: 31.84 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2033, allocations: 0 / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.2044, allocations: 339.5 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.2044, allocations: 15.94 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.2045, allocations: 27.8 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007023/0.2052, allocations: 267.4 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2053, allocations: 0 / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2053, allocations: 0 / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2053, allocations: 0 / 484.1 MB, free: 1.211 MB / 350.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.0008315/0.2061, allocations: 419.2 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.2062, allocations: 16.02 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.2063, allocations: 12.84 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.2065, allocations: 172.3 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2065, allocations: 384 / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2066, allocations: 4.375 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.2068, allocations: 65.8 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2068, allocations: 0 / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2068, allocations: 4 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2069, allocations: 4 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.207, allocations: 51.97 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.2074, allocations: 189.4 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2076, allocations: 70.48 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2077, allocations: 40.84 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/0.2078, allocations: 20.22 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/0.2079, allocations: 38.48 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.2079, allocations: 0 / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.03364/0.2416, allocations: 1.615 MB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.2417, allocations: 55.41 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2419, allocations: 130 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.242, allocations: 29.7 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.242, allocations: 96.06 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.2421, allocations: 43.39 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2423, allocations: 41.69 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.2426, allocations: 322.8 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2437, allocations: 199.9 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.2449, allocations: 203.8 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.2468, allocations: 380.7 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2468, allocations: 0 / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001482/0.2483, allocations: 460.8 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2483, allocations: 10.48 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2484, allocations: 0 / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.2484, allocations: 7.984 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.2489, allocations: 67.88 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2489, allocations: 0 / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.2494, allocations: 39.95 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2494, allocations: 8 kB / 488.8 MB, free: 12.21 MB / 366.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.000156/0.2496, allocations: 117.8 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.2496, allocations: 15.8 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.2511, allocations: 362 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2511, allocations: 4 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2512, allocations: 4 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2512, allocations: 0 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.2541, allocations: 0.7739 MB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2541, allocations: 0 / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.2547, allocations: 67.97 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.2547, allocations: 7.984 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.2547, allocations: 8 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.2547, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.2547, allocations: 11.86 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.2561, allocations: 418.1 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2562, allocations: 109 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2563, allocations: 4 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.2567, allocations: 39.97 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.2568, allocations: 15.86 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2568, allocations: 11.98 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.624e-05/0.2569, allocations: 101.1 kB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2569, allocations: 0 / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006169/0.2575, allocations: 167.9 kB / 491 MB, free: 9.883 MB / 366.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.000749/0.2583, allocations: 255 kB / 491.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.2596, allocations: 375.9 kB / 491.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2597, allocations: 3.938 kB / 491.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.2603, allocations: 152 kB / 491.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2606, allocations: 26.52 kB / 491.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2633, allocations: 0.5107 MB / 492.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2636, allocations: 0.6963 MB / 493 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.2639, allocations: 32.66 kB / 493.1 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.264, allocations: 27.41 kB / 493.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.264, allocations: 0 / 493.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01472/0.2788, allocations: 8.533 MB / 0.4899 GB, free: 15.21 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches