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.001216/0.001216, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 206.7 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3205, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002578/0.3231, allocations: 1.463 MB / 0.5331 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3251, allocations: 1.442 MB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.3252, allocations: 4 kB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.3254, allocations: 34.14 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.3256, allocations: 43.7 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.3262, allocations: 225.3 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3263, allocations: 64.05 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.3264, allocations: 3.906 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.3265, allocations: 24.48 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.3265, allocations: 26.17 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3266, allocations: 1.375 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.3272, allocations: 334.9 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.3273, allocations: 14.67 kB / 0.5353 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.3273, allocations: 25.44 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.3279, allocations: 280.8 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3279, allocations: 5.375 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3279, allocations: 0 / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3279, allocations: 0 / 0.5355 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.0005625/0.3285, allocations: 423.4 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3285, allocations: 9 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3285, allocations: 7.141 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3287, allocations: 172.6 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.3287, allocations: 9.375 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3287, allocations: 7.688 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3289, allocations: 75.05 kB / 0.5362 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3289, allocations: 4.922 kB / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3289, allocations: 0 / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3289, allocations: 1.031 kB / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.329, allocations: 54.81 kB / 0.5363 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.3292, allocations: 188.9 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.3293, allocations: 61.75 kB / 0.5365 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.3294, allocations: 44.09 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.3294, allocations: 19.61 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3295, allocations: 39.34 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.3295, allocations: 0.6562 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02012/0.3496, allocations: 1.622 MB / 0.5382 GB, free: 8.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3497, allocations: 53.75 kB / 0.5383 GB, free: 8.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3498, allocations: 135.3 kB / 0.5384 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.3498, allocations: 26.86 kB / 0.5384 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.3499, allocations: 93.08 kB / 0.5385 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.3499, allocations: 40 kB / 0.5385 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3501, allocations: 51.02 kB / 0.5386 GB, free: 8.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3502, allocations: 317.1 kB / 0.5389 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.3508, allocations: 205.4 kB / 0.5391 GB, free: 7.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.3514, allocations: 203.2 kB / 0.5393 GB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3527, allocations: 394.7 kB / 0.5396 GB, free: 7.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3527, allocations: 1.688 kB / 0.5397 GB, free: 7.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001325/0.354, allocations: 450.8 kB / 0.5401 GB, free: 7.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.354, allocations: 4.938 kB / 0.5401 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3541, allocations: 0 / 0.5401 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3541, allocations: 1.156 kB / 0.5401 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.3546, allocations: 68.36 kB / 0.5402 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3546, allocations: 1.25 kB / 0.5402 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.355, allocations: 43.81 kB / 0.5402 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3551, allocations: 9.172 kB / 0.5402 GB, free: 7.34 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.0001119/0.3552, allocations: 117.6 kB / 0.5403 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3552, allocations: 7.891 kB / 0.5403 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3566, allocations: 357.8 kB / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3566, allocations: 3.938 kB / 0.5407 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3566, allocations: 1.281 kB / 0.5407 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3567, allocations: 106.9 kB / 0.5408 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.3568, allocations: 13.08 kB / 0.5408 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3572, allocations: 36.59 kB / 0.5408 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3572, allocations: 11.95 kB / 0.5408 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001582/0.3588, allocations: 431.3 kB / 0.5412 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00126/0.3601, allocations: 492 kB / 0.5417 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005591/0.3607, allocations: 149.3 kB / 0.5419 GB, free: 6.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.3607, allocations: 102.9 kB / 0.542 GB, free: 6.129 MB / 398.1 MB Notification: Performance of Backend: time 3.7e-07/0.3607, allocations: 0 / 0.542 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.3625, allocations: 480.3 kB / 0.5424 GB, free: 5.867 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006609/0.3632, allocations: 0.6507 MB / 0.543 GB, free: 5.223 MB / 398.1 MB Notification: Performance of Templates: time 0.01359/0.3768, allocations: 8.652 MB / 0.5515 GB, free: 13.06 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/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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches