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.001263/0.001263, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001191/0.001191, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2359/0.2359, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4419, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002966/0.445, allocations: 1.448 MB / 0.5203 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.4475, allocations: 1.418 MB / 0.5217 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.4476, allocations: 0 / 0.5217 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.448, allocations: 40.08 kB / 0.5217 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.4483, allocations: 44.05 kB / 0.5218 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.4493, allocations: 227.1 kB / 0.522 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.4495, allocations: 50.38 kB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.4495, allocations: 4.969 kB / 0.5221 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.4496, allocations: 26.91 kB / 0.5221 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4497, allocations: 29.25 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4498, allocations: 2.188 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.4508, allocations: 329.9 kB / 0.5224 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.4508, allocations: 7.828 kB / 0.5224 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.4509, allocations: 38.81 kB / 0.5225 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007824/0.4517, allocations: 274.8 kB / 0.5227 GB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4517, allocations: 0 / 0.5227 GB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4517, allocations: 0 / 0.5227 GB, free: 1.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4517, allocations: 1.344 kB / 0.5227 GB, free: 1.164 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.0007873/0.4525, allocations: 415.5 kB / 0.5231 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.4526, allocations: 9.734 kB / 0.5231 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.4527, allocations: 8.312 kB / 0.5231 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.4528, allocations: 168.8 kB / 0.5233 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4529, allocations: 10.66 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.4529, allocations: 2.562 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.4531, allocations: 71.53 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4532, allocations: 0 / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4532, allocations: 5.141 kB / 0.5234 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4532, allocations: 2 kB / 0.5234 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.4534, allocations: 57.97 kB / 0.5234 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.4536, allocations: 185.9 kB / 0.5236 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4538, allocations: 67.95 kB / 0.5237 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4539, allocations: 48.59 kB / 0.5237 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.454, allocations: 25.48 kB / 0.5238 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4541, allocations: 38.48 kB / 0.5238 GB, free: 140 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.4541, allocations: 0 / 0.5238 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02847/0.4825, allocations: 1.617 MB / 0.5254 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.4827, allocations: 52.78 kB / 0.5254 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4829, allocations: 133.3 kB / 0.5256 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.483, allocations: 31.08 kB / 0.5256 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.483, allocations: 89.5 kB / 0.5257 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.4831, allocations: 40.95 kB / 0.5257 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4833, allocations: 42.19 kB / 0.5257 GB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4835, allocations: 321.6 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/0.4844, allocations: 201.5 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009354/0.4854, allocations: 205.9 kB / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.4873, allocations: 389.2 kB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4873, allocations: 0 / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002145/0.4894, allocations: 455.2 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4895, allocations: 4.375 kB / 0.5273 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.4895, allocations: 1.531 kB / 0.5273 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.4896, allocations: 7.922 kB / 0.5273 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.4903, allocations: 64.28 kB / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4903, allocations: 0 / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.4909, allocations: 41.7 kB / 0.5274 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.491, allocations: 5.156 kB / 0.5274 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.0001859/0.4912, allocations: 125.6 kB / 0.5275 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4913, allocations: 10.66 kB / 0.5275 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.4933, allocations: 358 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4933, allocations: 1.156 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4933, allocations: 9.484 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4933, allocations: 0 / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.4975, allocations: 0.778 MB / 0.5286 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.4975, allocations: 1.125 kB / 0.5286 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.4982, allocations: 72.91 kB / 0.5287 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.4982, allocations: 1.156 kB / 0.5287 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.4983, allocations: 8.734 kB / 0.5287 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4983, allocations: 5.062 kB / 0.5287 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.4983, allocations: 5.125 kB / 0.5287 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.5004, allocations: 427 kB / 0.5291 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.5006, allocations: 110.8 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.5006, allocations: 5.531 kB / 0.5292 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.5013, allocations: 34.03 kB / 0.5292 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.5013, allocations: 20.23 kB / 0.5293 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.5014, allocations: 9.266 kB / 0.5293 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.5015, allocations: 98.38 kB / 0.5294 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5015, allocations: 1.531 kB / 0.5294 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0011/0.5026, allocations: 171.5 kB / 0.5295 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.001073/0.5037, allocations: 252.7 kB / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.5056, allocations: 377.1 kB / 0.5301 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5056, allocations: 0 / 0.5301 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.5065, allocations: 148.6 kB / 0.5303 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.507, allocations: 17.7 kB / 0.5303 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.5105, allocations: 0.4953 MB / 0.5308 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.511, allocations: 0.6973 MB / 0.5315 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.5113, allocations: 42.61 kB / 0.5315 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.5116, allocations: 27.12 kB / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5116, allocations: 0 / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Templates: time 0.02286/0.5345, allocations: 8.541 MB / 0.5399 GB, free: 6.156 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/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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches