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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 104.7 kB / 16.4 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 187.7 kB / 17.34 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2529/0.2529, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 76.33 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1335, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002732/0.1363, allocations: 1.461 MB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1385, allocations: 1.453 MB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.1386, allocations: 0 / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1388, allocations: 31.78 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.139, allocations: 47.69 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1395, allocations: 235.1 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1397, allocations: 51.78 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.1397, allocations: 11.98 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.1398, allocations: 23.86 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.1399, allocations: 27.84 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1399, allocations: 7.938 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.1405, allocations: 327.6 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1405, allocations: 15.92 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.1406, allocations: 27.86 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.141, allocations: 275.2 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.141, allocations: 0 / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1411, allocations: 3.938 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1411, allocations: 0 / 0.4913 GB, free: 8.309 MB / 382.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.0006474/0.1417, allocations: 426.6 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1418, allocations: 15.83 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.1418, allocations: 30.75 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1419, allocations: 12.89 kB / 0.4918 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.142, allocations: 164.4 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1421, allocations: 4.375 kB / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.1421, allocations: 4.375 kB / 0.4919 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1423, allocations: 73.55 kB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1423, allocations: 3.953 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1423, allocations: 0 / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1423, allocations: 4 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1424, allocations: 63.95 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.1427, allocations: 189.6 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.1428, allocations: 50.56 kB / 0.4923 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.1428, allocations: 44.84 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.1429, allocations: 27.86 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1429, allocations: 30.56 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1429, allocations: 0 / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02021/0.1631, allocations: 1.63 MB / 0.494 GB, free: 5.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1632, allocations: 55.41 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1634, allocations: 138.1 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.1635, allocations: 29.7 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.1635, allocations: 80.14 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.1636, allocations: 47.62 kB / 0.4943 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1637, allocations: 45.69 kB / 0.4944 GB, free: 4.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1639, allocations: 318.8 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.1646, allocations: 203.8 kB / 0.4949 GB, free: 4.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.1653, allocations: 203.9 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.1666, allocations: 380.6 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1666, allocations: 0 / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001466/0.1681, allocations: 461.5 kB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1682, allocations: 4 kB / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1682, allocations: 0 / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1682, allocations: 0 / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.1687, allocations: 63.94 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1688, allocations: 240 / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.1692, allocations: 43.95 kB / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.1692, allocations: 11.97 kB / 0.496 GB, free: 3.258 MB / 382.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.0001429/0.1694, allocations: 133.6 kB / 0.4961 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1694, allocations: 7.953 kB / 0.4961 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.1709, allocations: 370 kB / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1709, allocations: 0 / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1709, allocations: 3.938 kB / 0.4965 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.171, allocations: 0 / 0.4965 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.1739, allocations: 0.7739 MB / 0.4972 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.1739, allocations: 8 kB / 0.4972 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.1745, allocations: 67.97 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1745, allocations: 0 / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.1745, allocations: 7.984 kB / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.1745, allocations: 7.938 kB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1745, allocations: 0 / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1759, allocations: 425.8 kB / 0.4977 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.176, allocations: 113 kB / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1761, allocations: 0 / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.1765, allocations: 47.89 kB / 0.4979 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1766, allocations: 15.97 kB / 0.4979 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1766, allocations: 4 kB / 0.4979 GB, free: 1.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.1767, allocations: 95.27 kB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 0 / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006387/0.1773, allocations: 175.6 kB / 0.4981 GB, free: 0.9023 MB / 382.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.002349/0.1797, allocations: 1.1 MB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.1811, allocations: 379.7 kB / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1811, allocations: 0 / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.1817, allocations: 152 kB / 0.4997 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1821, allocations: 24.22 kB / 0.4997 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007236/0.1894, allocations: 2.744 MB / 0.5024 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1898, allocations: 0.6963 MB / 0.5031 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.19, allocations: 44.67 kB / 0.5031 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.1902, allocations: 39.41 kB / 0.5032 GB, free: 11.58 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1902, allocations: 0 / 0.5032 GB, free: 11.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0423/0.2325, allocations: 9.927 MB / 0.5129 GB, free: 1.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.337, allocations: 19.84 kB / 0.5129 GB, free: 1.602 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) 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) Reference file matches