Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.0008598/0.0008598, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005432/0.005432, allocations: 164.3 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8779/0.8779, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.638e-05/4.001e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1344/0.1345, allocations: 4.968 MB / 303.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1374, allocations: 1.417 MB / 304.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.138, allocations: 18.09 kB / 304.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.1386, allocations: 201.2 kB / 305 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008564/0.1395, allocations: 411.6 kB / 305.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1402, allocations: 259.5 kB / 305.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.1416, allocations: 1.418 MB / 307.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.142, allocations: 271.8 kB / 307.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008058/0.1428, allocations: 0.7822 MB / 308.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.1433, allocations: 435.7 kB / 308.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.1434, allocations: 118.7 kB / 308.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1436, allocations: 120.5 kB / 308.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1437, allocations: 266.3 kB / 309.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.1441, allocations: 453.4 kB / 309.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1454, allocations: 1.447 MB / 311 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1454, allocations: 0 / 311 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1454, allocations: 1.5 kB / 311 MB, free: 9.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.1455, allocations: 6.156 kB / 311 MB, free: 9.855 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001717/0.1472, allocations: 1.429 MB / 312.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1472, allocations: 12.77 kB / 312.4 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.1474, allocations: 132 kB / 312.5 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1475, allocations: 138.1 kB / 312.7 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.1483, allocations: 0.5724 MB / 313.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.1484, allocations: 308.9 kB / 313.5 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.1485, allocations: 76.08 kB / 313.6 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1496, allocations: 1.861 MB / 315.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1496, allocations: 4.984 kB / 315.5 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.1497, allocations: 38.34 kB / 315.5 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1497, allocations: 19.27 kB / 315.5 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.1506, allocations: 0.6152 MB / 316.2 MB, free: 6.074 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.1533, allocations: 1.996 MB / 318.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.1547, allocations: 0.7499 MB / 318.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.1551, allocations: 320.4 kB / 319.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.543e-05/0.1552, allocations: 13.09 kB / 319.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1552, allocations: 54.56 kB / 319.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.144e-06/0.1552, allocations: 0 / 319.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001698/0.1569, allocations: 1.024 MB / 320.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.157, allocations: 0.9535 MB / 321.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.1578, allocations: 0.7942 MB / 322.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.1579, allocations: 41.86 kB / 322.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1581, allocations: 426 kB / 322.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1582, allocations: 259.7 kB / 322.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.1583, allocations: 156.3 kB / 322.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.1584, allocations: 337.2 kB / 323.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.1587, allocations: 335.8 kB / 323.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.1594, allocations: 1.554 MB / 325.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.1603, allocations: 0.6686 MB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1603, allocations: 3.938 kB / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00125/0.1615, allocations: 1.028 MB / 326.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.1616, allocations: 84.17 kB / 326.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1616, allocations: 4.125 kB / 326.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.1619, allocations: 129.2 kB / 327 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.1623, allocations: 153.8 kB / 327.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/0.1673, allocations: 6.76 MB / 334 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.1683, allocations: 106 kB / 334.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.1684, allocations: 26.59 kB / 334.1 MB, free: 7.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.1688, allocations: 234 kB / 334.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1689, allocations: 115.4 kB / 334.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.169, allocations: 108.6 kB / 334.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.169, allocations: 7.312 kB / 334.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.1691, allocations: 1.094 kB / 334.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009629/0.17, allocations: 0.9632 MB / 335.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.1719, allocations: 1.558 MB / 337.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.172, allocations: 1.219 kB / 337.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.1724, allocations: 156 kB / 337.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.1725, allocations: 30.62 kB / 337.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.1725, allocations: 15.22 kB / 337.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009781/0.1735, allocations: 1.297 MB / 338.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1735, allocations: 0 / 338.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1749, allocations: 1.085 MB / 339.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.1752, allocations: 191.4 kB / 339.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.1753, allocations: 20.06 kB / 339.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.1756, allocations: 43.42 kB / 339.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.1757, allocations: 44.34 kB / 339.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1757, allocations: 20 kB / 339.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004831/0.1762, allocations: 0.5537 MB / 340.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1762, allocations: 0 / 340.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006115/0.1768, allocations: 291.8 kB / 340.8 MB, free: 2.273 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.1783, allocations: 1.654 MB / 342.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.1797, allocations: 1.434 MB / 343.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1797, allocations: 4 kB / 343.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.1801, allocations: 402.2 kB / 344.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.1808, allocations: 287 kB / 344.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009098/0.1899, allocations: 8.141 MB / 352.7 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1902, allocations: 394.2 kB / 353.1 MB, free: 5.523 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000483/0.1907, allocations: 131.4 kB / 353.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.191, allocations: 356.4 kB / 353.6 MB, free: 5.043 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.191, allocations: 0 / 353.6 MB, free: 5.043 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/0.2418, allocations: 29.42 MB / 383 MB, free: 7.523 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/8.867, allocations: 8 kB / 383 MB, free: 7.516 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 10.518773411400616]