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.001847/0.001847, allocations: 108 kB / 16.41 MB, free: 6.484 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.001982/0.001982, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.65/1.65, 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.2764/0.2764, allocations: 43.53 MB / 314.1 MB, free: 468 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.002137/0.002137, allocations: 71.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1237, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004533/0.1282, allocations: 2.31 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1296, allocations: 0.6592 MB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1298, allocations: 4 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1299, allocations: 39.58 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1301, allocations: 71.28 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1304, allocations: 95.88 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1307, allocations: 347.2 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.131, allocations: 151.4 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1312, allocations: 147.5 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1315, allocations: 151.4 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.1315, allocations: 36 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.1316, allocations: 36 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.1317, allocations: 67.81 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1319, allocations: 159.2 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.1323, allocations: 374.5 kB / 0.4919 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1323, allocations: 0 / 0.4919 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1323, allocations: 0 / 0.4919 GB, free: 7.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1323, allocations: 0 / 0.4919 GB, free: 7.695 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.001017/0.1334, allocations: 0.5847 MB / 0.4925 GB, free: 7.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1334, allocations: 15.89 kB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/0.1335, allocations: 66.72 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.1336, allocations: 32.75 kB / 0.4926 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1338, allocations: 203.6 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1339, allocations: 33.02 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.1339, allocations: 28.38 kB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.1344, allocations: 282.2 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1345, allocations: 0 / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1345, allocations: 16 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1345, allocations: 8 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1349, allocations: 210.5 kB / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.1368, allocations: 1.029 MB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.1369, allocations: 26.58 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.137, allocations: 28.92 kB / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.137, allocations: 0 / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.137, allocations: 34.55 kB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.137, allocations: 0 / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002235/0.1373, allocations: 77.44 kB / 0.4945 GB, free: 4.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1373, allocations: 55.41 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.1377, allocations: 318.9 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1377, allocations: 25.83 kB / 0.4949 GB, free: 4.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1379, allocations: 239.5 kB / 0.4951 GB, free: 4.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.138, allocations: 7.953 kB / 0.4951 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1381, allocations: 61.64 kB / 0.4952 GB, free: 4.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1382, allocations: 326.8 kB / 0.4955 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1384, allocations: 63.97 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1385, allocations: 90.17 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1388, allocations: 130.9 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1388, allocations: 0 / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000392/0.1392, allocations: 229.5 kB / 0.496 GB, free: 3.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1392, allocations: 11.94 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1392, allocations: 0 / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1392, allocations: 0 / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.1395, allocations: 55.95 kB / 0.496 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1396, allocations: 0 / 0.496 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1398, allocations: 43.66 kB / 0.4961 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1399, allocations: 15.98 kB / 0.4961 GB, free: 3.152 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.0001301/0.14, allocations: 141.6 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.14, allocations: 23.84 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.1401, allocations: 20.89 kB / 0.4963 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1401, allocations: 4 kB / 0.4963 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1401, allocations: 0 / 0.4963 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1401, allocations: 4 kB / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.1408, allocations: 0.511 MB / 0.4968 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1408, allocations: 4 kB / 0.4968 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.1409, allocations: 0 / 0.4968 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1409, allocations: 4 kB / 0.4968 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1409, allocations: 0 / 0.4968 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1409, allocations: 3.938 kB / 0.4968 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1409, allocations: 0 / 0.4968 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.141, allocations: 109.8 kB / 0.4969 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.1411, allocations: 97 kB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1412, allocations: 0 / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1413, allocations: 7.938 kB / 0.497 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.1413, allocations: 0 / 0.497 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1413, allocations: 3.984 kB / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.1416, allocations: 226 kB / 0.4972 GB, free: 1.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1416, allocations: 4.031 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1419, allocations: 67.84 kB / 0.4973 GB, free: 1.812 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.0005368/0.1425, allocations: 0.6287 MB / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.1428, allocations: 115.9 kB / 0.498 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1428, allocations: 0 / 0.498 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.1428, allocations: 19.92 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.0003539/0.1432, allocations: 19.55 kB / 0.498 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.1463, allocations: 2.234 MB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1467, allocations: 0.744 MB / 0.5009 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.1468, allocations: 25.94 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1469, allocations: 71.41 kB / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 3.105e-06/0.147, allocations: 0 / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.174, allocations: 4.141 MB / 0.5051 GB, free: 9.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.484, allocations: 0 / 0.5051 GB, free: 9.648 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