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.001388/0.001388, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001456/0.001456, allocations: 212.5 kB / 25.13 MB, free: 3.582 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.477/1.477, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.2264/0.2264, allocations: 46.94 MB / 362 MB, free: 4.23 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.002417/0.002417, allocations: 79.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3027, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002686/0.3054, allocations: 1.471 MB / 0.5638 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.3076, allocations: 1.461 MB / 0.5652 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.3076, allocations: 0 / 0.5652 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.3078, allocations: 27.83 kB / 0.5652 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.308, allocations: 55.44 kB / 0.5653 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.3085, allocations: 223.1 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3086, allocations: 55.72 kB / 0.5655 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.3087, allocations: 7.984 kB / 0.5655 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.3087, allocations: 27.86 kB / 0.5656 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.3088, allocations: 23.86 kB / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3088, allocations: 0 / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005657/0.3094, allocations: 291.6 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.3094, allocations: 7.984 kB / 0.5659 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3094, allocations: 23.81 kB / 0.5659 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.3099, allocations: 273.7 kB / 0.5662 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3099, allocations: 4 kB / 0.5662 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3099, allocations: 0 / 0.5662 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3099, allocations: 0 / 0.5662 GB, free: 328 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.0005555/0.3104, allocations: 345.5 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3105, allocations: 8.031 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3105, allocations: 12.89 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3106, allocations: 114.5 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3106, allocations: 8.312 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3107, allocations: 4.375 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3108, allocations: 77.78 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3108, allocations: 0 / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3108, allocations: 0 / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3108, allocations: 4 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.3109, allocations: 63.95 kB / 0.5668 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.3112, allocations: 156.6 kB / 0.5669 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.3112, allocations: 58.5 kB / 0.567 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.3113, allocations: 40.84 kB / 0.567 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.3114, allocations: 19.98 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3114, allocations: 38.5 kB / 0.5671 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3114, allocations: 0 / 0.5671 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01942/0.3308, allocations: 1.63 MB / 0.5687 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.3309, allocations: 55.41 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.331, allocations: 136.9 kB / 0.5689 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3311, allocations: 29.7 kB / 0.5689 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3311, allocations: 84.12 kB / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.3312, allocations: 43.64 kB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3313, allocations: 53.69 kB / 0.5691 GB, free: 13.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3315, allocations: 318.8 kB / 0.5694 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.3321, allocations: 203.9 kB / 0.5696 GB, free: 12.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.3328, allocations: 215.2 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3341, allocations: 388.6 kB / 0.5701 GB, free: 12.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3341, allocations: 0 / 0.5701 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001405/0.3355, allocations: 465.4 kB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3355, allocations: 4 kB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3355, allocations: 0 / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3355, allocations: 0 / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.336, allocations: 63.94 kB / 0.5706 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.336, allocations: 7.938 kB / 0.5706 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.3364, allocations: 39.95 kB / 0.5707 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.3364, allocations: 7.984 kB / 0.5707 GB, free: 11.48 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.0001296/0.3366, allocations: 121.8 kB / 0.5708 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.3366, allocations: 7.953 kB / 0.5708 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.338, allocations: 370 kB / 0.5712 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.338, allocations: 4 kB / 0.5712 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.338, allocations: 0 / 0.5712 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.338, allocations: 3.938 kB / 0.5712 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.3408, allocations: 0.7573 MB / 0.5719 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3408, allocations: 0 / 0.5719 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.3413, allocations: 67.92 kB / 0.572 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3413, allocations: 0 / 0.572 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3413, allocations: 8.094 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3413, allocations: 3.984 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3413, allocations: 8.094 kB / 0.572 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3426, allocations: 425.8 kB / 0.5724 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.3427, allocations: 27.91 kB / 0.5724 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3427, allocations: 4 kB / 0.5724 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.3432, allocations: 39.95 kB / 0.5725 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3432, allocations: 15.92 kB / 0.5725 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.3432, allocations: 8 kB / 0.5725 GB, free: 9.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.049e-05/0.3433, allocations: 103.2 kB / 0.5726 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3433, allocations: 0 / 0.5726 GB, free: 9.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.3439, allocations: 175.6 kB / 0.5728 GB, free: 9.254 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.0006414/0.3445, allocations: 246.7 kB / 0.573 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3458, allocations: 359.7 kB / 0.5733 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3458, allocations: 4 kB / 0.5733 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.3464, allocations: 148.1 kB / 0.5735 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3468, allocations: 18.16 kB / 0.5735 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.3493, allocations: 0.5149 MB / 0.574 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3497, allocations: 0.6924 MB / 0.5747 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.3498, allocations: 40.62 kB / 0.5747 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.35, allocations: 31.41 kB / 0.5748 GB, free: 7.145 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.35, allocations: 3.938 kB / 0.5748 GB, free: 7.141 MB / 414.1 MB Notification: Performance of Templates: time 0.01413/0.3641, allocations: 8.634 MB / 0.5832 GB, free: 14.53 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.19405737798661]