Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002772, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007485/0.0007485, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009072/0.001656, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09143/1.108, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02263/0.2663, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 3.938 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.628e-05, allocations: 5.328 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003164/0.003191, allocations: 1.547 MB / 292.2 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.005571, allocations: 1.396 MB / 293.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.005641, allocations: 0 / 293.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.005795, allocations: 39.28 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.006017, allocations: 37.98 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.00671, allocations: 210 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.006848, allocations: 59.66 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.006891, allocations: 4 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.00698, allocations: 35.91 kB / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.007048, allocations: 19.92 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.007066, allocations: 0 / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.007813, allocations: 315.5 kB / 294.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.007834, allocations: 4 kB / 294.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.007867, allocations: 15.94 kB / 294.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.008388, allocations: 259.3 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.996e-05/0.008408, allocations: 0 / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.00841, allocations: 0 / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.00843, allocations: 0 / 294.5 MB, free: 4.379 MB / 282.7 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.0006762/0.009106, allocations: 425.6 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.009148, allocations: 8.031 kB / 295 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.009185, allocations: 4.938 kB / 295 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.00931, allocations: 121.7 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.009326, allocations: 8.375 kB / 295.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.009352, allocations: 4.375 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.009469, allocations: 53 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.009483, allocations: 192 / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.009493, allocations: 4.125 kB / 295.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.009499, allocations: 0 / 295.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.009549, allocations: 15.98 kB / 295.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.009692, allocations: 74.7 kB / 295.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.009758, allocations: 34.62 kB / 295.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.009791, allocations: 16.86 kB / 295.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.009859, allocations: 28.67 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.009887, allocations: 34.56 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.00989, allocations: 0 / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.01057/0.02046, allocations: 1.21 MB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.0205, allocations: 59.41 kB / 296.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.02061, allocations: 136.9 kB / 296.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.02064, allocations: 29.7 kB / 296.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.02068, allocations: 96.02 kB / 296.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.02073, allocations: 43.58 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/0.02082, allocations: 45.64 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.02093, allocations: 318.8 kB / 297.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.02109, allocations: 114.8 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.02123, allocations: 109.7 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.02151, allocations: 203.6 kB / 297.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.02151, allocations: 3.938 kB / 297.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000361/0.02187, allocations: 242.2 kB / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.0219, allocations: 9.719 kB / 297.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.02191, allocations: 0 / 297.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.02192, allocations: 0 / 297.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.02232, allocations: 67.86 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.02233, allocations: 3.938 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.02255, allocations: 31.97 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.02257, allocations: 3.984 kB / 298 MB, free: 0.668 MB / 282.7 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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 9.99e-05/0.02267, allocations: 117.8 kB / 298.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.0227, allocations: 7.984 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.02308, allocations: 158.9 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.02308, allocations: 4 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02308, allocations: 0 / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.02309, allocations: 11.92 kB / 298.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.02427, allocations: 441 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.02428, allocations: 0 / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.02463, allocations: 59.92 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.02471, allocations: 23.98 kB / 298.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.02471, allocations: 7.938 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.02473, allocations: 7.984 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.02474, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.02474, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.02505, allocations: 265.8 kB / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.02509, allocations: 7.938 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.02534, allocations: 27.97 kB / 299.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.02536, allocations: 11.98 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.02538, allocations: 8 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.02541, allocations: 20.84 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02541, allocations: 0 / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005877/0.026, allocations: 171.5 kB / 299.4 MB, free: 15.26 MB / 298.7 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.0005842/0.02658, allocations: 267.9 kB / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.02692, allocations: 189.6 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.02694, allocations: 0 / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.02705, allocations: 60.77 kB / 299.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.02733, allocations: 43.95 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.02993, allocations: 390.5 kB / 300.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.02998, allocations: 67.34 kB / 300.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.03018, allocations: 44.7 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.03042, allocations: 75.33 kB / 300.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.03042, allocations: 0 / 300.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of Templates: time 0.01213/0.04255, allocations: 9.801 MB / 310.3 MB, free: 4.289 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.063082678243518]