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.00165/0.001655, allocations: 188.4 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001135/0.001136, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 16 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 58.85 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001973/0.1227, allocations: 1.128 MB / 491.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1255, allocations: 1.287 MB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.1256, allocations: 4 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.1258, allocations: 31.84 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.126, allocations: 39.86 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.1268, allocations: 167.5 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1269, allocations: 35.94 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.127, allocations: 8 kB / 492.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.1271, allocations: 23.91 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.1272, allocations: 27.86 kB / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1272, allocations: 0 / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008234/0.128, allocations: 315.6 kB / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.1281, allocations: 7.984 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1281, allocations: 37.64 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.1286, allocations: 187.9 kB / 493.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1286, allocations: 3.938 kB / 493.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1286, allocations: 0 / 493.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1287, allocations: 4 kB / 493.5 MB, free: 6.016 MB / 330.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.0006435/0.1293, allocations: 403.1 kB / 493.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1294, allocations: 8.031 kB / 493.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1294, allocations: 11.86 kB / 493.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1296, allocations: 174.9 kB / 494.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1296, allocations: 8 kB / 494.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1297, allocations: 0 / 494.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1299, allocations: 73.64 kB / 494.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1299, allocations: 4 kB / 494.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1299, allocations: 0 / 494.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1299, allocations: 0 / 494.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1301, allocations: 63.95 kB / 494.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.1304, allocations: 185.6 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1305, allocations: 54.5 kB / 494.5 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.1306, allocations: 19.98 kB / 494.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1306, allocations: 34.56 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.1306, allocations: 4 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.04195/0.1726, allocations: 1.692 MB / 496.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1727, allocations: 51.41 kB / 496.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1729, allocations: 144.1 kB / 496.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.173, allocations: 29.7 kB / 496.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.1731, allocations: 150.6 kB / 496.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.1731, allocations: 43.36 kB / 496.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1732, allocations: 4 kB / 496.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1733, allocations: 318.8 kB / 497 MB, free: 2.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.1748, allocations: 208.1 kB / 497.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.1763, allocations: 216.2 kB / 497.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.1779, allocations: 196.6 kB / 497.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1779, allocations: 4 kB / 497.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003199/0.1811, allocations: 479.3 kB / 498 MB, free: 1.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.1812, allocations: 7.984 kB / 498 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1812, allocations: 0 / 498 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1813, allocations: 0 / 498 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.1825, allocations: 83.89 kB / 498.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1826, allocations: 0 / 498.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.1836, allocations: 43.92 kB / 498.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.1837, allocations: 11.97 kB / 498.2 MB, free: 1.121 MB / 330.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.0001933/0.1839, allocations: 129.8 kB / 498.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.184, allocations: 7.906 kB / 498.3 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.1873, allocations: 402 kB / 498.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1873, allocations: 0 / 498.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1873, allocations: 4 kB / 498.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1874, allocations: 8 kB / 498.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006699/0.1941, allocations: 0.8129 MB / 499.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.1941, allocations: 4 kB / 499.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.1954, allocations: 79.92 kB / 499.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.1954, allocations: 4 kB / 499.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.1955, allocations: 19.92 kB / 499.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.1955, allocations: 4 kB / 499.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1955, allocations: 0 / 499.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.1986, allocations: 486.8 kB / 0.4884 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.1989, allocations: 112.9 kB / 0.4885 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.1989, allocations: 11.98 kB / 0.4885 GB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.2, allocations: 35.97 kB / 0.4885 GB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.2001, allocations: 11.98 kB / 0.4886 GB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.2002, allocations: 15.97 kB / 0.4886 GB, free: 14.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2003, allocations: 102.9 kB / 0.4887 GB, free: 14.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-07/0.2003, allocations: 0 / 0.4887 GB, free: 14.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008827/0.2012, allocations: 163.9 kB / 0.4888 GB, free: 14.59 MB / 346.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.001031/0.2022, allocations: 251 kB / 0.4891 GB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.2054, allocations: 399.7 kB / 0.4894 GB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.2054, allocations: 0 / 0.4894 GB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.2069, allocations: 164 kB / 0.4896 GB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2073, allocations: 20.34 kB / 0.4896 GB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/0.2134, allocations: 0.6043 MB / 0.4902 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2138, allocations: 0.6965 MB / 0.4909 GB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.2142, allocations: 47.34 kB / 0.4909 GB, free: 12.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.624e-06/0.2142, allocations: 4 kB / 0.4909 GB, free: 12.35 MB / 346.7 MB Notification: Performance of Templates: time 0.01328/0.2275, allocations: 4.984 MB / 0.4958 GB, free: 7.359 MB / 346.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/jenkins1/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