Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001905/0.001905, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.001852/0.001852, allocations: 212.8 kB / 24.46 MB, free: 4.359 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.46/1.46, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.88 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 83.86 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003025/0.3168, allocations: 1.478 MB / 0.5626 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3191, allocations: 1.461 MB / 0.5641 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.3191, allocations: 0 / 0.5641 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.3193, allocations: 39.77 kB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.3196, allocations: 51.48 kB / 0.5642 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.3202, allocations: 223.1 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3203, allocations: 55.66 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.3204, allocations: 8 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.3204, allocations: 27.86 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.3205, allocations: 27.84 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3205, allocations: 4 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.3212, allocations: 335.6 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.3213, allocations: 7.984 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.3213, allocations: 31.8 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.3219, allocations: 274 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3219, allocations: 0 / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3219, allocations: 0 / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.3219, allocations: 4 kB / 0.5651 GB, free: 1.031 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.0006542/0.3225, allocations: 426.6 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3226, allocations: 12.03 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3226, allocations: 4.891 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3228, allocations: 172.3 kB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3228, allocations: 4.375 kB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3228, allocations: 4.359 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.323, allocations: 69.8 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.323, allocations: 4 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.323, allocations: 4 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.323, allocations: 0 / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3231, allocations: 55.97 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.3234, allocations: 193.5 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.612e-05/0.3235, allocations: 54.5 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.3235, allocations: 36.84 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.735e-05/0.3236, allocations: 19.98 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3236, allocations: 42.5 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3236, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02121/0.3448, allocations: 1.623 MB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3449, allocations: 55.41 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.345, allocations: 138 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.3451, allocations: 25.7 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.3451, allocations: 84.14 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.3452, allocations: 51.62 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3453, allocations: 41.69 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3455, allocations: 322.8 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.3462, allocations: 207.8 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/0.3468, allocations: 206.6 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3482, allocations: 384.7 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3482, allocations: 4 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001534/0.3498, allocations: 456.7 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3498, allocations: 4 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3498, allocations: 3.938 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3498, allocations: 0 / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.3504, allocations: 67.88 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3504, allocations: 4 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.3509, allocations: 39.95 kB / 0.5698 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3509, allocations: 7.984 kB / 0.5698 GB, free: 12.02 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.0001483/0.351, allocations: 121.8 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3511, allocations: 7.953 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.3526, allocations: 366 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3526, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3526, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3526, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.3557, allocations: 0.7817 MB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3557, allocations: 96 / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.3562, allocations: 63.94 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3562, allocations: 0 / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.3563, allocations: 11.98 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3563, allocations: 4 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3563, allocations: 7.938 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3577, allocations: 417.8 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3578, allocations: 109 kB / 0.5716 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.3579, allocations: 0 / 0.5716 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.3584, allocations: 47.95 kB / 0.5716 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.3584, allocations: 7.938 kB / 0.5716 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3584, allocations: 8.078 kB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.3585, allocations: 106.3 kB / 0.5717 GB, free: 9.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 3.938 kB / 0.5717 GB, free: 9.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006477/0.3592, allocations: 179.5 kB / 0.5719 GB, free: 9.688 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.0008296/0.36, allocations: 246.7 kB / 0.5722 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.3614, allocations: 359.7 kB / 0.5725 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3614, allocations: 0 / 0.5725 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.3621, allocations: 140 kB / 0.5726 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3625, allocations: 24 kB / 0.5727 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3652, allocations: 0.5105 MB / 0.5732 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3656, allocations: 0.6924 MB / 0.5738 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.3658, allocations: 40.62 kB / 0.5739 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.366, allocations: 23.42 kB / 0.5739 GB, free: 7.594 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.366, allocations: 0 / 0.5739 GB, free: 7.594 MB / 414.1 MB Notification: Performance of Templates: time 0.01691/0.3829, allocations: 8.604 MB / 0.5823 GB, free: 15.01 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.212414466775954]