Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001394, allocations: 112.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001365, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 55.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3949, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00261/0.3976, allocations: 1.457 MB / 0.521 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3995, allocations: 1.41 MB / 0.5224 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.3995, allocations: 1.125 kB / 0.5224 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.3997, allocations: 38.78 kB / 0.5224 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.4, allocations: 45.25 kB / 0.5224 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.4005, allocations: 222.2 kB / 0.5227 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.4006, allocations: 55.39 kB / 0.5227 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.4007, allocations: 5.453 kB / 0.5227 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.4008, allocations: 30.03 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.4008, allocations: 30.09 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.4009, allocations: 2.125 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.4015, allocations: 332.9 kB / 0.5231 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.4015, allocations: 11.78 kB / 0.5231 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.4016, allocations: 27.39 kB / 0.5231 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.402, allocations: 277.9 kB / 0.5234 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.402, allocations: 2.188 kB / 0.5234 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4021, allocations: 0 / 0.5234 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4021, allocations: 0 / 0.5234 GB, free: 1.156 MB / 382.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.0005235/0.4026, allocations: 415.1 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4026, allocations: 10.12 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.4027, allocations: 8.281 kB / 0.5238 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4028, allocations: 176.7 kB / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4028, allocations: 7.391 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.4028, allocations: 6.719 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.403, allocations: 67.11 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.403, allocations: 0 / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.403, allocations: 1.719 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.403, allocations: 0 / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4032, allocations: 58.92 kB / 0.5241 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.4034, allocations: 185.9 kB / 0.5243 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.4035, allocations: 62.98 kB / 0.5243 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.4035, allocations: 48.28 kB / 0.5244 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.4036, allocations: 23.09 kB / 0.5244 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.4036, allocations: 35.62 kB / 0.5245 GB, free: 140 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.4036, allocations: 1.094 kB / 0.5245 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02022/0.4239, allocations: 1.619 MB / 0.526 GB, free: 15.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.424, allocations: 52.97 kB / 0.5261 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4241, allocations: 137.1 kB / 0.5262 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.4242, allocations: 33.7 kB / 0.5262 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.4242, allocations: 83.52 kB / 0.5263 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.4243, allocations: 34.67 kB / 0.5264 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.4244, allocations: 51.23 kB / 0.5264 GB, free: 15.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4245, allocations: 320.3 kB / 0.5267 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.4251, allocations: 202 kB / 0.5269 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.4258, allocations: 208.7 kB / 0.5271 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.427, allocations: 381.6 kB / 0.5275 GB, free: 14.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.427, allocations: 1.375 kB / 0.5275 GB, free: 14.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001374/0.4284, allocations: 455 kB / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4284, allocations: 5.156 kB / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4284, allocations: 0 / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4285, allocations: 1.219 kB / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.429, allocations: 71.52 kB / 0.528 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.429, allocations: 1.406 kB / 0.528 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.4294, allocations: 40.75 kB / 0.528 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.4295, allocations: 8.922 kB / 0.528 GB, free: 14.31 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.000117/0.4296, allocations: 121.8 kB / 0.5281 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.4296, allocations: 10.94 kB / 0.5282 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.4311, allocations: 366.3 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4311, allocations: 1.125 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4311, allocations: 5.219 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4311, allocations: 0 / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.4341, allocations: 0.7854 MB / 0.5293 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4341, allocations: 1.094 kB / 0.5293 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.4346, allocations: 64.97 kB / 0.5293 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4347, allocations: 1.125 kB / 0.5293 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.4347, allocations: 8.672 kB / 0.5293 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4347, allocations: 1 kB / 0.5293 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4347, allocations: 10.19 kB / 0.5294 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4361, allocations: 425.3 kB / 0.5298 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4362, allocations: 103.5 kB / 0.5299 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.4363, allocations: 6.188 kB / 0.5299 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.4367, allocations: 41.2 kB / 0.5299 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.4368, allocations: 16.58 kB / 0.5299 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.4368, allocations: 6.344 kB / 0.5299 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.513e-05/0.4369, allocations: 99.09 kB / 0.53 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4369, allocations: 0 / 0.53 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008502/0.4377, allocations: 172.9 kB / 0.5302 GB, free: 12.8 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.001024/0.4388, allocations: 253.2 kB / 0.5304 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.4402, allocations: 384.5 kB / 0.5308 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4403, allocations: 0 / 0.5308 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.4409, allocations: 148.3 kB / 0.5309 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4413, allocations: 13.95 kB / 0.531 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.4439, allocations: 0.5166 MB / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4442, allocations: 0.7045 MB / 0.5321 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.4444, allocations: 24.55 kB / 0.5322 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4444, allocations: 0 / 0.5322 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Templates: time 0.01171/0.4561, allocations: 4.615 MB / 0.5367 GB, free: 8.926 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches