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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008915/0.0008916, allocations: 175 kB / 16.72 MB, free: 5.086 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.635/1.635, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007652/0.0007653, allocations: 95.8 kB / 271.2 MB, free: 8.242 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.4048/0.4048, allocations: 43.56 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1443, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002272/0.1466, allocations: 1.166 MB / 492.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.149, allocations: 1.33 MB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.1492, allocations: 0 / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1494, allocations: 27.78 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1497, allocations: 43.77 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.1503, allocations: 163.5 kB / 493.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1504, allocations: 47.73 kB / 493.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.1505, allocations: 15.95 kB / 493.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1505, allocations: 19.88 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.1506, allocations: 27.86 kB / 493.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1507, allocations: 4 kB / 493.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.1512, allocations: 315.6 kB / 494.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1513, allocations: 3.938 kB / 494.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1513, allocations: 57.52 kB / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1516, allocations: 187.7 kB / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1516, allocations: 0 / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1517, allocations: 0 / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1517, allocations: 0 / 494.3 MB, free: 7.379 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.0005685/0.1522, allocations: 403.3 kB / 494.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1523, allocations: 12.03 kB / 494.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1523, allocations: 34.75 kB / 494.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1524, allocations: 4.844 kB / 494.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1525, allocations: 184.2 kB / 494.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1526, allocations: 4.375 kB / 494.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1526, allocations: 384 / 494.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1527, allocations: 69.56 kB / 495 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1528, allocations: 0 / 495 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1528, allocations: 7.984 kB / 495 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1528, allocations: 4 kB / 495 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1529, allocations: 59.97 kB / 495.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.1531, allocations: 189.6 kB / 495.3 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.1532, allocations: 58.5 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.1533, allocations: 40.84 kB / 495.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.41e-05/0.1534, allocations: 23.92 kB / 495.4 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1534, allocations: 30.56 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.1534, allocations: 4 kB / 495.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.02033/0.1737, allocations: 1.689 MB / 497.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1738, allocations: 51.41 kB / 497.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.174, allocations: 137.6 kB / 497.3 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.174, allocations: 25.7 kB / 497.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.1741, allocations: 92.06 kB / 497.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.1741, allocations: 39.36 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.1741, allocations: 4 kB / 497.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1743, allocations: 322.8 kB / 497.8 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.1751, allocations: 215.8 kB / 498 MB, free: 3.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.1758, allocations: 211.9 kB / 498.2 MB, free: 3.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.1773, allocations: 392.7 kB / 498.6 MB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1773, allocations: 4 kB / 498.6 MB, free: 2.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001621/0.1789, allocations: 489.4 kB / 499 MB, free: 2.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.179, allocations: 4 kB / 499.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.179, allocations: 0 / 499.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.179, allocations: 4 kB / 499.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.1796, allocations: 83.83 kB / 499.1 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1797, allocations: 4 kB / 499.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.1802, allocations: 39.95 kB / 499.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.1802, allocations: 15.97 kB / 499.2 MB, free: 2.246 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.0001407/0.1804, allocations: 121.8 kB / 499.3 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1804, allocations: 7.906 kB / 499.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.182, allocations: 397.9 kB / 499.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1821, allocations: 4 kB / 499.7 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1821, allocations: 4 kB / 499.7 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.1821, allocations: 7.922 kB / 499.7 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.1855, allocations: 0.8129 MB / 0.4888 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1855, allocations: 0 / 0.4888 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.1861, allocations: 83.98 kB / 0.4889 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1861, allocations: 0 / 0.4889 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.1862, allocations: 15.97 kB / 0.4889 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.1862, allocations: 7.938 kB / 0.4889 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1862, allocations: 3.938 kB / 0.4889 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1878, allocations: 449.7 kB / 0.4893 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.188, allocations: 109 kB / 0.4894 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.188, allocations: 8 kB / 0.4895 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.1885, allocations: 39.91 kB / 0.4895 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1886, allocations: 19.92 kB / 0.4895 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.1886, allocations: 11.97 kB / 0.4895 GB, free: 44 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2695/0.4582, allocations: 99.2 kB / 0.4896 GB, free: 43.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.4582, allocations: 3.5 kB / 0.4896 GB, free: 43.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000799/0.459, allocations: 167.6 kB / 0.4898 GB, free: 43.18 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.002595/0.4616, allocations: 1.118 MB / 0.4909 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.4634, allocations: 398.7 kB / 0.4913 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4634, allocations: 1.312 kB / 0.4913 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.4641, allocations: 162.7 kB / 0.4914 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.4644, allocations: 18.89 kB / 0.4914 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.4704, allocations: 1.597 MB / 0.493 GB, free: 42.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.4706, allocations: 0.6908 MB / 0.4937 GB, free: 41.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.4708, allocations: 59.23 kB / 0.4937 GB, free: 41.37 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.4708, allocations: 3.719 kB / 0.4937 GB, free: 41.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.921/3.392, allocations: 4.382 MB / 0.498 GB, free: 41.1 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > 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