Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007781/0.0007781, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001835, allocations: 452 kB / 10.43 MB, free: 264 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.0007177/0.0007177, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00093/0.001648, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8557/0.8557, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.008, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1195/0.1195, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02023/0.1398, allocations: 12.3 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.452e-05, allocations: 10.19 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001622/0.001637, allocations: 1.531 MB / 268.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.002895, allocations: 1.41 MB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.002924, allocations: 0 / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.493e-05/0.002999, allocations: 35.72 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.003092, allocations: 51.67 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.003352, allocations: 203 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.00345, allocations: 51.67 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.003484, allocations: 7.984 kB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.003545, allocations: 39.89 kB / 270.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.0036, allocations: 23.92 kB / 270.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003613, allocations: 0 / 270.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.003979, allocations: 291.5 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.003994, allocations: 7.938 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.004013, allocations: 15.94 kB / 271.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.0043, allocations: 259.3 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.00431, allocations: 0 / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004311, allocations: 0 / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.00432, allocations: 0 / 271.3 MB, free: 14.62 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.0004418/0.004761, allocations: 436.9 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.004792, allocations: 12.03 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.00482, allocations: 4.938 kB / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.004901, allocations: 113.7 kB / 271.9 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.00491, allocations: 384 / 271.9 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.004931, allocations: 8.375 kB / 271.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.407e-05/0.005005, allocations: 52.98 kB / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005013, allocations: 4.188 kB / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.005021, allocations: 12.12 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.005027, allocations: 0 / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.005058, allocations: 15.97 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.796e-05/0.005156, allocations: 86.64 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.005205, allocations: 30.56 kB / 272.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.005227, allocations: 12.86 kB / 272.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.005272, allocations: 19.98 kB / 272.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.005292, allocations: 38.5 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 5.71e-07/0.005293, allocations: 0 / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.007498/0.01279, allocations: 1.53 MB / 273.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.01282, allocations: 59.34 kB / 273.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.01289, allocations: 142.5 kB / 273.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01291, allocations: 33.64 kB / 273.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.01294, allocations: 84.12 kB / 274 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.01297, allocations: 39.64 kB / 274 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.01303, allocations: 41.66 kB / 274.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.01311, allocations: 326.8 kB / 274.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.0132, allocations: 114.8 kB / 274.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.01329, allocations: 108 kB / 274.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.01346, allocations: 199.7 kB / 274.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01346, allocations: 3.938 kB / 274.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002396/0.0137, allocations: 249.6 kB / 275 MB, free: 10.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01372, allocations: 8 kB / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.01373, allocations: 0 / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01374, allocations: 0 / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.01401, allocations: 63.86 kB / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.01401, allocations: 4.094 kB / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01414, allocations: 35.97 kB / 275.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01416, allocations: 3.984 kB / 275.1 MB, free: 10.57 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 8.382e-05/0.01424, allocations: 117.8 kB / 275.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.01426, allocations: 4 kB / 275.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.01452, allocations: 166.3 kB / 275.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01453, allocations: 4 kB / 275.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.01453, allocations: 0 / 275.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01453, allocations: 7.875 kB / 275.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.01531, allocations: 448.9 kB / 275.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01531, allocations: 4.094 kB / 275.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.01562, allocations: 59.92 kB / 275.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.01567, allocations: 15.94 kB / 276 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01567, allocations: 7.938 kB / 276 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01569, allocations: 8 kB / 276 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.01569, allocations: 7.984 kB / 276 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01569, allocations: 0 / 276 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.0159, allocations: 268.7 kB / 276.2 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.01592, allocations: 7.938 kB / 276.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.01607, allocations: 23.97 kB / 276.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.01608, allocations: 11.98 kB / 276.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.0161, allocations: 4 kB / 276.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.01612, allocations: 29.34 kB / 276.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01612, allocations: 0 / 276.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.01647, allocations: 171.5 kB / 276.5 MB, free: 9.152 MB / 282.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.0004524/0.01692, allocations: 267.8 kB / 276.7 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01718, allocations: 184.7 kB / 276.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.01718, allocations: 0 / 276.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.01727, allocations: 60.77 kB / 277 MB, free: 8.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01749, allocations: 103.6 kB / 277.1 MB, free: 8.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.01911, allocations: 396.8 kB / 277.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.01915, allocations: 63.34 kB / 277.5 MB, free: 8.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.01928, allocations: 48.95 kB / 277.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.01946, allocations: 75.33 kB / 277.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01946, allocations: 0 / 277.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of Templates: time 0.1132/0.1327, allocations: 9.806 MB / 287.5 MB, free: 14.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.869702748954296]