Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009833/0.0009833, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9029/0.9029, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.549e-05, allocations: 3.406 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004166/0.004192, allocations: 4.53 MB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.006155, allocations: 1.285 MB / 330.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.006469, allocations: 15.88 kB / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.006835, allocations: 154.6 kB / 330.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.00742, allocations: 360.9 kB / 330.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.007839, allocations: 227.5 kB / 331.1 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.008924, allocations: 1.221 MB / 332.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.009241, allocations: 214.5 kB / 332.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.0102, allocations: 0.6821 MB / 333.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.01061, allocations: 382.9 kB / 333.5 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.01072, allocations: 104 kB / 333.7 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.01082, allocations: 108 kB / 333.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.01095, allocations: 223.2 kB / 334 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.01127, allocations: 387.1 kB / 334.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.01222, allocations: 1.254 MB / 335.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01222, allocations: 0 / 335.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01222, allocations: 0 / 335.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.01224, allocations: 0 / 335.6 MB, free: 4.762 MB / 298.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.001523/0.01376, allocations: 1.288 MB / 336.9 MB, free: 3.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.0138, allocations: 11.98 kB / 336.9 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.01395, allocations: 123.8 kB / 337 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.01408, allocations: 116.3 kB / 337.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.01481, allocations: 0.5343 MB / 337.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.01498, allocations: 297.2 kB / 338 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.01505, allocations: 60.38 kB / 338 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.01616, allocations: 1.624 MB / 339.6 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.01618, allocations: 4 kB / 339.7 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.01622, allocations: 28 kB / 339.7 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.01623, allocations: 16 kB / 339.7 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.01733, allocations: 0.6024 MB / 340.3 MB, free: 15.63 MB / 314.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.002049/0.01938, allocations: 1.631 MB / 341.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.02017, allocations: 0.5892 MB / 342.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.02064, allocations: 359.2 kB / 342.9 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.02068, allocations: 12.66 kB / 342.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.02071, allocations: 47.22 kB / 342.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.475e-06/0.02071, allocations: 4 kB / 342.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002675/0.02338, allocations: 1.484 MB / 344.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/0.02362, allocations: 0.8195 MB / 345.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.02416, allocations: 0.6332 MB / 345.9 MB, free: 9.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.02421, allocations: 41.7 kB / 345.9 MB, free: 9.723 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.02439, allocations: 349.2 kB / 346.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.02453, allocations: 277.5 kB / 346.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.02467, allocations: 138.7 kB / 346.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.02479, allocations: 394.7 kB / 347 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006836/0.02548, allocations: 354.9 kB / 347.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.02626, allocations: 1.383 MB / 348.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.02729, allocations: 0.6817 MB / 349.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.0273, allocations: 0 / 349.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002048/0.02934, allocations: 1.17 MB / 350.6 MB, free: 4.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.0294, allocations: 85.09 kB / 350.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.0294, allocations: 4 kB / 350.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004374/0.02984, allocations: 239.1 kB / 350.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.03017, allocations: 135.8 kB / 351.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/0.03522, allocations: 6.479 MB / 357.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.03569, allocations: 103.6 kB / 357.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.03573, allocations: 28.05 kB / 357.7 MB, free: 13.03 MB / 330.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.0002678/0.03599, allocations: 221.7 kB / 357.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.03609, allocations: 87.48 kB / 358 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.03618, allocations: 91.34 kB / 358.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.03618, allocations: 8 kB / 358.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.03619, allocations: 4.125 kB / 358.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.03756, allocations: 1.229 MB / 359.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.04006, allocations: 1.736 MB / 361.1 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.04006, allocations: 3.938 kB / 361.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.04041, allocations: 135.8 kB / 361.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.04072, allocations: 198.5 kB / 361.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.04075, allocations: 19.98 kB / 361.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.04434, allocations: 4.994 MB / 366.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.04435, allocations: 16.06 kB / 366.4 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.04622, allocations: 1.392 MB / 367.8 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.04649, allocations: 171.2 kB / 368 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.04655, allocations: 16 kB / 368 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.04689, allocations: 55.94 kB / 368 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.04727, allocations: 60.55 kB / 368.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.0473, allocations: 23.98 kB / 368.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.04768, allocations: 451.1 kB / 368.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04768, allocations: 0 / 368.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006241/0.04831, allocations: 287.7 kB / 368.8 MB, free: 1.309 MB / 330.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.002274/0.05058, allocations: 1.97 MB / 370.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.05218, allocations: 1.388 MB / 372.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.05218, allocations: 4 kB / 372.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.053, allocations: 0.7457 MB / 373 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.05379, allocations: 234.9 kB / 373.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/0.06281, allocations: 7.801 MB / 381 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.06307, allocations: 354.2 kB / 381.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.06343, allocations: 106.4 kB / 381.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.06373, allocations: 300.4 kB / 381.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.06373, allocations: 0 / 381.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/0.1097, allocations: 28.29 MB / 410 MB, free: 8.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/8.682, allocations: 7.844 kB / 410 MB, free: 8.059 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.468974356539547]