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.001147/0.001147, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.08 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4743, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002558/0.4769, allocations: 1.465 MB / 0.5324 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.479, allocations: 1.446 MB / 0.5338 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.479, allocations: 0 / 0.5338 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.4792, allocations: 29.48 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.4794, allocations: 44.14 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.4799, allocations: 233.8 kB / 0.5341 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4801, allocations: 60.23 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.428e-05/0.4801, allocations: 4.125 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.4801, allocations: 20.3 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.4802, allocations: 25.48 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.4802, allocations: 2.75 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.4808, allocations: 342.8 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.4808, allocations: 13.3 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.4809, allocations: 26.81 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.4813, allocations: 282.2 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4813, allocations: 0 / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4814, allocations: 0 / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.4814, allocations: 0 / 0.5349 GB, free: 10.66 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.000581/0.482, allocations: 412.5 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.482, allocations: 9.5 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.4821, allocations: 6.969 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4822, allocations: 176.7 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4822, allocations: 5.344 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4823, allocations: 7.438 kB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4824, allocations: 72.3 kB / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4824, allocations: 0 / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4824, allocations: 0 / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4825, allocations: 5.359 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.4826, allocations: 54.16 kB / 0.5356 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.4828, allocations: 189 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.4829, allocations: 61.62 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.483, allocations: 44.59 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.483, allocations: 19.77 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4831, allocations: 39.62 kB / 0.5359 GB, free: 9.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4831, allocations: 3.938 kB / 0.5359 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02106/0.5041, allocations: 1.626 MB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.5042, allocations: 53.59 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.5044, allocations: 134.7 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.5044, allocations: 29.7 kB / 0.5377 GB, free: 8.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.5045, allocations: 90.19 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.5046, allocations: 43.58 kB / 0.5378 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.5047, allocations: 50.7 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5048, allocations: 317 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.5055, allocations: 205.6 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.5062, allocations: 206.2 kB / 0.5386 GB, free: 7.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.5076, allocations: 383.6 kB / 0.539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5076, allocations: 0 / 0.539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001475/0.5091, allocations: 455.8 kB / 0.5394 GB, free: 7.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5091, allocations: 4.812 kB / 0.5394 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5091, allocations: 0 / 0.5394 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5091, allocations: 1 kB / 0.5394 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.5097, allocations: 67.86 kB / 0.5395 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5097, allocations: 1.094 kB / 0.5395 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.5102, allocations: 41.41 kB / 0.5395 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.5102, allocations: 8.516 kB / 0.5395 GB, free: 7.359 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.0001359/0.5104, allocations: 126 kB / 0.5396 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.5104, allocations: 6.812 kB / 0.5396 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.5119, allocations: 361.7 kB / 0.54 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5119, allocations: 6.344 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5119, allocations: 0 / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5119, allocations: 0 / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.5151, allocations: 0.7824 MB / 0.5408 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5151, allocations: 1.125 kB / 0.5408 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.5156, allocations: 72.62 kB / 0.5408 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.5157, allocations: 1.531 kB / 0.5408 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.5157, allocations: 8.203 kB / 0.5408 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5157, allocations: 1.594 kB / 0.5408 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.5157, allocations: 9.344 kB / 0.5408 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.5172, allocations: 417.4 kB / 0.5412 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.5173, allocations: 112.2 kB / 0.5413 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.5174, allocations: 5.562 kB / 0.5414 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.5179, allocations: 45.7 kB / 0.5414 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.5179, allocations: 16.73 kB / 0.5414 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.518, allocations: 5.469 kB / 0.5414 GB, free: 5.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.5181, allocations: 106.9 kB / 0.5415 GB, free: 5.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5181, allocations: 0 / 0.5415 GB, free: 5.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008008/0.5189, allocations: 167.8 kB / 0.5417 GB, free: 5.844 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.0009192/0.5198, allocations: 251.1 kB / 0.5419 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.5213, allocations: 376.2 kB / 0.5423 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5213, allocations: 3.938 kB / 0.5423 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.5219, allocations: 148 kB / 0.5424 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.5224, allocations: 18.02 kB / 0.5424 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.5251, allocations: 0.5022 MB / 0.5429 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.5255, allocations: 0.7002 MB / 0.5436 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.5257, allocations: 36.78 kB / 0.5437 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.5258, allocations: 27.41 kB / 0.5437 GB, free: 4.312 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5258, allocations: 0 / 0.5437 GB, free: 4.312 MB / 398.1 MB Notification: Performance of Templates: time 0.01606/0.5419, allocations: 8.682 MB / 0.5522 GB, free: 11.63 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