Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.0008442/0.0008442, allocations: 83.64 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.004334/0.004334, allocations: 167.5 kB / 24.7 MB, free: 9.414 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.9118/0.9118, allocations: 158.6 MB / 186.5 MB, free: 3.023 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.82e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004539/0.004567, allocations: 3.198 MB / 301.6 MB, free: 316 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1506/0.1551, allocations: 0.9285 MB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.1555, allocations: 10.91 kB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.1559, allocations: 108 kB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.1563, allocations: 198 kB / 302.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1566, allocations: 129.1 kB / 303 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.1573, allocations: 0.6586 MB / 303.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.1575, allocations: 123.5 kB / 303.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.1579, allocations: 372.2 kB / 304.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1582, allocations: 199.6 kB / 304.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.1583, allocations: 52.88 kB / 304.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.1584, allocations: 53.69 kB / 304.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.1584, allocations: 123.5 kB / 304.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.1586, allocations: 206.7 kB / 304.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.1593, allocations: 0.6652 MB / 305.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1593, allocations: 4.375 kB / 305.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1593, allocations: 1.062 kB / 305.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1593, allocations: 0 / 305.4 MB, free: 12.46 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001016/0.1603, allocations: 0.7773 MB / 306.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1604, allocations: 12.86 kB / 306.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1605, allocations: 81.09 kB / 306.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.1606, allocations: 65.03 kB / 306.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.1611, allocations: 339 kB / 306.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.1611, allocations: 107.9 kB / 306.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.1612, allocations: 35.69 kB / 306.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.1617, allocations: 0.8369 MB / 307.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1618, allocations: 4.188 kB / 307.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.1618, allocations: 21.16 kB / 307.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1618, allocations: 11.95 kB / 307.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.1622, allocations: 283.5 kB / 308 MB, free: 10.56 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.001477/0.1637, allocations: 1.04 MB / 309 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.1645, allocations: 334.7 kB / 309.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1647, allocations: 130.5 kB / 309.5 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1647, allocations: 6.484 kB / 309.5 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1647, allocations: 39.59 kB / 309.5 MB, free: 9.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1647, allocations: 0 / 309.5 MB, free: 9.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008333/0.1656, allocations: 459.6 kB / 310 MB, free: 9.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.1657, allocations: 449.3 kB / 310.4 MB, free: 8.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.1661, allocations: 456.8 kB / 310.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1661, allocations: 33.33 kB / 310.9 MB, free: 8.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1662, allocations: 240 kB / 311.1 MB, free: 8.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.1663, allocations: 115.1 kB / 311.2 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.1664, allocations: 79.08 kB / 311.3 MB, free: 8.395 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.1664, allocations: 359.9 kB / 311.7 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1666, allocations: 131.1 kB / 311.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1669, allocations: 0.6522 MB / 312.4 MB, free: 7.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.1672, allocations: 276.7 kB / 312.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1672, allocations: 0.7812 kB / 312.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005124/0.1677, allocations: 445.1 kB / 313.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.1678, allocations: 31.94 kB / 313.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1678, allocations: 3.938 kB / 313.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.168, allocations: 55.25 kB / 313.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1681, allocations: 61.83 kB / 313.3 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.1697, allocations: 2.755 MB / 316 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.17, allocations: 49.02 kB / 316.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.17, allocations: 8.375 kB / 316.1 MB, free: 4.152 MB / 282.7 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.1702, allocations: 167.1 kB / 316.3 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.1702, allocations: 55.39 kB / 316.3 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.1703, allocations: 50.44 kB / 316.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1703, allocations: 7.594 kB / 316.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1703, allocations: 3.938 kB / 316.4 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003917/0.1707, allocations: 0.6534 MB / 317 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.1717, allocations: 0.7875 MB / 317.8 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1717, allocations: 0 / 317.8 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.1719, allocations: 75.33 kB / 317.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1719, allocations: 5.375 kB / 317.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1719, allocations: 7.406 kB / 317.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1719, allocations: 1.938 kB / 317.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1719, allocations: 0 / 317.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.1725, allocations: 0.5196 MB / 318.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.1727, allocations: 89.08 kB / 318.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1727, allocations: 7.906 kB / 318.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1729, allocations: 19.47 kB / 318.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.1729, allocations: 17.02 kB / 318.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1729, allocations: 18.86 kB / 318.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.1733, allocations: 318.4 kB / 318.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1733, allocations: 1.312 kB / 318.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.1737, allocations: 136.4 kB / 319 MB, free: 2.266 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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.0007805/0.1745, allocations: 1.068 MB / 320.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.1753, allocations: 0.5765 MB / 320.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1753, allocations: 1.281 kB / 320.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1754, allocations: 120.8 kB / 320.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1759, allocations: 134.8 kB / 320.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/0.1813, allocations: 4.356 MB / 325.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1815, allocations: 220.6 kB / 325.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.1818, allocations: 67.31 kB / 325.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1821, allocations: 161.8 kB / 325.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.324e-06/0.1821, allocations: 0 / 325.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.2196, allocations: 14.45 MB / 340.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.329, allocations: 15.92 kB / 340.2 MB, free: 3.391 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_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_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.069083845242858]