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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 219.6 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002589/0.002589, allocations: 71.91 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.145, allocations: 61.05 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003879/0.1489, allocations: 2.168 MB / 0.5183 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1502, allocations: 0.6281 MB / 0.5189 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1503, allocations: 4 kB / 0.5189 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1505, allocations: 43.58 kB / 0.5189 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1507, allocations: 71.34 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.151, allocations: 91.81 kB / 0.5191 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.1514, allocations: 351.2 kB / 0.5194 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1516, allocations: 108.1 kB / 0.5195 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1519, allocations: 135.6 kB / 0.5196 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1521, allocations: 135.4 kB / 0.5198 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.1521, allocations: 39.98 kB / 0.5198 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.782e-05/0.1522, allocations: 32 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.1523, allocations: 71.75 kB / 0.5199 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1524, allocations: 131.5 kB / 0.52 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1528, allocations: 378.5 kB / 0.5204 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1528, allocations: 0 / 0.5204 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1528, allocations: 0 / 0.5204 GB, free: 2.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1529, allocations: 0 / 0.5204 GB, free: 2.801 MB / 398.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.0009529/0.1538, allocations: 0.5171 MB / 0.5209 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1539, allocations: 8.031 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.154, allocations: 66.72 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.154, allocations: 32.75 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1542, allocations: 142.2 kB / 0.5211 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.1542, allocations: 21.03 kB / 0.5212 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.1543, allocations: 32.38 kB / 0.5212 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.1548, allocations: 282.2 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1548, allocations: 4 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.1548, allocations: 8 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1548, allocations: 8 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1552, allocations: 214.5 kB / 0.5217 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.157, allocations: 0.9083 MB / 0.5226 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.1571, allocations: 34.52 kB / 0.5226 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1571, allocations: 20.92 kB / 0.5226 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1571, allocations: 3.984 kB / 0.5226 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1572, allocations: 30.56 kB / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1572, allocations: 4 kB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002226/0.1574, allocations: 81.44 kB / 0.5227 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1574, allocations: 55.41 kB / 0.5228 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.1579, allocations: 332 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1579, allocations: 25.7 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.1581, allocations: 239.4 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1581, allocations: 11.89 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1583, allocations: 61.59 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1585, allocations: 330.8 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1586, allocations: 68.09 kB / 0.5238 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1588, allocations: 90.67 kB / 0.5239 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.159, allocations: 130.1 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.159, allocations: 0 / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004077/0.1594, allocations: 225.5 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1594, allocations: 7.938 kB / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1594, allocations: 0 / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1594, allocations: 0 / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1597, allocations: 59.95 kB / 0.5243 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.1597, allocations: 4.031 kB / 0.5243 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.16, allocations: 43.62 kB / 0.5243 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.16, allocations: 11.98 kB / 0.5244 GB, free: 14.53 MB / 414.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.0001383/0.1601, allocations: 137.8 kB / 0.5245 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.1602, allocations: 23.8 kB / 0.5245 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.1602, allocations: 24.98 kB / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1603, allocations: 0 / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1603, allocations: 0 / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1603, allocations: 0 / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.1609, allocations: 474.5 kB / 0.525 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1609, allocations: 0 / 0.525 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1609, allocations: 4 kB / 0.525 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.161, allocations: 3.938 kB / 0.525 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.161, allocations: 0 / 0.525 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.161, allocations: 7.938 kB / 0.525 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.161, allocations: 0 / 0.525 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.1611, allocations: 105.8 kB / 0.5251 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1612, allocations: 23.84 kB / 0.5251 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1612, allocations: 0 / 0.5251 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1613, allocations: 8.094 kB / 0.5251 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1613, allocations: 4 kB / 0.5251 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1613, allocations: 0 / 0.5251 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.1616, allocations: 227.1 kB / 0.5254 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1616, allocations: 0 / 0.5254 GB, free: 13.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1618, allocations: 63.89 kB / 0.5254 GB, free: 13.36 MB / 414.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.0005472/0.1624, allocations: 0.6326 MB / 0.526 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1626, allocations: 100.2 kB / 0.5261 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1626, allocations: 4.094 kB / 0.5261 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.1627, allocations: 15.88 kB / 0.5261 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.163, allocations: 24.97 kB / 0.5262 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.1658, allocations: 2.228 MB / 0.5283 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.166, allocations: 130.2 kB / 0.5285 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1661, allocations: 25.94 kB / 0.5285 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1662, allocations: 79.39 kB / 0.5286 GB, free: 9.965 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1662, allocations: 0 / 0.5286 GB, free: 9.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.1975, allocations: 4.828 MB / 0.5333 GB, free: 5.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.43, allocations: 3.953 kB / 0.5333 GB, free: 5.121 MB / 414.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.845451122149825]