Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.0008387/0.0008387, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008119/0.0008119, allocations: 170 kB / 23.95 MB, free: 0.6094 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.872/0.872, allocations: 177.1 MB / 204.2 MB, free: 5.746 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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.673e-05, allocations: 6.219 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003556/0.003582, allocations: 2.836 MB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.005266, allocations: 0.994 MB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.005512, allocations: 15.88 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.005743, allocations: 99.05 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.00591, allocations: 102.9 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.006461, allocations: 231.5 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.006893, allocations: 0.5569 MB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.007207, allocations: 139.2 kB / 329.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.007631, allocations: 283.3 kB / 329.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.007888, allocations: 119.5 kB / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.007938, allocations: 36 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.008096, allocations: 55.92 kB / 330 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.008161, allocations: 95.59 kB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.008267, allocations: 135.6 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.008929, allocations: 0.5761 MB / 330.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.008937, allocations: 0 / 330.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.008939, allocations: 0 / 330.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.008947, allocations: 4 kB / 330.8 MB, free: 9.68 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0007872/0.009735, allocations: 0.6803 MB / 331.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.009778, allocations: 15.97 kB / 331.5 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.009841, allocations: 82.7 kB / 331.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.009987, allocations: 68.12 kB / 331.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.01043, allocations: 351.5 kB / 332 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.01045, allocations: 29 kB / 332 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.0105, allocations: 47.89 kB / 332.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.01123, allocations: 491.4 kB / 332.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.01125, allocations: 4 kB / 332.5 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.01128, allocations: 16 kB / 332.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01129, allocations: 16 kB / 332.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.01163, allocations: 246.2 kB / 332.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.01314, allocations: 2.676 MB / 335.5 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.01348, allocations: 150.6 kB / 335.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.01357, allocations: 76.81 kB / 335.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.44e-05/0.01366, allocations: 4 kB / 335.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.01368, allocations: 30.84 kB / 335.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.01368, allocations: 4 kB / 335.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000972/0.01465, allocations: 0.5579 MB / 336.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.01469, allocations: 55.34 kB / 336.4 MB, free: 3.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.01492, allocations: 361.5 kB / 336.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.01493, allocations: 25.7 kB / 336.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.01507, allocations: 311.7 kB / 337 MB, free: 3.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.0151, allocations: 67.45 kB / 337.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.01517, allocations: 69.61 kB / 337.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.01525, allocations: 346.8 kB / 337.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.01534, allocations: 67.75 kB / 337.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01549, allocations: 224.6 kB / 337.8 MB, free: 2.215 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.01607, allocations: 442.3 kB / 338.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01607, allocations: 4 kB / 338.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00059/0.01666, allocations: 369.2 kB / 338.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.01668, allocations: 10.97 kB / 338.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.01669, allocations: 4 kB / 338.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.01684, allocations: 36.84 kB / 338.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.01709, allocations: 67.91 kB / 338.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009375/0.01803, allocations: 1.527 MB / 340.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.01819, allocations: 12 kB / 340.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.0182, allocations: 20.16 kB / 340.3 MB, free: 15.55 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.01837, allocations: 169.7 kB / 340.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01841, allocations: 35.77 kB / 340.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.01845, allocations: 47.41 kB / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01845, allocations: 0 / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01845, allocations: 4 kB / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01846, allocations: 3.984 kB / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.01907, allocations: 0.6125 MB / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01907, allocations: 0 / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.01917, allocations: 31.98 kB / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/0.01922, allocations: 24.84 kB / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01923, allocations: 4 kB / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/0.02006, allocations: 1.327 MB / 342.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.02007, allocations: 11.95 kB / 342.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.02038, allocations: 365.3 kB / 342.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.0204, allocations: 35.77 kB / 342.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.02042, allocations: 0 / 342.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.02048, allocations: 8 kB / 342.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.02051, allocations: 12.02 kB / 343 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.02052, allocations: 4 kB / 343 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.02066, allocations: 239.1 kB / 343.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02066, allocations: 0 / 343.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.02101, allocations: 68 kB / 343.3 MB, free: 12.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004835/0.0215, allocations: 0.9011 MB / 344.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.02188, allocations: 306.4 kB / 344.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02188, allocations: 0 / 344.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.022, allocations: 178.8 kB / 344.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.02224, allocations: 37.42 kB / 344.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.02492, allocations: 3.275 MB / 347.9 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.02506, allocations: 211.1 kB / 348.1 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.02515, allocations: 39.27 kB / 348.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.02529, allocations: 156.4 kB / 348.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02529, allocations: 4 kB / 348.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.05406, allocations: 7.057 MB / 355.4 MB, free: 84 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.458, allocations: 3 kB / 355.4 MB, free: 84 kB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_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_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable directCapacity.heatCapacitor.T in file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.159870895557106]