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.001425/0.001425, allocations: 91.33 kB / 20.43 MB, free: 4.164 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.001874/0.001874, allocations: 169 kB / 23.8 MB, free: 0.793 MB / 18.57 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 1.06/1.06, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.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.1479/0.1479, allocations: 32.37 MB / 270.4 MB, free: 14.8 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.893e-06/1.893e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.945e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.005075/0.005105, allocations: 1.483 MB / 349.2 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.006652, allocations: 1.406 MB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.006705, allocations: 4 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.006891, allocations: 27.78 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.007113, allocations: 55.56 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.007554, allocations: 227 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.00768, allocations: 59.66 kB / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.007726, allocations: 4 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.007795, allocations: 31.91 kB / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.007859, allocations: 19.97 kB / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.007873, allocations: 4 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.008294, allocations: 267.5 kB / 351.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.008315, allocations: 7.938 kB / 351.3 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.008345, allocations: 15.98 kB / 351.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.008738, allocations: 303.1 kB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.008743, allocations: 0 / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.008744, allocations: 4 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.008751, allocations: 0 / 351.6 MB, free: 5.52 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.000493/0.009244, allocations: 443.9 kB / 352 MB, free: 5.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.009296, allocations: 12.03 kB / 352 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.009346, allocations: 8.891 kB / 352 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.009437, allocations: 124.5 kB / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.009452, allocations: 4.375 kB / 352.2 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.00948, allocations: 8.312 kB / 352.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.009598, allocations: 46.25 kB / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.00961, allocations: 192 / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-06/0.009619, allocations: 8.125 kB / 352.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.009623, allocations: 0 / 352.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.009672, allocations: 27.97 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.009826, allocations: 144.5 kB / 352.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.009892, allocations: 39.05 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.009929, allocations: 27.62 kB / 352.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.009989, allocations: 20.22 kB / 352.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.01001, allocations: 41.33 kB / 352.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.01001, allocations: 0 / 352.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.007726/0.01774, allocations: 1.314 MB / 353.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.01777, allocations: 51.41 kB / 353.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.01784, allocations: 197.9 kB / 354.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01786, allocations: 25.7 kB / 354.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.01789, allocations: 138.8 kB / 354.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.01792, allocations: 35.7 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.01799, allocations: 55.3 kB / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.01804, allocations: 0.4923 MB / 354.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.01817, allocations: 136 kB / 354.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01828, allocations: 136 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.01854, allocations: 239.6 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01855, allocations: 0 / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003146/0.01886, allocations: 309.6 kB / 355.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01888, allocations: 11.94 kB / 355.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01888, allocations: 0 / 355.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.0189, allocations: 4 kB / 355.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.01913, allocations: 55.94 kB / 355.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01914, allocations: 3.938 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.01927, allocations: 27.97 kB / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.01929, allocations: 8 kB / 355.7 MB, free: 1.141 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.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 8.186e-05/0.01937, allocations: 164.5 kB / 355.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.0194, allocations: 19.89 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.01973, allocations: 186.4 kB / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01973, allocations: 4 kB / 356.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01974, allocations: 4 kB / 356.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01974, allocations: 0 / 356.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/0.02062, allocations: 0.547 MB / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02063, allocations: 4 kB / 356.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.0208, allocations: 63.97 kB / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.0208, allocations: 0 / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.02082, allocations: 7.984 kB / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02083, allocations: 4 kB / 356.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.02083, allocations: 0 / 356.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.02116, allocations: 326.7 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.02122, allocations: 35.91 kB / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.02124, allocations: 4 kB / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.0214, allocations: 23.97 kB / 357.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.02143, allocations: 11.98 kB / 357.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.02144, allocations: 8 kB / 357.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.0215, allocations: 150 kB / 357.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0215, allocations: 0 / 357.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004319/0.02193, allocations: 167.6 kB / 357.4 MB, free: 15.34 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.0005532/0.02249, allocations: 282.5 kB / 357.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.02283, allocations: 227.5 kB / 357.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02283, allocations: 0 / 357.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.02293, allocations: 67.59 kB / 358 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.02318, allocations: 36.11 kB / 358 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.02448, allocations: 395.1 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.02453, allocations: 59.36 kB / 358.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.02464, allocations: 44.64 kB / 358.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.02475, allocations: 32.47 kB / 358.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02475, allocations: 0 / 358.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.01155/0.0363, allocations: 10.06 MB / 368.6 MB, free: 4.07 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4099837788380682]