Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001187/0.001187, 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.003493/0.003493, allocations: 161.9 kB / 24.69 MB, free: 9.418 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.8926/0.8926, 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.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.516e-06/3.516e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.884e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00482/0.004849, allocations: 2.668 MB / 301.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1435/0.1483, allocations: 1.114 MB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.1486, allocations: 6.156 kB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.1492, allocations: 181.5 kB / 302.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.1497, allocations: 219.8 kB / 302.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.15, allocations: 151 kB / 302.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.1506, allocations: 467.5 kB / 303.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1507, allocations: 64.55 kB / 303.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.151, allocations: 262.8 kB / 303.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1514, allocations: 168.5 kB / 303.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.1514, allocations: 29.66 kB / 303.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1516, allocations: 74.41 kB / 303.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.1517, allocations: 88.17 kB / 303.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1518, allocations: 130.6 kB / 304 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.1524, allocations: 492 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1524, allocations: 1.062 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1524, allocations: 0 / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.1524, allocations: 1.312 kB / 304.5 MB, free: 12.85 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008083/0.1532, allocations: 0.6316 MB / 305.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1532, allocations: 12.77 kB / 305.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.1533, allocations: 69.7 kB / 305.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.1534, allocations: 49.52 kB / 305.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.1538, allocations: 278.6 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1538, allocations: 17.39 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1538, allocations: 21.41 kB / 305.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.1543, allocations: 0.5997 MB / 306.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1543, allocations: 3.938 kB / 306.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.1543, allocations: 14.02 kB / 306.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1543, allocations: 4.406 kB / 306.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1545, allocations: 154.3 kB / 306.3 MB, free: 11.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.0009728/0.1555, allocations: 0.7032 MB / 307 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1558, allocations: 175.5 kB / 307.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1559, allocations: 69.23 kB / 307.3 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1559, allocations: 8.312 kB / 307.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.1561, allocations: 184.1 kB / 307.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.065e-06/0.1561, allocations: 0 / 307.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006699/0.1568, allocations: 331.3 kB / 307.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1569, allocations: 317.9 kB / 308.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.1573, allocations: 435.8 kB / 308.5 MB, free: 10.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1573, allocations: 32.7 kB / 308.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1574, allocations: 212.1 kB / 308.8 MB, free: 9.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.1575, allocations: 81.8 kB / 308.8 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.1575, allocations: 57.67 kB / 308.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.1576, allocations: 349.3 kB / 309.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.1577, allocations: 70.56 kB / 309.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.1579, allocations: 437.2 kB / 309.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1581, allocations: 170.4 kB / 309.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1581, allocations: 6.297 kB / 309.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003538/0.1585, allocations: 281.3 kB / 310.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1585, allocations: 5.656 kB / 310.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1585, allocations: 7.406 kB / 310.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.1586, allocations: 33.31 kB / 310.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1588, allocations: 50.09 kB / 310.3 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009037/0.1597, allocations: 1.468 MB / 311.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.1598, allocations: 21.52 kB / 311.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1599, allocations: 11.81 kB / 311.8 MB, free: 7.367 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.16, allocations: 166.9 kB / 311.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.16, allocations: 44.41 kB / 312 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.1605, allocations: 272.2 kB / 312.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1605, allocations: 7.828 kB / 312.2 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.1605, allocations: 0 / 312.2 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003272/0.1608, allocations: 0.5906 MB / 312.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.1616, allocations: 0.648 MB / 313.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1616, allocations: 0.9375 kB / 313.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1617, allocations: 43.98 kB / 313.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1617, allocations: 1.719 kB / 313.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1618, allocations: 6.391 kB / 313.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1618, allocations: 0.8906 kB / 313.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1618, allocations: 5.125 kB / 313.5 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.1621, allocations: 422 kB / 314 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.1622, allocations: 59.78 kB / 314 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.1623, allocations: 7.531 kB / 314 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1624, allocations: 12.33 kB / 314 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1624, allocations: 16.72 kB / 314.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1624, allocations: 7.203 kB / 314.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1627, allocations: 315.1 kB / 314.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1627, allocations: 0 / 314.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.163, allocations: 98.11 kB / 314.5 MB, free: 5.562 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001249/0.1643, allocations: 1.299 MB / 315.8 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.1647, allocations: 307 kB / 316.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1647, allocations: 1.219 kB / 316.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1648, allocations: 81.67 kB / 316.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1652, allocations: 109.6 kB / 316.2 MB, free: 4.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.1684, allocations: 3.313 MB / 319.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.1685, allocations: 195.4 kB / 319.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.1687, allocations: 44.78 kB / 319.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1688, allocations: 123.1 kB / 319.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1688, allocations: 0 / 319.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.2029, allocations: 11.61 MB / 331.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.246, allocations: 15.78 kB / 331.5 MB, free: 12.16 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.046324183233082]