Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0009993/0.0009993, 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.00439/0.00439, allocations: 162 kB / 24.69 MB, free: 8.891 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.8264/0.8264, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.201e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00307/0.003092, allocations: 3.347 MB / 301.8 MB, free: 156 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1371/0.1402, allocations: 0.9634 MB / 302.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1404, allocations: 11.16 kB / 302.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1407, allocations: 112.7 kB / 302.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.141, allocations: 215.7 kB / 303.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1413, allocations: 127 kB / 303.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.1418, allocations: 0.7088 MB / 303.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.142, allocations: 130.4 kB / 304 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.1423, allocations: 391.2 kB / 304.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1425, allocations: 217.5 kB / 304.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.1426, allocations: 56.31 kB / 304.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.1427, allocations: 58.41 kB / 304.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1427, allocations: 127.9 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.1429, allocations: 222 kB / 305.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1434, allocations: 0.7146 MB / 305.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1434, allocations: 0.6094 kB / 305.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1434, allocations: 1.25 kB / 305.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1435, allocations: 0 / 305.8 MB, free: 12.26 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009165/0.1444, allocations: 0.8324 MB / 306.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1444, allocations: 13.98 kB / 306.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.182e-05/0.1445, allocations: 73.66 kB / 306.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.1446, allocations: 71.12 kB / 306.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1451, allocations: 380.6 kB / 307.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.1451, allocations: 114.1 kB / 307.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.1452, allocations: 31.53 kB / 307.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.1457, allocations: 0.8638 MB / 308.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1457, allocations: 192 / 308.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.1458, allocations: 21.28 kB / 308.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1458, allocations: 7.219 kB / 308.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.1462, allocations: 339.4 kB / 308.5 MB, free: 10.31 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.001202/0.1474, allocations: 1.022 MB / 309.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1478, allocations: 280.6 kB / 309.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.148, allocations: 163 kB / 310 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1481, allocations: 11.88 kB / 310 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.1481, allocations: 38.86 kB / 310 MB, free: 9.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.1481, allocations: 1.078 kB / 310 MB, free: 9.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008987/0.149, allocations: 0.5755 MB / 310.6 MB, free: 9.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.149, allocations: 446 kB / 311 MB, free: 8.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.1494, allocations: 465.5 kB / 311.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1494, allocations: 33.11 kB / 311.5 MB, free: 8.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.1495, allocations: 242.1 kB / 311.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.1496, allocations: 130 kB / 311.9 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.1496, allocations: 77.17 kB / 312 MB, free: 8.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.1497, allocations: 360.4 kB / 312.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1499, allocations: 164 kB / 312.5 MB, free: 7.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1502, allocations: 0.6872 MB / 313.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.1506, allocations: 336.3 kB / 313.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1506, allocations: 0 / 313.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005903/0.1512, allocations: 0.5006 MB / 314 MB, free: 6.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.1513, allocations: 32.25 kB / 314 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1513, allocations: 1.703 kB / 314 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.1514, allocations: 50.78 kB / 314.1 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1516, allocations: 81.66 kB / 314.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1528, allocations: 2.738 MB / 316.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.153, allocations: 53.89 kB / 316.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.153, allocations: 20.12 kB / 317 MB, free: 3.824 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 (37): * Single equations (assignments): 34 * 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.0001214/0.1531, allocations: 170.2 kB / 317.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1532, allocations: 55.17 kB / 317.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.1532, allocations: 55.91 kB / 317.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1532, allocations: 2.75 kB / 317.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1532, allocations: 2.125 kB / 317.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005053/0.1537, allocations: 0.7289 MB / 318 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/0.1547, allocations: 0.9041 MB / 318.9 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1547, allocations: 1.5 kB / 318.9 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.1549, allocations: 88.56 kB / 319 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1549, allocations: 2.281 kB / 319 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1549, allocations: 14.89 kB / 319 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1549, allocations: 5.969 kB / 319 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1549, allocations: 0 / 319 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.1557, allocations: 0.6515 MB / 319.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1558, allocations: 95.11 kB / 319.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.1558, allocations: 12.53 kB / 319.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.156, allocations: 26.34 kB / 319.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.1561, allocations: 25.03 kB / 319.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1561, allocations: 10.45 kB / 319.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002358/0.1563, allocations: 330.8 kB / 320.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1563, allocations: 0 / 320.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.1566, allocations: 140.1 kB / 320.3 MB, free: 1.828 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 (35): * Single equations (assignments): 35 * 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.0008544/0.1574, allocations: 1.205 MB / 321.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.1581, allocations: 0.6497 MB / 322.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1581, allocations: 1.25 kB / 322.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.1583, allocations: 166.9 kB / 322.3 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1588, allocations: 140.1 kB / 322.4 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/0.164, allocations: 4.614 MB / 327 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1641, allocations: 227.1 kB / 327.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.1643, allocations: 65.59 kB / 327.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.1645, allocations: 180.1 kB / 327.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1645, allocations: 0 / 327.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.1943, allocations: 15.48 MB / 343 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.256, allocations: 7.844 kB / 343 MB, free: 0.5625 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_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_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.93142787925899]