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.001437/0.001437, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001518/0.001518, allocations: 217 kB / 23.76 MB, free: 4.727 MB / 14.72 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.264/1.264, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 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.1953/0.1953, allocations: 44.23 MB / 331 MB, free: 9.523 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.89 kB / 468.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 61.04 MB / 0.5174 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002559/0.1086, allocations: 1.479 MB / 0.5188 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1107, allocations: 1.473 MB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.1107, allocations: 0 / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1109, allocations: 31.78 kB / 0.5203 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1111, allocations: 55.61 kB / 0.5203 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.1115, allocations: 231.1 kB / 0.5206 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1116, allocations: 47.78 kB / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1117, allocations: 7.984 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.1117, allocations: 23.88 kB / 0.5206 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.1118, allocations: 27.84 kB / 0.5207 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1118, allocations: 4 kB / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.1123, allocations: 335.6 kB / 0.521 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1124, allocations: 7.984 kB / 0.521 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.1124, allocations: 23.81 kB / 0.521 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1128, allocations: 287.1 kB / 0.5213 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1128, allocations: 0 / 0.5213 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1128, allocations: 0 / 0.5213 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1128, allocations: 4 kB / 0.5213 GB, free: 2.781 MB / 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.0005509/0.1134, allocations: 345.5 kB / 0.5216 GB, free: 2.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1134, allocations: 8.031 kB / 0.5216 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1135, allocations: 8.891 kB / 0.5216 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1136, allocations: 114.5 kB / 0.5217 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.1136, allocations: 384 / 0.5217 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1136, allocations: 8.375 kB / 0.5218 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1138, allocations: 73.8 kB / 0.5218 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1138, allocations: 7.891 kB / 0.5218 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1138, allocations: 0 / 0.5218 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1138, allocations: 7.984 kB / 0.5218 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.1139, allocations: 55.97 kB / 0.5219 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1141, allocations: 156.7 kB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.55e-05/0.1142, allocations: 50.56 kB / 0.5221 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.1142, allocations: 40.84 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.1143, allocations: 19.98 kB / 0.5222 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1143, allocations: 42.5 kB / 0.5222 GB, free: 1.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1143, allocations: 0 / 0.5222 GB, free: 1.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0186/0.1329, allocations: 1.631 MB / 0.5238 GB, free: 80 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1329, allocations: 59.39 kB / 0.5238 GB, free: 8 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1331, allocations: 142 kB / 0.524 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.1331, allocations: 25.7 kB / 0.524 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.1332, allocations: 84.14 kB / 0.5241 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1332, allocations: 43.64 kB / 0.5241 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1333, allocations: 45.69 kB / 0.5242 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1335, allocations: 318.8 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.1341, allocations: 203.9 kB / 0.5247 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.1347, allocations: 211.8 kB / 0.5249 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1359, allocations: 384.7 kB / 0.5252 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1359, allocations: 0 / 0.5252 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001329/0.1372, allocations: 469.4 kB / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1372, allocations: 4 kB / 0.5257 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1372, allocations: 80 / 0.5257 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1372, allocations: 0 / 0.5257 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.1377, allocations: 63.94 kB / 0.5257 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1378, allocations: 3.984 kB / 0.5258 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.1381, allocations: 47.95 kB / 0.5258 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1382, allocations: 7.984 kB / 0.5258 GB, free: 13.95 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.0001217/0.1383, allocations: 125.7 kB / 0.5259 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1383, allocations: 7.953 kB / 0.5259 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.1396, allocations: 366 kB / 0.5263 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1396, allocations: 4 kB / 0.5263 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1396, allocations: 0 / 0.5263 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1396, allocations: 4 kB / 0.5263 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.1423, allocations: 0.7535 MB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1423, allocations: 0 / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/0.1428, allocations: 75.86 kB / 0.5271 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1428, allocations: 4.094 kB / 0.5271 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1428, allocations: 4 kB / 0.5271 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1428, allocations: 0 / 0.5271 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1428, allocations: 11.94 kB / 0.5271 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.144, allocations: 421.8 kB / 0.5275 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.1441, allocations: 35.86 kB / 0.5276 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.1442, allocations: 8 kB / 0.5276 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.1446, allocations: 35.97 kB / 0.5276 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1446, allocations: 11.92 kB / 0.5276 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1446, allocations: 11.98 kB / 0.5276 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.1447, allocations: 106.9 kB / 0.5277 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1447, allocations: 0 / 0.5277 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000591/0.1453, allocations: 175.5 kB / 0.5279 GB, free: 11.72 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.0006348/0.1459, allocations: 250.8 kB / 0.5281 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.1472, allocations: 360 kB / 0.5285 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1472, allocations: 0 / 0.5285 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.1477, allocations: 148 kB / 0.5286 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1481, allocations: 8 kB / 0.5286 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.1506, allocations: 0.5363 MB / 0.5291 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1509, allocations: 0.6924 MB / 0.5298 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.1511, allocations: 27.41 kB / 0.5298 GB, free: 9.637 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1511, allocations: 0 / 0.5298 GB, free: 9.637 MB / 414.1 MB Notification: Performance of Templates: time 0.007201/0.1583, allocations: 4.632 MB / 0.5344 GB, free: 4.996 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.8693301300518215]