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.001637/0.001637, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 204.7 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.524/1.524, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2615/0.2615, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 76.16 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.473, 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.003036/0.4761, allocations: 1.462 MB / 0.5324 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.4785, allocations: 1.445 MB / 0.5338 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.4786, allocations: 0 / 0.5338 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.4788, allocations: 33.77 kB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.4791, allocations: 47.3 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.4797, allocations: 227.1 kB / 0.5341 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.4799, allocations: 64.02 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.4799, allocations: 3.594 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.48, allocations: 24.92 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.4801, allocations: 24.92 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.4801, allocations: 2.281 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007167/0.4809, allocations: 342.7 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.4809, allocations: 10.67 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.4809, allocations: 29.44 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.4814, allocations: 278.3 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4814, allocations: 1.375 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4814, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4815, allocations: 0 / 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.0006922/0.4822, allocations: 412.1 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.4822, allocations: 8.875 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.4823, allocations: 7.656 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4824, allocations: 178.2 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4825, allocations: 10.55 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.4825, allocations: 11.47 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4827, allocations: 67.11 kB / 0.5355 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4827, allocations: 4 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4827, allocations: 1.156 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4828, allocations: 1.031 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.4829, allocations: 61.27 kB / 0.5356 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.4831, allocations: 186 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4833, allocations: 65.19 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.4834, allocations: 44.09 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.262e-05/0.4835, allocations: 16.61 kB / 0.5359 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4835, allocations: 39.78 kB / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.4835, allocations: 0 / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01952/0.503, allocations: 1.622 MB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.5031, allocations: 52.47 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5033, allocations: 134.5 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.5033, allocations: 25.7 kB / 0.5377 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.5034, allocations: 93.34 kB / 0.5378 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.5034, allocations: 37.11 kB / 0.5379 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.5036, allocations: 58.23 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5037, allocations: 317.3 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.5043, allocations: 204.9 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.505, allocations: 207.3 kB / 0.5386 GB, free: 7.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.5062, allocations: 378.5 kB / 0.539 GB, free: 7.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5063, allocations: 0 / 0.539 GB, free: 7.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001397/0.5077, allocations: 452.7 kB / 0.5394 GB, free: 7.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5077, allocations: 6.75 kB / 0.5394 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5077, allocations: 0 / 0.5394 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5077, allocations: 0 / 0.5394 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.5083, allocations: 76.05 kB / 0.5395 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5083, allocations: 1.094 kB / 0.5395 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.5087, allocations: 37.28 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.5088, allocations: 8.172 kB / 0.5395 GB, free: 7.344 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.0001321/0.5089, allocations: 117.3 kB / 0.5396 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.5089, allocations: 8.469 kB / 0.5396 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.5103, allocations: 369.6 kB / 0.54 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5104, allocations: 1.156 kB / 0.54 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.5104, allocations: 7.938 kB / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5104, allocations: 1.188 kB / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.5132, allocations: 0.7853 MB / 0.5408 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5132, allocations: 1.094 kB / 0.5408 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.5137, allocations: 64.78 kB / 0.5408 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5137, allocations: 1.406 kB / 0.5408 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.5138, allocations: 8.766 kB / 0.5408 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.5138, allocations: 1.281 kB / 0.5408 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5138, allocations: 5.094 kB / 0.5408 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5151, allocations: 414.1 kB / 0.5412 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5152, allocations: 115.4 kB / 0.5414 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5153, allocations: 6.156 kB / 0.5414 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.5157, allocations: 36.98 kB / 0.5414 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.5157, allocations: 17.52 kB / 0.5414 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.5158, allocations: 13.44 kB / 0.5414 GB, free: 5.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.5158, allocations: 101.8 kB / 0.5415 GB, free: 5.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5159, allocations: 0 / 0.5415 GB, free: 5.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007608/0.5166, allocations: 168.6 kB / 0.5417 GB, free: 5.836 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.0006828/0.5173, allocations: 247.7 kB / 0.5419 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.5187, allocations: 376.8 kB / 0.5423 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5187, allocations: 3.938 kB / 0.5423 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.5193, allocations: 148.8 kB / 0.5424 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.5197, allocations: 14.73 kB / 0.5424 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.5223, allocations: 0.5009 MB / 0.5429 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.5225, allocations: 0.6924 MB / 0.5436 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.5228, allocations: 48.62 kB / 0.5436 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.5229, allocations: 27.41 kB / 0.5437 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5229, allocations: 0 / 0.5437 GB, free: 4.277 MB / 398.1 MB Notification: Performance of Templates: time 0.01523/0.5382, allocations: 8.55 MB / 0.552 GB, free: 11.72 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