Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",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.0009814/0.0009815, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001039/0.001039, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2232/0.2232, allocations: 43.53 MB / 314.1 MB, free: 460 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.001445/0.001445, allocations: 71.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1359, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003972/0.14, allocations: 2.306 MB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1414, allocations: 0.6514 MB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1416, allocations: 4 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.1418, allocations: 39.58 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1421, allocations: 71.33 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1424, allocations: 91.89 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.1429, allocations: 355.2 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1432, allocations: 151.5 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1435, allocations: 135.6 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.1437, allocations: 159.3 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.1438, allocations: 36 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.616e-05/0.1439, allocations: 39.94 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.1439, allocations: 67.83 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1441, allocations: 159.2 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.1445, allocations: 374.5 kB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1445, allocations: 0 / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1446, allocations: 0 / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1446, allocations: 0 / 0.4919 GB, free: 7.691 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001016/0.1456, allocations: 0.5769 MB / 0.4925 GB, free: 7.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/0.1457, allocations: 15.89 kB / 0.4925 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.54e-05/0.1458, allocations: 66.72 kB / 0.4925 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.1459, allocations: 32.75 kB / 0.4926 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1461, allocations: 207.9 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.1462, allocations: 32.97 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.1462, allocations: 28.38 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.1467, allocations: 278.2 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1467, allocations: 4 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.1468, allocations: 15.98 kB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1468, allocations: 11.98 kB / 0.4931 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.1472, allocations: 218.5 kB / 0.4933 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.149, allocations: 1.009 MB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.1491, allocations: 34.56 kB / 0.4943 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.1492, allocations: 24.92 kB / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1492, allocations: 3.938 kB / 0.4944 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1493, allocations: 34.56 kB / 0.4944 GB, free: 4.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1493, allocations: 0 / 0.4944 GB, free: 4.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002362/0.1495, allocations: 73.5 kB / 0.4945 GB, free: 4.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1496, allocations: 55.39 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.15, allocations: 318.9 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.15, allocations: 25.83 kB / 0.4949 GB, free: 4.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1502, allocations: 239.5 kB / 0.4951 GB, free: 4.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1502, allocations: 15.94 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.1503, allocations: 53.66 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1504, allocations: 330.8 kB / 0.4955 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1506, allocations: 63.97 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1507, allocations: 90.12 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.1509, allocations: 131 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.151, allocations: 0 / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004355/0.1514, allocations: 229.4 kB / 0.496 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1514, allocations: 11.94 kB / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1514, allocations: 0 / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1515, allocations: 0 / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.1518, allocations: 59.91 kB / 0.496 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.1518, allocations: 0 / 0.496 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.1521, allocations: 51.64 kB / 0.4961 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.1521, allocations: 4 kB / 0.4961 GB, free: 3.148 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (30): * Single equations (assignments): 30 * 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 prepare postOptimizeDAE: time 0.0001845/0.1523, allocations: 137.7 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.1524, allocations: 27.78 kB / 0.4962 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.1524, allocations: 20.89 kB / 0.4963 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1525, allocations: 4 kB / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1525, allocations: 0 / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1525, allocations: 0 / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.1532, allocations: 0.5071 MB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1532, allocations: 4 kB / 0.4968 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1532, allocations: 7.969 kB / 0.4968 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1532, allocations: 7.938 kB / 0.4968 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1532, allocations: 0 / 0.4968 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1533, allocations: 0 / 0.4968 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1533, allocations: 0 / 0.4968 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.1534, allocations: 109.9 kB / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.1535, allocations: 101 kB / 0.497 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1536, allocations: 0 / 0.497 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1537, allocations: 4 kB / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1537, allocations: 3.938 kB / 0.497 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1537, allocations: 0 / 0.497 GB, free: 2.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.154, allocations: 225.9 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.154, allocations: 4.031 kB / 0.4972 GB, free: 1.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1543, allocations: 67.84 kB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004516/0.1547, allocations: 0.6288 MB / 0.4979 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.155, allocations: 115.9 kB / 0.498 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.155, allocations: 0 / 0.498 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.1551, allocations: 15.94 kB / 0.498 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1554, allocations: 23.53 kB / 0.498 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.1582, allocations: 2.23 MB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1586, allocations: 0.744 MB / 0.5009 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1587, allocations: 29.92 kB / 0.501 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1588, allocations: 71.42 kB / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1588, allocations: 0 / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1848, allocations: 4.143 MB / 0.5051 GB, free: 9.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.144, allocations: 7.578 kB / 0.5051 GB, free: 9.641 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches