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.001344/0.001344, allocations: 104.9 kB / 16.4 MB, free: 6.488 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.001361/0.001361, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2009/0.2009, allocations: 43.52 MB / 314.1 MB, free: 464 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.001734/0.001734, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1121, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002603/0.1147, allocations: 1.454 MB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1169, allocations: 1.449 MB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.117, allocations: 4 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1172, allocations: 31.81 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1175, allocations: 47.7 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.118, allocations: 235.1 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1181, allocations: 51.78 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.1182, allocations: 11.98 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.1183, allocations: 27.86 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.1183, allocations: 27.84 kB / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1183, allocations: 0 / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.1189, allocations: 335.6 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.1189, allocations: 11.92 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.119, allocations: 23.86 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.1194, allocations: 283.3 kB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1195, allocations: 4 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1195, allocations: 3.938 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1195, allocations: 3.938 kB / 0.4913 GB, free: 8.312 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.0005619/0.12, allocations: 411.1 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1201, allocations: 11.89 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.1201, allocations: 34.75 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1202, allocations: 4.938 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1203, allocations: 180.2 kB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1204, allocations: 12.38 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1204, allocations: 384 / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1205, allocations: 69.61 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1206, allocations: 3.938 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1206, allocations: 4 kB / 0.492 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1206, allocations: 0 / 0.492 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.227e-05/0.1207, allocations: 55.97 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.1209, allocations: 185.5 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.121, allocations: 62.56 kB / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.1211, allocations: 40.83 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.1211, allocations: 24.16 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1212, allocations: 34.56 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1212, allocations: 0 / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02058/0.1418, allocations: 1.634 MB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.1419, allocations: 55.41 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.142, allocations: 129.8 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1421, allocations: 29.7 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.1421, allocations: 92.03 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.1422, allocations: 39.47 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1423, allocations: 45.67 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1425, allocations: 314.8 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.1431, allocations: 211.8 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.1438, allocations: 199.9 kB / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1451, allocations: 380.7 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1451, allocations: 0 / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00146/0.1466, allocations: 461.4 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1466, allocations: 4 kB / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1467, allocations: 0 / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1467, allocations: 0 / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.1472, allocations: 67.92 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1473, allocations: 4 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.1477, allocations: 35.97 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.1478, allocations: 11.98 kB / 0.496 GB, free: 3.277 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.0001701/0.148, allocations: 125.7 kB / 0.4961 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.148, allocations: 7.906 kB / 0.4961 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.1496, allocations: 366 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1496, allocations: 0 / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1496, allocations: 8 kB / 0.4964 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1497, allocations: 7.984 kB / 0.4964 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.1527, allocations: 0.7816 MB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1527, allocations: 0 / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.1533, allocations: 67.97 kB / 0.4973 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/0.1533, allocations: 0 / 0.4973 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.1533, allocations: 7.984 kB / 0.4973 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1533, allocations: 7.938 kB / 0.4973 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1533, allocations: 0 / 0.4973 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1547, allocations: 425.7 kB / 0.4977 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1548, allocations: 109 kB / 0.4978 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.1549, allocations: 3.984 kB / 0.4978 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.1553, allocations: 43.91 kB / 0.4978 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1554, allocations: 11.98 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1554, allocations: 4 kB / 0.4979 GB, free: 1.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.1555, allocations: 99.25 kB / 0.498 GB, free: 1.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1555, allocations: 0 / 0.498 GB, free: 1.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000672/0.1562, allocations: 168 kB / 0.4981 GB, free: 0.9336 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.002265/0.1585, allocations: 1.101 MB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.1598, allocations: 375.7 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1598, allocations: 0 / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.1604, allocations: 152.1 kB / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1608, allocations: 18.5 kB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.1677, allocations: 2.745 MB / 0.5024 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1679, allocations: 0.7041 MB / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.1681, allocations: 40.67 kB / 0.5031 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.1683, allocations: 39.41 kB / 0.5032 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1683, allocations: 0 / 0.5032 GB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.1972, allocations: 10.07 MB / 0.513 GB, free: 1.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.306, allocations: 11.84 kB / 0.513 GB, free: 1.508 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