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.001185/0.001184, allocations: 101.8 kB / 16.4 MB, free: 6.457 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.001244/0.001244, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.514/1.514, 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.2222/0.2222, allocations: 43.52 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.00145/0.00145, allocations: 69.61 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003482/0.1177, allocations: 2.313 MB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.119, allocations: 0.6592 MB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1192, allocations: 4 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1193, allocations: 39.59 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1196, allocations: 67.33 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1199, allocations: 95.88 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.1203, allocations: 347.2 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.1207, allocations: 147.5 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.121, allocations: 147.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1213, allocations: 151.4 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.1214, allocations: 40 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.1215, allocations: 32 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.1215, allocations: 67.83 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1217, allocations: 159.2 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1221, allocations: 378.5 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1221, allocations: 0 / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1221, allocations: 0 / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1221, allocations: 0 / 0.4919 GB, free: 7.676 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.0009887/0.1231, allocations: 0.5847 MB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1232, allocations: 15.88 kB / 0.4925 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.721e-05/0.1233, allocations: 62.73 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.1234, allocations: 36.73 kB / 0.4926 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1236, allocations: 200 kB / 0.4928 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1236, allocations: 29.03 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.1237, allocations: 28.38 kB / 0.4928 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.1242, allocations: 286.1 kB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1242, allocations: 0 / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.1242, allocations: 16 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1243, allocations: 11.98 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.1247, allocations: 210.5 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1264, allocations: 1.021 MB / 0.4943 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.1265, allocations: 34.52 kB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1266, allocations: 28.92 kB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1266, allocations: 0 / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1266, allocations: 30.56 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1266, allocations: 0 / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002197/0.1268, allocations: 77.48 kB / 0.4945 GB, free: 4.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1269, allocations: 55.41 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.1272, allocations: 318.8 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1273, allocations: 25.83 kB / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1274, allocations: 239.5 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.1274, allocations: 11.95 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.1275, allocations: 53.66 kB / 0.4952 GB, free: 4.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1277, allocations: 334.8 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1278, allocations: 63.97 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1279, allocations: 82.19 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1281, allocations: 134.9 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1282, allocations: 0 / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004116/0.1286, allocations: 233.5 kB / 0.496 GB, free: 3.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1286, allocations: 7.938 kB / 0.496 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1286, allocations: 0 / 0.496 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1286, allocations: 4 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.1289, allocations: 55.89 kB / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.129, allocations: 0 / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.1292, allocations: 47.66 kB / 0.4961 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1292, allocations: 8 kB / 0.4961 GB, free: 3.133 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.0001104/0.1293, allocations: 137.7 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.1294, allocations: 23.78 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.1294, allocations: 24.89 kB / 0.4963 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1295, allocations: 0 / 0.4963 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.1295, allocations: 0 / 0.4963 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1295, allocations: 0 / 0.4963 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.1301, allocations: 0.5188 MB / 0.4968 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1301, allocations: 0 / 0.4968 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.1301, allocations: 8 kB / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1301, allocations: 0 / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.1301, allocations: 0 / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1301, allocations: 0 / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1301, allocations: 0 / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.1303, allocations: 113.8 kB / 0.4969 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1303, allocations: 97 kB / 0.497 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1304, allocations: 4 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1305, allocations: 3.938 kB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.1305, allocations: 0 / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1305, allocations: 4 kB / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.1308, allocations: 221.9 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 4.031 kB / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.131, allocations: 67.84 kB / 0.4973 GB, free: 1.797 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.0003838/0.1314, allocations: 0.6288 MB / 0.4979 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1317, allocations: 119.9 kB / 0.498 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1317, allocations: 0 / 0.498 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.1317, allocations: 12 kB / 0.498 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.132, allocations: 20.88 kB / 0.498 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.1347, allocations: 2.237 MB / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1351, allocations: 0.7401 MB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1352, allocations: 29.92 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1353, allocations: 75.41 kB / 0.501 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1353, allocations: 0 / 0.501 GB, free: 13.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.1566, allocations: 4.143 MB / 0.5051 GB, free: 9.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.599, allocations: 11.44 kB / 0.5051 GB, free: 9.617 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