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.0009434/0.0009434, allocations: 87.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.004238/0.004238, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8998/0.8998, allocations: 158.6 MB / 186.5 MB, free: 3.031 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 2.104e-06/2.104e-06, allocations: 0 / 298.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.178e-05, allocations: 6.219 kB / 298.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1575/0.1575, allocations: 4.968 MB / 303.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1599, allocations: 1.413 MB / 304.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.1603, allocations: 17.38 kB / 304.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1607, allocations: 201.3 kB / 305 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.1614, allocations: 419.7 kB / 305.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.162, allocations: 257.5 kB / 305.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1633, allocations: 1.416 MB / 307.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.1637, allocations: 267.6 kB / 307.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009259/0.1647, allocations: 0.7894 MB / 308.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.1652, allocations: 440.5 kB / 308.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1653, allocations: 117.8 kB / 308.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1654, allocations: 120.4 kB / 308.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1656, allocations: 258 kB / 309.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.166, allocations: 453.7 kB / 309.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1677, allocations: 1.455 MB / 311 MB, free: 9.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.1677, allocations: 0 / 311 MB, free: 9.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1677, allocations: 2.438 kB / 311 MB, free: 9.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.1677, allocations: 0 / 311 MB, free: 9.887 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.002479/0.1702, allocations: 1.43 MB / 312.4 MB, free: 8.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.1702, allocations: 13.39 kB / 312.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.1704, allocations: 134.2 kB / 312.5 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.1706, allocations: 133.9 kB / 312.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/0.1715, allocations: 0.5796 MB / 313.3 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.1717, allocations: 307.8 kB / 313.6 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.1718, allocations: 72.88 kB / 313.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1731, allocations: 1.862 MB / 315.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1731, allocations: 192 / 315.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.1732, allocations: 38.94 kB / 315.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.1732, allocations: 20.5 kB / 315.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.1742, allocations: 0.6188 MB / 316.2 MB, free: 6.102 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.003214/0.1774, allocations: 1.991 MB / 318.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.1789, allocations: 0.7495 MB / 318.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.1793, allocations: 322.2 kB / 319.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.1794, allocations: 11.83 kB / 319.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1794, allocations: 50.91 kB / 319.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.1794, allocations: 0.9375 kB / 319.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001672/0.1811, allocations: 1.023 MB / 320.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1812, allocations: 0.9534 MB / 321.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/0.182, allocations: 0.7892 MB / 322.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.1821, allocations: 49.77 kB / 322.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1822, allocations: 424.5 kB / 322.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1824, allocations: 263.5 kB / 322.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.1825, allocations: 151.3 kB / 322.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.1826, allocations: 341 kB / 323.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.1829, allocations: 334.3 kB / 323.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.1836, allocations: 1.555 MB / 325.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.1844, allocations: 0.6573 MB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1844, allocations: 7.422 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00122/0.1856, allocations: 1.034 MB / 326.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.1857, allocations: 87.88 kB / 326.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1857, allocations: 1.125 kB / 326.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.186, allocations: 128.5 kB / 327 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.1863, allocations: 149.9 kB / 327.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.1902, allocations: 6.767 MB / 334 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008698/0.191, allocations: 110 kB / 334.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.1911, allocations: 25.73 kB / 334.1 MB, free: 7.559 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.0004245/0.1915, allocations: 238.7 kB / 334.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1917, allocations: 104.4 kB / 334.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1918, allocations: 99.91 kB / 334.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1918, allocations: 7.719 kB / 334.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.1918, allocations: 4 kB / 334.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009155/0.1927, allocations: 0.9757 MB / 335.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.1947, allocations: 1.551 MB / 337.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1947, allocations: 0 / 337.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1951, allocations: 158 kB / 337.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-05/0.1952, allocations: 26.62 kB / 337.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1952, allocations: 15.98 kB / 337.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006986/0.1959, allocations: 1.305 MB / 338.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1959, allocations: 1.031 kB / 338.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1973, allocations: 1.079 MB / 339.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.1977, allocations: 192.1 kB / 339.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.1978, allocations: 15.94 kB / 339.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.1981, allocations: 39.72 kB / 339.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.1982, allocations: 49.97 kB / 339.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.1982, allocations: 19.98 kB / 340 MB, free: 3.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006263/0.1989, allocations: 0.5459 MB / 340.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1989, allocations: 0 / 340.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006301/0.1995, allocations: 295.7 kB / 340.8 MB, free: 2.309 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.001478/0.201, allocations: 1.652 MB / 342.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.2027, allocations: 1.438 MB / 343.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2027, allocations: 256 / 343.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.2031, allocations: 406.2 kB / 344.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.2039, allocations: 285.5 kB / 344.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009411/0.2133, allocations: 8.152 MB / 352.7 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2136, allocations: 398.2 kB / 353.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000501/0.2141, allocations: 131.5 kB / 353.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.2145, allocations: 356.4 kB / 353.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2145, allocations: 0 / 353.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.2644, allocations: 29.4 MB / 383 MB, free: 7.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.875/9.14, allocations: 7.938 kB / 383 MB, free: 7.547 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.905210382305086]