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.001545/0.001545, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001206/0.001206, allocations: 168 kB / 24.99 MB, free: 8.289 MB / 18.57 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.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.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.3074/0.3074, allocations: 32.8 MB / 294.6 MB, free: 1.309 MB / 266.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.845e-06/2.845e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.103e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002859/0.00289, allocations: 1.504 MB / 377.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004493, allocations: 1.39 MB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.004543, allocations: 0 / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.004745, allocations: 31.73 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.004998, allocations: 55.67 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.005618, allocations: 219 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.00575, allocations: 59.66 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.005799, allocations: 4 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.005877, allocations: 31.95 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.005938, allocations: 23.92 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.005951, allocations: 0 / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.006401, allocations: 279.5 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.006417, allocations: 8 kB / 379.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.006448, allocations: 11.94 kB / 379.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.006848, allocations: 307.1 kB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006852, allocations: 0 / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.006854, allocations: 0 / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006859, allocations: 0 / 379.9 MB, free: 1.047 MB / 346.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.000504/0.007364, allocations: 447.8 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.007405, allocations: 16.02 kB / 380.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.007449, allocations: 8.891 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.00756, allocations: 112.6 kB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.007575, allocations: 12.31 kB / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.0076, allocations: 384 / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.007711, allocations: 46.25 kB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.007723, allocations: 192 / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.007735, allocations: 4.125 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.007744, allocations: 4 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.007795, allocations: 27.95 kB / 380.6 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.007969, allocations: 144.5 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.00803, allocations: 47 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.008069, allocations: 23.67 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.167e-05/0.008131, allocations: 27.97 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.008163, allocations: 33.39 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 6.71e-07/0.008164, allocations: 0 / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008075/0.01624, allocations: 1.306 MB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.01628, allocations: 59.41 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01639, allocations: 193 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.01641, allocations: 25.7 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.01646, allocations: 143 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.0165, allocations: 39.62 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.01657, allocations: 55.3 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.0167, allocations: 0.4923 MB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.01684, allocations: 132 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01698, allocations: 140 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.01727, allocations: 238.7 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01727, allocations: 4 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003644/0.01763, allocations: 301.6 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01765, allocations: 13.97 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.01766, allocations: 4 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01768, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.01791, allocations: 59.94 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.01792, allocations: 3.938 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01806, allocations: 27.97 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01807, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.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.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.0001071/0.01818, allocations: 160.6 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.01822, allocations: 23.88 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.01858, allocations: 194.2 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01858, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01858, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01859, allocations: 3.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.01955, allocations: 0.5586 MB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01955, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.01972, allocations: 55.94 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01973, allocations: 8.094 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01975, allocations: 4 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01975, allocations: 3.984 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01975, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.02006, allocations: 330.7 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.02011, allocations: 31.91 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.02013, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02029, allocations: 31.97 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.02031, allocations: 11.98 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.02032, allocations: 4 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.02038, allocations: 139.2 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02038, allocations: 0 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000437/0.02081, allocations: 171.6 kB / 385.8 MB, free: 10.86 MB / 362.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.0005211/0.02134, allocations: 274.6 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.02183, allocations: 223.5 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02183, allocations: 0 / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.02194, allocations: 71.78 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.02217, allocations: 35.95 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.02345, allocations: 393.3 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.02351, allocations: 63.34 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.02363, allocations: 40.69 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.02374, allocations: 28.47 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02374, allocations: 0 / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of Templates: time 0.009767/0.03351, allocations: 9.081 MB / 395.9 MB, free: 0.6055 MB / 362.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 -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.5174727228004485]