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.001025/0.001025, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001848, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4802, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00289/0.4832, allocations: 1.472 MB / 0.5324 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.4855, allocations: 1.445 MB / 0.5338 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.4856, allocations: 0 / 0.5338 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.4858, allocations: 34.41 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.4861, allocations: 44.08 kB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.4866, allocations: 226.7 kB / 0.5341 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.4868, allocations: 59.03 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.4868, allocations: 8.125 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.4869, allocations: 24.28 kB / 0.5342 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.487, allocations: 25.48 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.487, allocations: 1.375 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.4877, allocations: 342.8 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.4877, allocations: 10.67 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.4878, allocations: 25.44 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.4883, allocations: 277.7 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4883, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4883, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.4883, allocations: 5.406 kB / 0.5349 GB, free: 10.65 MB / 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.0006564/0.489, allocations: 422.8 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.489, allocations: 9.156 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.4891, allocations: 11.44 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.4893, allocations: 174.3 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4893, allocations: 5.656 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4893, allocations: 7.812 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4895, allocations: 67.14 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4895, allocations: 4 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4895, allocations: 1.062 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.4895, allocations: 5.109 kB / 0.5356 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4897, allocations: 53.97 kB / 0.5356 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.4899, allocations: 193.9 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.49, allocations: 64.89 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.4901, allocations: 40.31 kB / 0.5359 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.4902, allocations: 19.34 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4903, allocations: 39.59 kB / 0.5359 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.4903, allocations: 1.25 kB / 0.5359 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01943/0.5097, allocations: 1.621 MB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.5098, allocations: 53.41 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.51, allocations: 133.6 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.51, allocations: 26.73 kB / 0.5377 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.5101, allocations: 93.03 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.5102, allocations: 48.59 kB / 0.5379 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.5103, allocations: 46.59 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5105, allocations: 320.8 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/0.5111, allocations: 201.3 kB / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.5118, allocations: 206.8 kB / 0.5386 GB, free: 7.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.5131, allocations: 387.4 kB / 0.539 GB, free: 7.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5131, allocations: 0 / 0.539 GB, free: 7.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001499/0.5146, allocations: 448.4 kB / 0.5394 GB, free: 7.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.5147, allocations: 8.812 kB / 0.5394 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5147, allocations: 3.984 kB / 0.5394 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5147, allocations: 1.125 kB / 0.5394 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.5152, allocations: 67.69 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.5153, allocations: 1.312 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.5157, allocations: 41.2 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.5157, allocations: 8.375 kB / 0.5395 GB, free: 7.328 MB / 398.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.0001348/0.5159, allocations: 117.1 kB / 0.5396 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.5159, allocations: 7.453 kB / 0.5397 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.5174, allocations: 362.7 kB / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.5174, allocations: 5 kB / 0.54 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.5174, allocations: 5.203 kB / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5175, allocations: 0 / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.5204, allocations: 0.7742 MB / 0.5408 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5204, allocations: 4.969 kB / 0.5408 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.5209, allocations: 64.19 kB / 0.5408 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5209, allocations: 2.375 kB / 0.5408 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.5209, allocations: 8.109 kB / 0.5408 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5209, allocations: 5.062 kB / 0.5408 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5209, allocations: 9.062 kB / 0.5409 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5223, allocations: 415 kB / 0.5412 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.5225, allocations: 106.8 kB / 0.5413 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.5225, allocations: 6.562 kB / 0.5414 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.523, allocations: 37.44 kB / 0.5414 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.523, allocations: 20.45 kB / 0.5414 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.523, allocations: 14.02 kB / 0.5414 GB, free: 5.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.23e-05/0.5231, allocations: 106.3 kB / 0.5415 GB, free: 5.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5231, allocations: 4 kB / 0.5415 GB, free: 5.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007593/0.5239, allocations: 168.1 kB / 0.5417 GB, free: 5.824 MB / 398.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.0008874/0.5248, allocations: 252.4 kB / 0.5419 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.5262, allocations: 378.6 kB / 0.5423 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5263, allocations: 4 kB / 0.5423 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.5269, allocations: 148.4 kB / 0.5424 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.5273, allocations: 22.02 kB / 0.5425 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.5299, allocations: 0.5064 MB / 0.543 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5302, allocations: 0.6963 MB / 0.5436 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.5304, allocations: 36.64 kB / 0.5437 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.5306, allocations: 27.41 kB / 0.5437 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5306, allocations: 4 kB / 0.5437 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Templates: time 0.0165/0.5471, allocations: 8.554 MB / 0.5521 GB, free: 11.71 MB / 414.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