Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001963/0.001963, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002435/0.002435, allocations: 215 kB / 24.47 MB, free: 3.551 MB / 14.72 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 1.544/1.544, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 60.33 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2715, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004213/0.2757, allocations: 3.189 MB / 399.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.2776, allocations: 0.9379 MB / 400.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.2778, allocations: 9.219 kB / 400.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.2782, allocations: 109.1 kB / 400.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.2786, allocations: 192.4 kB / 400.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.279, allocations: 124 kB / 400.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.2796, allocations: 0.6377 MB / 401.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.2799, allocations: 128.3 kB / 401.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.2802, allocations: 248 kB / 401.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.2806, allocations: 237 kB / 402.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.2807, allocations: 52.88 kB / 402.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.2808, allocations: 53.94 kB / 402.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.2809, allocations: 119.4 kB / 402.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.2812, allocations: 244.4 kB / 402.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.282, allocations: 0.6501 MB / 403.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.282, allocations: 0.9688 kB / 403.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.282, allocations: 0 / 403.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.282, allocations: 0 / 403.2 MB, free: 4.738 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001402/0.2834, allocations: 0.7863 MB / 404 MB, free: 4.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.2835, allocations: 12.67 kB / 404 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.2836, allocations: 81.28 kB / 404.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2837, allocations: 66.12 kB / 404.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.2845, allocations: 338.3 kB / 404.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.2846, allocations: 111.1 kB / 404.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.2847, allocations: 31.81 kB / 404.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2857, allocations: 0.8478 MB / 405.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2857, allocations: 0.9688 kB / 405.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.2858, allocations: 16.28 kB / 405.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.2858, allocations: 9.078 kB / 405.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.2866, allocations: 287.2 kB / 405.8 MB, free: 2.805 MB / 318.1 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.002631/0.2893, allocations: 1.025 MB / 406.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2907, allocations: 340.7 kB / 407.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.2911, allocations: 130.4 kB / 407.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2911, allocations: 13.5 kB / 407.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2912, allocations: 50.11 kB / 407.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.2912, allocations: 0 / 407.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001138/0.2923, allocations: 454 kB / 407.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.2924, allocations: 448.2 kB / 408.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.293, allocations: 457.5 kB / 408.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.293, allocations: 32.45 kB / 408.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2931, allocations: 239.9 kB / 408.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.2932, allocations: 118.6 kB / 409.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.2934, allocations: 75.84 kB / 409.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.2934, allocations: 356.2 kB / 409.5 MB, free: 296 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2937, allocations: 130.9 kB / 409.6 MB, free: 228 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.2943, allocations: 0.649 MB / 410.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.2948, allocations: 285.3 kB / 410.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2948, allocations: 0 / 410.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000826/0.2956, allocations: 440.9 kB / 411 MB, free: 15.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.2957, allocations: 35.98 kB / 411 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2957, allocations: 0 / 411 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.2958, allocations: 51.8 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2962, allocations: 72.86 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.2989, allocations: 2.739 MB / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2994, allocations: 48.45 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.2994, allocations: 12.72 kB / 413.9 MB, free: 12.37 MB / 334.1 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 (36): * Single equations (assignments): 33 * 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.0002559/0.2997, allocations: 169.1 kB / 414.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.2998, allocations: 53.33 kB / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2999, allocations: 54.39 kB / 414.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2999, allocations: 7.922 kB / 414.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2999, allocations: 1.188 kB / 414.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008086/0.3007, allocations: 0.6527 MB / 414.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.3022, allocations: 0.8017 MB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3022, allocations: 4 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.3025, allocations: 67.3 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3025, allocations: 1.766 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3025, allocations: 7.016 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3025, allocations: 1.094 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3025, allocations: 0.6562 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.3034, allocations: 0.5309 MB / 416.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3036, allocations: 83.91 kB / 416.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.3037, allocations: 8.062 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.304, allocations: 16.23 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.3041, allocations: 18.12 kB / 416.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3041, allocations: 6.5 kB / 416.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003885/0.3045, allocations: 324.8 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3045, allocations: 5.281 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004553/0.3049, allocations: 132.7 kB / 416.9 MB, free: 10.37 MB / 334.1 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 (32): * Single equations (assignments): 32 * 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.001293/0.3062, allocations: 1.075 MB / 417.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.3073, allocations: 0.5744 MB / 418.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3073, allocations: 1.125 kB / 418.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.3076, allocations: 120.9 kB / 418.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.3083, allocations: 144 kB / 418.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/0.315, allocations: 4.364 MB / 423.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3153, allocations: 216.7 kB / 423.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.3156, allocations: 65.45 kB / 423.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.3159, allocations: 162.2 kB / 423.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3159, allocations: 1.469 kB / 423.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/0.3671, allocations: 14.38 MB / 437.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.44, allocations: 11.83 kB / 437.9 MB, free: 8.141 MB / 350.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_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_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.147050028201193]