Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.0008298/0.0008298, 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.00603/0.00603, allocations: 166.2 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.9055/0.9055, 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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.868e-05/2.06e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.1536/0.1537, allocations: 4.398 MB / 302.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.157, allocations: 1.283 MB / 304.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.1575, allocations: 12.03 kB / 304.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.158, allocations: 166.1 kB / 304.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.1588, allocations: 352.3 kB / 304.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.1594, allocations: 227.1 kB / 304.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1608, allocations: 1.196 MB / 306.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.1612, allocations: 225 kB / 306.3 MB, free: 12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.1619, allocations: 0.6633 MB / 306.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.1624, allocations: 375 kB / 307.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.1625, allocations: 106.1 kB / 307.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1627, allocations: 104.1 kB / 307.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1628, allocations: 224.8 kB / 307.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.1631, allocations: 386.4 kB / 308.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1642, allocations: 1.224 MB / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1642, allocations: 2.688 kB / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1642, allocations: 0 / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.1642, allocations: 0 / 309.3 MB, free: 10.79 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001638/0.1659, allocations: 1.257 MB / 310.6 MB, free: 9.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1659, allocations: 15.53 kB / 310.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.166, allocations: 123.5 kB / 310.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.1662, allocations: 112 kB / 310.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.1669, allocations: 0.4937 MB / 311.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.1671, allocations: 308.2 kB / 311.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.1672, allocations: 61.97 kB / 311.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1684, allocations: 1.611 MB / 313.3 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1684, allocations: 2.438 kB / 313.3 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.1684, allocations: 39.81 kB / 313.3 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1685, allocations: 20.39 kB / 313.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.1694, allocations: 0.5592 MB / 313.9 MB, free: 7.43 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.002319/0.1717, allocations: 1.689 MB / 315.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1729, allocations: 0.6942 MB / 316.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.1734, allocations: 330.4 kB / 316.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.1734, allocations: 12.22 kB / 316.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1734, allocations: 53.27 kB / 316.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.024e-06/0.1734, allocations: 0 / 316.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.003273/0.1767, allocations: 1.43 MB / 318.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.1769, allocations: 0.8231 MB / 318.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009012/0.1778, allocations: 0.6488 MB / 319.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.1779, allocations: 45.67 kB / 319.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.1781, allocations: 341.5 kB / 320 MB, free: 4.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1783, allocations: 270.2 kB / 320.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.1785, allocations: 140.2 kB / 320.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1786, allocations: 389 kB / 320.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.1791, allocations: 327.5 kB / 321.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.1799, allocations: 1.357 MB / 322.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.1809, allocations: 0.6404 MB / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1809, allocations: 0 / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001484/0.1824, allocations: 1.127 MB / 324.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.1824, allocations: 95.75 kB / 324.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1824, allocations: 1.156 kB / 324.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.1829, allocations: 233 kB / 324.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1832, allocations: 129.3 kB / 324.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.1884, allocations: 6.463 MB / 331.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.1889, allocations: 102 kB / 331.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.1889, allocations: 21.19 kB / 331.2 MB, free: 10.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.1892, allocations: 212.7 kB / 331.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1893, allocations: 91.23 kB / 331.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1894, allocations: 98.05 kB / 331.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1894, allocations: 6.875 kB / 331.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.1894, allocations: 1.25 kB / 331.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001505/0.191, allocations: 1.183 MB / 332.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.1932, allocations: 1.686 MB / 334.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1932, allocations: 2.406 kB / 334.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.1936, allocations: 127.7 kB / 334.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/0.1939, allocations: 196.7 kB / 334.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.1939, allocations: 18.62 kB / 334.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003955/0.1979, allocations: 4.963 MB / 339.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1979, allocations: 1.375 kB / 339.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.1996, allocations: 1.319 MB / 341.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.1999, allocations: 163.3 kB / 341.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.2, allocations: 23.98 kB / 341.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.2002, allocations: 44.09 kB / 341.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2004, allocations: 60.48 kB / 341.4 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.2004, allocations: 23.97 kB / 341.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003883/0.2008, allocations: 459.1 kB / 341.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2008, allocations: 4 kB / 341.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000707/0.2015, allocations: 287.7 kB / 342.2 MB, free: 0.9375 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002051/0.2036, allocations: 1.884 MB / 344 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.2051, allocations: 1.329 MB / 345.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2051, allocations: 4 kB / 345.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.2057, allocations: 0.6717 MB / 346.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.2064, allocations: 225.4 kB / 346.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/0.2146, allocations: 7.703 MB / 354 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2149, allocations: 354 kB / 354.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002981/0.2151, allocations: 102.4 kB / 354.4 MB, free: 4.184 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2154, allocations: 296.4 kB / 354.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2154, allocations: 0 / 354.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.2633, allocations: 27.6 MB / 382.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/8.818, allocations: 7.906 kB / 382.3 MB, free: 8.191 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.605862808413804]