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.0008208/0.0008209, allocations: 99.2 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009913/0.0009914, allocations: 209.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 9.492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 46.19 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002611, allocations: 11.98 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 63.55 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001722/0.1212, allocations: 1.18 MB / 484.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.1235, allocations: 1.464 MB / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.1236, allocations: 0 / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1238, allocations: 35.84 kB / 486.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.124, allocations: 31.83 kB / 486.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.1246, allocations: 163.4 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1247, allocations: 55.73 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.1248, allocations: 4.281 kB / 486.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.1248, allocations: 31.84 kB / 486.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.1249, allocations: 27.86 kB / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1249, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.1256, allocations: 331.6 kB / 487 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1257, allocations: 11.91 kB / 487.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.1258, allocations: 53.52 kB / 487.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1262, allocations: 191.5 kB / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1262, allocations: 0 / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1262, allocations: 0 / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1262, allocations: 4 kB / 487.3 MB, free: 0.5312 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.0005642/0.1268, allocations: 411.2 kB / 487.7 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1268, allocations: 8.875 kB / 487.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1269, allocations: 8.844 kB / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.127, allocations: 171.7 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.127, allocations: 384 / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1271, allocations: 4.375 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1272, allocations: 77.78 kB / 488 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1272, allocations: 11.94 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1273, allocations: 7.922 kB / 488 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1273, allocations: 0 / 488 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.1274, allocations: 51.97 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.1276, allocations: 197.4 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.1277, allocations: 58.55 kB / 488.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.1277, allocations: 40.84 kB / 488.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.1278, allocations: 16 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1278, allocations: 42.48 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1279, allocations: 0 / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02281/0.1507, allocations: 1.681 MB / 490.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1508, allocations: 55.41 kB / 490.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1509, allocations: 134.1 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.151, allocations: 25.7 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.151, allocations: 96.03 kB / 490.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.1511, allocations: 35.45 kB / 490.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.1511, allocations: 25.7 kB / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1513, allocations: 318.8 kB / 490.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007574/0.152, allocations: 211.9 kB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.1528, allocations: 223.8 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.1543, allocations: 392.7 kB / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1543, allocations: 0 / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001661/0.156, allocations: 496.5 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.156, allocations: 6.344 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.156, allocations: 0 / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1561, allocations: 0 / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.1567, allocations: 79.89 kB / 492.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1567, allocations: 0 / 492.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.1573, allocations: 43.95 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.1573, allocations: 15.97 kB / 492.2 MB, free: 11.41 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.0001319/0.1574, allocations: 121.7 kB / 492.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1575, allocations: 7.906 kB / 492.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.1592, allocations: 398 kB / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1592, allocations: 4 kB / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1592, allocations: 0 / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1592, allocations: 0 / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.1626, allocations: 0.8244 MB / 493.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1627, allocations: 0 / 493.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.1632, allocations: 87.86 kB / 493.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.1633, allocations: 4 kB / 493.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.1633, allocations: 15.97 kB / 493.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1633, allocations: 4 kB / 493.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1633, allocations: 3.938 kB / 493.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1649, allocations: 449.7 kB / 494.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.165, allocations: 113 kB / 494.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1651, allocations: 0 / 494.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.1656, allocations: 47.95 kB / 494.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1657, allocations: 7.938 kB / 494.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.1657, allocations: 19.97 kB / 494.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.466e-05/0.1658, allocations: 103.2 kB / 494.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1658, allocations: 0 / 494.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006142/0.1664, allocations: 168 kB / 494.5 MB, free: 8.938 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.0007005/0.1671, allocations: 243 kB / 494.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.1687, allocations: 399.7 kB / 495.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1687, allocations: 0 / 495.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007205/0.1694, allocations: 167.9 kB / 495.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1698, allocations: 16 kB / 495.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.1729, allocations: 0.6121 MB / 495.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1731, allocations: 0.6932 MB / 496.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.1733, allocations: 51.34 kB / 496.7 MB, free: 6.699 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1733, allocations: 0 / 496.7 MB, free: 6.699 MB / 366.1 MB Notification: Performance of Templates: time 0.007723/0.1811, allocations: 4.671 MB / 0.4896 GB, free: 2.023 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches