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.001996/0.001996, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.00208/0.00208, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.687/1.687, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.284/0.284, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] 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.002184/0.002184, allocations: 87.84 kB / 0.4917 GB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1656, allocations: 65.99 MB / 0.5562 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003055/0.1687, allocations: 1.469 MB / 0.5576 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.171, allocations: 1.465 MB / 0.559 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.1711, allocations: 4 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1712, allocations: 35.77 kB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1715, allocations: 43.7 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.172, allocations: 227.1 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1722, allocations: 55.78 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.1722, allocations: 0 / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.1723, allocations: 23.86 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.1723, allocations: 31.84 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.1723, allocations: 0 / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.173, allocations: 339.5 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.173, allocations: 11.98 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.173, allocations: 23.81 kB / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.1735, allocations: 279.1 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1735, allocations: 4 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1735, allocations: 4 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1735, allocations: 0 / 0.5601 GB, free: 1.695 MB / 414.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.000738/0.1743, allocations: 426.6 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1743, allocations: 8.031 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.1744, allocations: 12.88 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1746, allocations: 168.3 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1746, allocations: 384 / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1747, allocations: 8.375 kB / 0.5607 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1748, allocations: 69.73 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1748, allocations: 11.94 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1748, allocations: 0 / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1748, allocations: 0 / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.1749, allocations: 51.97 kB / 0.5608 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.1752, allocations: 193.5 kB / 0.561 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1753, allocations: 58.55 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.1754, allocations: 32.84 kB / 0.5611 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/0.1754, allocations: 24 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1755, allocations: 42.44 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.825e-06/0.1755, allocations: 3.984 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02069/0.1961, allocations: 1.63 MB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.1963, allocations: 55.41 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1965, allocations: 132.5 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.1966, allocations: 29.7 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1966, allocations: 88.12 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.1967, allocations: 43.62 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1968, allocations: 45.69 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002771/0.1971, allocations: 322.8 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.1977, allocations: 199.9 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.1984, allocations: 206.6 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.1997, allocations: 388.6 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1997, allocations: 0 / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001441/0.2012, allocations: 452.6 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2012, allocations: 11.98 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2012, allocations: 0 / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2012, allocations: 0 / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.2017, allocations: 63.94 kB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2018, allocations: 0 / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.2022, allocations: 39.95 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.2022, allocations: 12 kB / 0.5647 GB, free: 12.68 MB / 430.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.0001432/0.2023, allocations: 121.7 kB / 0.5648 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2024, allocations: 3.953 kB / 0.5648 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.2038, allocations: 362.1 kB / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2038, allocations: 3.984 kB / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2038, allocations: 0 / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2038, allocations: 0 / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.2068, allocations: 0.7816 MB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2068, allocations: 8.094 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.2073, allocations: 67.88 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2073, allocations: 0 / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.2073, allocations: 7.984 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2073, allocations: 4 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2073, allocations: 7.938 kB / 0.566 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2087, allocations: 425.9 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2088, allocations: 105 kB / 0.5665 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.2088, allocations: 8 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.2093, allocations: 35.97 kB / 0.5666 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.2093, allocations: 15.92 kB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.2093, allocations: 11.98 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.2094, allocations: 101.7 kB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2094, allocations: 4 kB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006462/0.2101, allocations: 167.6 kB / 0.5669 GB, free: 10.35 MB / 430.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.0007492/0.2108, allocations: 254.7 kB / 0.5671 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.2122, allocations: 354 kB / 0.5675 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.2122, allocations: 4 kB / 0.5675 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.2128, allocations: 148 kB / 0.5676 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.2132, allocations: 11.98 kB / 0.5676 GB, free: 9.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.216, allocations: 0.5027 MB / 0.5681 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.2164, allocations: 0.6963 MB / 0.5688 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.2165, allocations: 40.86 kB / 0.5688 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.2167, allocations: 27.41 kB / 0.5688 GB, free: 8.258 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2167, allocations: 4 kB / 0.5689 GB, free: 8.254 MB / 430.1 MB Notification: Performance of Templates: time 0.01582/0.2325, allocations: 8.564 MB / 0.5772 GB, free: 15.68 MB / 446.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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8573511661961675]