Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001144/0.001144, allocations: 79.7 kB / 21.43 MB, free: 3.129 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.005411/0.005411, allocations: 167 kB / 24.69 MB, free: 9.426 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.8804/0.8804, allocations: 158.6 MB / 186.5 MB, free: 3.027 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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 298.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.353e-05, allocations: 6.219 kB / 298.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1169/0.1169, allocations: 4.501 MB / 302.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1187, allocations: 1.301 MB / 304.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.119, allocations: 15.78 kB / 304.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1193, allocations: 163.5 kB / 304.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.1198, allocations: 348.7 kB / 304.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1202, allocations: 234.7 kB / 305 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.121, allocations: 1.22 MB / 306.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.1213, allocations: 211.8 kB / 306.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.1219, allocations: 0.6773 MB / 307.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.1223, allocations: 387 kB / 307.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1225, allocations: 103.8 kB / 307.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1226, allocations: 106.2 kB / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1227, allocations: 229.1 kB / 307.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.123, allocations: 381.2 kB / 308.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.124, allocations: 1.259 MB / 309.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.124, allocations: 0 / 309.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.124, allocations: 0 / 309.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.1241, allocations: 1.875 kB / 309.5 MB, free: 10.73 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001613/0.1257, allocations: 1.287 MB / 310.8 MB, free: 9.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1257, allocations: 13.44 kB / 310.8 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.1259, allocations: 119.6 kB / 310.9 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.126, allocations: 116.4 kB / 311 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.1268, allocations: 0.5286 MB / 311.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.127, allocations: 303.2 kB / 311.9 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.127, allocations: 59.66 kB / 311.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1281, allocations: 1.627 MB / 313.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1281, allocations: 9.781 kB / 313.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.1281, allocations: 23.69 kB / 313.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1281, allocations: 14.34 kB / 313.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.129, allocations: 0.6048 MB / 314.2 MB, free: 7.352 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.002114/0.1311, allocations: 1.646 MB / 315.9 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.1319, allocations: 0.5782 MB / 316.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.1324, allocations: 364.6 kB / 316.8 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1324, allocations: 15.8 kB / 316.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1325, allocations: 46.69 kB / 316.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.834e-06/0.1325, allocations: 0 / 316.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002697/0.1352, allocations: 1.483 MB / 318.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.1352, allocations: 0.8228 MB / 319.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.1357, allocations: 0.6325 MB / 319.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.1358, allocations: 46.36 kB / 319.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1359, allocations: 345.3 kB / 320.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.136, allocations: 265.4 kB / 320.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1362, allocations: 148.5 kB / 320.6 MB, free: 3.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.1363, allocations: 392.9 kB / 321 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1367, allocations: 349.8 kB / 321.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.1373, allocations: 1.383 MB / 322.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.1381, allocations: 0.6853 MB / 323.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1381, allocations: 0 / 323.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001395/0.1395, allocations: 1.168 MB / 324.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.1395, allocations: 88.69 kB / 324.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1395, allocations: 7.938 kB / 324.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.14, allocations: 234.2 kB / 324.9 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1403, allocations: 140 kB / 325 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.1449, allocations: 6.47 MB / 331.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.1453, allocations: 102.8 kB / 331.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1454, allocations: 28.77 kB / 331.6 MB, free: 10.2 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 (69): * Single equations (assignments): 62 * 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.0002256/0.1456, allocations: 213.6 kB / 331.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.1457, allocations: 92.61 kB / 331.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1458, allocations: 85.53 kB / 332 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1458, allocations: 7.344 kB / 332 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1458, allocations: 7.875 kB / 332 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/0.1473, allocations: 1.232 MB / 333.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.1494, allocations: 1.741 MB / 335 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1494, allocations: 0 / 335 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1498, allocations: 141 kB / 335.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002947/0.1501, allocations: 200 kB / 335.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.1501, allocations: 16.11 kB / 335.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/0.1536, allocations: 4.996 MB / 340.3 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1536, allocations: 0 / 340.3 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.1554, allocations: 1.392 MB / 341.7 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.1556, allocations: 167.2 kB / 341.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.1557, allocations: 28.06 kB / 341.9 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.156, allocations: 47.95 kB / 341.9 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1561, allocations: 64.53 kB / 342 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1562, allocations: 23.98 kB / 342 MB, free: 1.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.1565, allocations: 455.1 kB / 342.5 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1565, allocations: 3.938 kB / 342.5 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000538/0.1571, allocations: 283.8 kB / 342.7 MB, free: 432 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.00208/0.1591, allocations: 1.966 MB / 344.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.1605, allocations: 1.396 MB / 346.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1605, allocations: 0 / 346.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.1612, allocations: 0.7418 MB / 346.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.1619, allocations: 234.2 kB / 347.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008392/0.1703, allocations: 7.804 MB / 354.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1705, allocations: 350.2 kB / 355.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.1708, allocations: 102.4 kB / 355.3 MB, free: 3.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.1711, allocations: 300.4 kB / 355.6 MB, free: 3.078 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1711, allocations: 0 / 355.6 MB, free: 3.078 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.2108, allocations: 28.29 MB / 383.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/8.896, allocations: 0 / 383.9 MB, free: 6.68 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_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_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.618248620070517]