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.001358/0.001358, allocations: 104.4 kB / 16.4 MB, free: 6.5 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.001454/0.001454, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.214/0.214, allocations: 43.52 MB / 314.1 MB, free: 452 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.001946/0.001946, allocations: 77.45 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1356, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004312/0.14, allocations: 2.313 MB / 0.4896 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1416, allocations: 0.6553 MB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.1419, allocations: 4 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1421, allocations: 39.59 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1424, allocations: 71.33 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1428, allocations: 91.89 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.1433, allocations: 351.2 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.1436, allocations: 159.7 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.1439, allocations: 139.5 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.1442, allocations: 159.4 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.1443, allocations: 32 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.1444, allocations: 39.94 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1444, allocations: 63.83 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1446, allocations: 159.2 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.145, allocations: 374.7 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.145, allocations: 0 / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1451, allocations: 4 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1451, allocations: 0 / 0.4919 GB, free: 7.656 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.001011/0.1461, allocations: 0.5656 MB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1462, allocations: 15.89 kB / 0.4925 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.076e-05/0.1463, allocations: 66.72 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1463, allocations: 32.56 kB / 0.4926 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1465, allocations: 215.8 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1466, allocations: 25.03 kB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.1466, allocations: 32.38 kB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.1472, allocations: 278.2 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1472, allocations: 0 / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.1472, allocations: 16 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1473, allocations: 7.938 kB / 0.4931 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.1477, allocations: 218.5 kB / 0.4933 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.1495, allocations: 1.005 MB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.1496, allocations: 30.58 kB / 0.4943 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1496, allocations: 24.92 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1496, allocations: 7.938 kB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1497, allocations: 30.56 kB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.1497, allocations: 0 / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.1499, allocations: 85.33 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.15, allocations: 51.41 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.1504, allocations: 318.9 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1504, allocations: 25.7 kB / 0.4948 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.1506, allocations: 238.9 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1507, allocations: 11.91 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.1508, allocations: 49.61 kB / 0.4951 GB, free: 4.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.151, allocations: 334.8 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1511, allocations: 63.97 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1513, allocations: 86.12 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.1516, allocations: 131 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1516, allocations: 0 / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004175/0.152, allocations: 229.4 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.152, allocations: 11.94 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.152, allocations: 0 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1521, allocations: 0 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.1524, allocations: 59.89 kB / 0.496 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1524, allocations: 4 kB / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.1526, allocations: 35.53 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1527, allocations: 12.03 kB / 0.4961 GB, free: 3.141 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.0001329/0.1528, allocations: 133.7 kB / 0.4962 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.1529, allocations: 31.59 kB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.1529, allocations: 20.89 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1529, allocations: 0 / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1529, allocations: 4 kB / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1529, allocations: 4 kB / 0.4962 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.1536, allocations: 0.511 MB / 0.4967 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1536, allocations: 0 / 0.4967 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1536, allocations: 4 kB / 0.4967 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1536, allocations: 0 / 0.4967 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1536, allocations: 4 kB / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1537, allocations: 0 / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1537, allocations: 0 / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.1538, allocations: 105.7 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.1539, allocations: 104.8 kB / 0.4969 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1539, allocations: 0 / 0.4969 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.154, allocations: 4 kB / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1541, allocations: 7.938 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1541, allocations: 0 / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.1543, allocations: 221.9 kB / 0.4972 GB, free: 1.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1543, allocations: 32 / 0.4972 GB, free: 1.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1546, allocations: 71.84 kB / 0.4972 GB, free: 1.805 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.0004316/0.1551, allocations: 0.6248 MB / 0.4978 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1554, allocations: 111.9 kB / 0.498 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1554, allocations: 0 / 0.498 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.1554, allocations: 11.94 kB / 0.498 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1557, allocations: 24.88 kB / 0.498 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.1586, allocations: 2.222 MB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.159, allocations: 0.744 MB / 0.5009 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1592, allocations: 29.92 kB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1593, allocations: 71.41 kB / 0.501 GB, free: 13.81 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1593, allocations: 0 / 0.501 GB, free: 13.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1845, allocations: 4.202 MB / 0.5051 GB, free: 9.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.151, allocations: 4.062 kB / 0.5051 GB, free: 9.594 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 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.mat","/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