Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008115/0.0008115, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008209/0.0008209, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9111/0.9111, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.401e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003177/0.003191, allocations: 3.374 MB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004766, allocations: 0.9734 MB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.004958, allocations: 7.938 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.005235, allocations: 107.1 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.005559, allocations: 214.2 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.00577, allocations: 127.8 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006705/0.00644, allocations: 0.7116 MB / 330.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.006629, allocations: 131.4 kB / 330.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.006915, allocations: 391.2 kB / 330.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.007115, allocations: 211.4 kB / 330.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.007172, allocations: 60 kB / 330.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.007225, allocations: 56 kB / 330.9 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.007295, allocations: 135.5 kB / 331 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.007441, allocations: 223.5 kB / 331.2 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.007919, allocations: 0.7088 MB / 331.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007922, allocations: 0 / 331.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007923, allocations: 0 / 331.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.007928, allocations: 0 / 331.9 MB, free: 8.531 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009584/0.008887, allocations: 0.8287 MB / 332.8 MB, free: 7.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.008925, allocations: 12.03 kB / 332.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.163e-05/0.009016, allocations: 83.25 kB / 332.9 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.009095, allocations: 72.52 kB / 332.9 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.009589, allocations: 376.3 kB / 333.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.009681, allocations: 114.3 kB / 333.4 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.009722, allocations: 32.38 kB / 333.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.01067, allocations: 0.8609 MB / 334.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01068, allocations: 192 / 334.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.01071, allocations: 19.94 kB / 334.3 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.01072, allocations: 8 kB / 334.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.0112, allocations: 342.4 kB / 334.7 MB, free: 5.57 MB / 298.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.001302/0.0125, allocations: 1.029 MB / 335.7 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.0129, allocations: 290 kB / 336 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.01312, allocations: 164.8 kB / 336.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01315, allocations: 8 kB / 336.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.01317, allocations: 38.56 kB / 336.2 MB, free: 3.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.01317, allocations: 0 / 336.2 MB, free: 3.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009082/0.01408, allocations: 0.5717 MB / 336.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.01421, allocations: 448.9 kB / 337.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.01456, allocations: 461.9 kB / 337.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.01459, allocations: 37.7 kB / 337.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.01472, allocations: 244.6 kB / 337.9 MB, free: 2.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.01479, allocations: 130.8 kB / 338.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.01488, allocations: 77.48 kB / 338.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.01498, allocations: 362.7 kB / 338.5 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.01519, allocations: 165.6 kB / 338.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.01558, allocations: 0.6816 MB / 339.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.016, allocations: 329.2 kB / 339.6 MB, free: 196 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.016, allocations: 0 / 339.6 MB, free: 196 kB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000595/0.01659, allocations: 0.5114 MB / 340.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.01662, allocations: 29.7 kB / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01663, allocations: 3.984 kB / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.01674, allocations: 53.62 kB / 340.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.01695, allocations: 79.94 kB / 340.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.01878, allocations: 2.75 MB / 343.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.01897, allocations: 47.8 kB / 343.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01899, allocations: 20.09 kB / 343.1 MB, free: 12.43 MB / 314.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.0001443/0.01914, allocations: 169.8 kB / 343.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.01919, allocations: 51.67 kB / 343.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.01925, allocations: 60.75 kB / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01925, allocations: 0 / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01926, allocations: 8 kB / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005512/0.01981, allocations: 0.7232 MB / 344.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.02075, allocations: 0.9067 MB / 345.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02076, allocations: 3.938 kB / 345.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.02097, allocations: 83.94 kB / 345.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.02097, allocations: 0 / 345.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.02099, allocations: 15.92 kB / 345.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02099, allocations: 3.938 kB / 345.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02099, allocations: 0 / 345.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.02172, allocations: 0.6496 MB / 345.8 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.02184, allocations: 91.58 kB / 345.9 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.02188, allocations: 15.94 kB / 345.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.02206, allocations: 27.97 kB / 345.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.02211, allocations: 23.95 kB / 346 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.02212, allocations: 8 kB / 346 MB, free: 9.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.02236, allocations: 323.1 kB / 346.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02236, allocations: 4.062 kB / 346.3 MB, free: 9.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.02263, allocations: 143.8 kB / 346.4 MB, free: 8.953 MB / 314.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.001216/0.02385, allocations: 1.204 MB / 347.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.02457, allocations: 0.6467 MB / 348.3 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02457, allocations: 4 kB / 348.3 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.02479, allocations: 167.8 kB / 348.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.02522, allocations: 148.6 kB / 348.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.02957, allocations: 4.606 MB / 353.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.02973, allocations: 228.7 kB / 353.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.02989, allocations: 64.28 kB / 353.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.03006, allocations: 180.4 kB / 353.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03006, allocations: 0 / 353.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.06256, allocations: 15.49 MB / 369.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.041, allocations: 18.33 kB / 369.2 MB, free: 2.289 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.80096375849098]