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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 205.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 79.88 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3791, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002765/0.3818, allocations: 1.448 MB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3839, allocations: 1.286 MB / 0.5639 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.3839, allocations: 4 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.3841, allocations: 19.86 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.3843, allocations: 55.48 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.3848, allocations: 227.1 kB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3849, allocations: 55.72 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.385, allocations: 4 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.3851, allocations: 23.92 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.3851, allocations: 23.86 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.3851, allocations: 0 / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.3857, allocations: 275.6 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.3857, allocations: 11.92 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.3857, allocations: 27.86 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3862, allocations: 261.8 kB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3862, allocations: 0 / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3862, allocations: 0 / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3862, allocations: 4 kB / 0.5648 GB, free: 252 kB / 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.0005907/0.3868, allocations: 345.5 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3868, allocations: 8.031 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3868, allocations: 12.88 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.387, allocations: 118.4 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.387, allocations: 8.375 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.387, allocations: 4.375 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3872, allocations: 69.8 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3872, allocations: 0 / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3872, allocations: 0 / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3872, allocations: 4 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.3873, allocations: 59.97 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3875, allocations: 133.2 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3876, allocations: 58.48 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.3876, allocations: 36.84 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.3877, allocations: 16 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3877, allocations: 38.56 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3877, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01929/0.407, allocations: 1.646 MB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4071, allocations: 51.41 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4072, allocations: 136.3 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4073, allocations: 29.7 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.4073, allocations: 96.06 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.4074, allocations: 39.64 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4075, allocations: 49.69 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4076, allocations: 314.8 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.4083, allocations: 203.9 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.4089, allocations: 211.3 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.4102, allocations: 392.6 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4102, allocations: 0 / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001398/0.4116, allocations: 461.4 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4116, allocations: 6.031 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4116, allocations: 3.984 kB / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4117, allocations: 0 / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.4122, allocations: 67.88 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4122, allocations: 4 kB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.4126, allocations: 43.95 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.4126, allocations: 4 kB / 0.5693 GB, free: 11.45 MB / 414.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.0001303/0.4127, allocations: 117.8 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.4128, allocations: 7.953 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.4142, allocations: 370 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4142, allocations: 0 / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.4142, allocations: 7.984 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4142, allocations: 0 / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.417, allocations: 0.6994 MB / 0.5705 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.417, allocations: 0 / 0.5705 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.4174, allocations: 59.94 kB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.4174, allocations: 8.078 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.4175, allocations: 15.98 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4175, allocations: 0 / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.4175, allocations: 7.938 kB / 0.5705 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.4188, allocations: 425.8 kB / 0.571 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.4189, allocations: 27.92 kB / 0.571 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.4189, allocations: 7.984 kB / 0.571 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.4193, allocations: 39.97 kB / 0.571 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.4194, allocations: 15.86 kB / 0.571 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4194, allocations: 7.984 kB / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.4195, allocations: 105.9 kB / 0.5712 GB, free: 9.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4195, allocations: 0 / 0.5712 GB, free: 9.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.4201, allocations: 167.6 kB / 0.5713 GB, free: 9.293 MB / 414.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.0007825/0.4209, allocations: 254.7 kB / 0.5716 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4222, allocations: 355.7 kB / 0.5719 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.4222, allocations: 4 kB / 0.5719 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.4228, allocations: 148 kB / 0.572 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.4232, allocations: 23.59 kB / 0.5721 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4258, allocations: 0.5071 MB / 0.5726 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.4259, allocations: 79.89 kB / 0.5726 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.4261, allocations: 36.64 kB / 0.5727 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4262, allocations: 35.34 kB / 0.5727 GB, free: 7.805 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4262, allocations: 0 / 0.5727 GB, free: 7.805 MB / 414.1 MB Notification: Performance of Templates: time 0.01887/0.4451, allocations: 8.993 MB / 0.5815 GB, free: 14.81 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.516144139692187]