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.00168/0.00168, allocations: 104.8 kB / 16.4 MB, free: 6.492 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.001898/0.001898, 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.494/1.494, 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.2333/0.2333, allocations: 43.52 MB / 314.1 MB, free: 476 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.001327/0.001327, allocations: 75.91 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003775/0.124, allocations: 2.309 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1252, allocations: 0.6553 MB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1254, allocations: 4 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1256, allocations: 39.58 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1258, allocations: 67.34 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1261, allocations: 95.88 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.1265, allocations: 347.2 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.1268, allocations: 167.6 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.127, allocations: 135.6 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1273, allocations: 159.4 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.1273, allocations: 35.94 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.1274, allocations: 36 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.1275, allocations: 71.81 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1276, allocations: 155.3 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.128, allocations: 370.7 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.128, allocations: 0 / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.128, allocations: 0 / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.128, allocations: 0 / 0.4919 GB, free: 7.699 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.0009308/0.129, allocations: 0.5734 MB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.129, allocations: 15.89 kB / 0.4925 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.148e-05/0.1291, allocations: 66.72 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.1292, allocations: 32.56 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1293, allocations: 211.8 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1294, allocations: 21.03 kB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.1294, allocations: 32.38 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.1299, allocations: 282.2 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1299, allocations: 0 / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.13, allocations: 16 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.13, allocations: 8 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.1304, allocations: 218.5 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.132, allocations: 1.009 MB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.1321, allocations: 26.58 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.1322, allocations: 28.92 kB / 0.4943 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.1322, allocations: 3.938 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1322, allocations: 34.55 kB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.1322, allocations: 0 / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.1324, allocations: 77.36 kB / 0.4945 GB, free: 4.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1325, allocations: 51.41 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.1328, allocations: 323 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1328, allocations: 29.7 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.133, allocations: 230.8 kB / 0.4951 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.133, allocations: 11.91 kB / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.1331, allocations: 57.59 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1332, allocations: 326.8 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1333, allocations: 63.97 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1335, allocations: 94.11 kB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1337, allocations: 131 kB / 0.4957 GB, free: 3.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1337, allocations: 0 / 0.4957 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00036/0.1341, allocations: 225.4 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1341, allocations: 11.94 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1341, allocations: 0 / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1341, allocations: 0 / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.1344, allocations: 63.89 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1344, allocations: 0 / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1347, allocations: 43.56 kB / 0.496 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1347, allocations: 4 kB / 0.496 GB, free: 3.18 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.0001099/0.1348, allocations: 145.6 kB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1349, allocations: 27.66 kB / 0.4962 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.1349, allocations: 16.89 kB / 0.4962 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1349, allocations: 4 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1349, allocations: 0 / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1349, allocations: 0 / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.1355, allocations: 0.5072 MB / 0.4967 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1355, allocations: 4 kB / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.1355, allocations: 0 / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1356, allocations: 4 kB / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1356, allocations: 0 / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1356, allocations: 0 / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1356, allocations: 0 / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1357, allocations: 105.7 kB / 0.4968 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1358, allocations: 108.8 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.1358, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.136, allocations: 7.938 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.136, allocations: 3.938 kB / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.136, allocations: 0 / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.1362, allocations: 230 kB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1362, allocations: 0 / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1365, allocations: 63.84 kB / 0.4972 GB, free: 1.844 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.0003814/0.1369, allocations: 0.6248 MB / 0.4978 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1371, allocations: 115.9 kB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1372, allocations: 0 / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.1372, allocations: 15.92 kB / 0.498 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1375, allocations: 23.55 kB / 0.498 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1401, allocations: 2.226 MB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1404, allocations: 0.7401 MB / 0.5009 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1405, allocations: 25.94 kB / 0.5009 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1406, allocations: 75.41 kB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1406, allocations: 0 / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.1626, allocations: 4.194 MB / 0.5051 GB, free: 9.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.101, allocations: 4.062 kB / 0.5051 GB, free: 9.637 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