Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007663/0.0007664, allocations: 95.05 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3079/0.3079, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003898, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001474/0.1049, allocations: 1.151 MB / 492 MB, free: 9.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1065, allocations: 1.342 MB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.1066, allocations: 4 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1067, allocations: 23.84 kB / 493.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1069, allocations: 47.7 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1072, allocations: 159.5 kB / 493.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.1073, allocations: 47.73 kB / 493.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.1074, allocations: 15.97 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.1074, allocations: 19.88 kB / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.1075, allocations: 27.91 kB / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1075, allocations: 4 kB / 493.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.1079, allocations: 315.6 kB / 494 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.108, allocations: 3.938 kB / 494 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.108, allocations: 53.56 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1083, allocations: 187.9 kB / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1083, allocations: 0 / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1083, allocations: 0 / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1083, allocations: 0 / 494.2 MB, free: 7.484 MB / 378.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.0004264/0.1087, allocations: 407.3 kB / 494.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1088, allocations: 8.031 kB / 494.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.1088, allocations: 8.844 kB / 494.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1089, allocations: 180.2 kB / 494.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1089, allocations: 384 / 494.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.109, allocations: 4.375 kB / 494.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1091, allocations: 65.8 kB / 494.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1091, allocations: 0 / 494.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1091, allocations: 7.938 kB / 494.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1091, allocations: 8 kB / 494.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.1092, allocations: 51.97 kB / 494.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1094, allocations: 181.6 kB / 495.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.1095, allocations: 62.5 kB / 495.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1095, allocations: 40.84 kB / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/0.1096, allocations: 19.98 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1096, allocations: 38.5 kB / 495.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1096, allocations: 0 / 495.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.01845/0.1281, allocations: 1.689 MB / 497 MB, free: 4.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1282, allocations: 51.41 kB / 497 MB, free: 4.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1283, allocations: 138 kB / 497.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.1283, allocations: 25.7 kB / 497.2 MB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1284, allocations: 88.14 kB / 497.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.1285, allocations: 43.34 kB / 497.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.1285, allocations: 0 / 497.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1286, allocations: 322.8 kB / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.1293, allocations: 207.9 kB / 497.8 MB, free: 3.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.1299, allocations: 223.7 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1312, allocations: 396.6 kB / 498.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1312, allocations: 4 kB / 498.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001399/0.1326, allocations: 481.4 kB / 498.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1327, allocations: 11.98 kB / 498.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1327, allocations: 4 kB / 498.9 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1327, allocations: 0 / 498.9 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.1332, allocations: 87.77 kB / 499 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1333, allocations: 0 / 499 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.1337, allocations: 39.97 kB / 499 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.1337, allocations: 15.97 kB / 499.1 MB, free: 2.398 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1338, allocations: 125.9 kB / 499.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1339, allocations: 11.89 kB / 499.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.1353, allocations: 390.1 kB / 499.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1354, allocations: 7.938 kB / 499.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1354, allocations: 0 / 499.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1354, allocations: 0 / 499.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.1383, allocations: 0.8167 MB / 0.4887 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1383, allocations: 0 / 0.4887 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.1388, allocations: 83.98 kB / 0.4888 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1388, allocations: 4 kB / 0.4888 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.1388, allocations: 11.97 kB / 0.4888 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1388, allocations: 0 / 0.4888 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1388, allocations: 7.938 kB / 0.4888 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1402, allocations: 449.7 kB / 0.4892 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1403, allocations: 112.9 kB / 0.4893 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1403, allocations: 3.984 kB / 0.4893 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.1408, allocations: 43.95 kB / 0.4894 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.1408, allocations: 15.92 kB / 0.4894 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1409, allocations: 15.97 kB / 0.4894 GB, free: 204 kB / 378.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.1409, allocations: 95.27 kB / 0.4895 GB, free: 108 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1409, allocations: 4.094 kB / 0.4895 GB, free: 104 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.1632/0.3041, allocations: 176.4 kB / 0.4896 GB, free: 43.11 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006592/0.3048, allocations: 244.4 kB / 0.4899 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.3062, allocations: 399.8 kB / 0.4903 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3062, allocations: 0 / 0.4903 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.3068, allocations: 166.4 kB / 0.4904 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.3072, allocations: 20.41 kB / 0.4904 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.3097, allocations: 0.5991 MB / 0.491 GB, free: 42.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3098, allocations: 0.6938 MB / 0.4917 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.31, allocations: 47.05 kB / 0.4917 GB, free: 42.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.31, allocations: 1.062 kB / 0.4918 GB, free: 42.11 MB / 378.7 MB Notification: Performance of Templates: time 0.006747/0.3168, allocations: 4.664 MB / 0.4963 GB, free: 41.86 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches