Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8859/0.8859, allocations: 173.4 MB / 200.4 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 4 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.269e-05, allocations: 10.22 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002896/0.002918, allocations: 2.797 MB / 321.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004129, allocations: 0.9317 MB / 322.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.004313, allocations: 15.81 kB / 322.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.004506, allocations: 95.05 kB / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.004644, allocations: 110.8 kB / 322.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.005049, allocations: 215.6 kB / 322.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.005465, allocations: 0.5641 MB / 323.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.005686, allocations: 143.2 kB / 323.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.005925, allocations: 267.3 kB / 323.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.006059, allocations: 127.5 kB / 323.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.006095, allocations: 36 kB / 323.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.006178, allocations: 48 kB / 323.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.006229, allocations: 91.61 kB / 323.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.006318, allocations: 139.6 kB / 324 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.006739, allocations: 0.5722 MB / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006741, allocations: 0 / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006742, allocations: 0 / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.006748, allocations: 0 / 324.5 MB, free: 188 kB / 282.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.0006873/0.007436, allocations: 0.6757 MB / 325.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.007473, allocations: 16.86 kB / 325.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.007531, allocations: 74.72 kB / 325.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.007591, allocations: 72.12 kB / 325.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.008001, allocations: 351.5 kB / 325.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.00802, allocations: 29 kB / 325.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.008069, allocations: 40 kB / 325.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.008561, allocations: 491.4 kB / 326.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.008577, allocations: 0 / 326.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.008602, allocations: 20 kB / 326.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.008641, allocations: 12 kB / 326.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.008954, allocations: 246.2 kB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.01067, allocations: 2.676 MB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.01097, allocations: 146.7 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.01106, allocations: 72.77 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.01113, allocations: 4 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.01115, allocations: 34.56 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.01115, allocations: 0 / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008541/0.01201, allocations: 0.5654 MB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.01204, allocations: 59.34 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.01228, allocations: 353.5 kB / 330.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.01229, allocations: 29.7 kB / 330.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01243, allocations: 307.7 kB / 330.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.01247, allocations: 67.42 kB / 330.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.01253, allocations: 69.64 kB / 330.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.01262, allocations: 346.8 kB / 331.2 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.01271, allocations: 67.92 kB / 331.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.01285, allocations: 219.7 kB / 331.5 MB, free: 8.75 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.0005882/0.01344, allocations: 446.5 kB / 332 MB, free: 8.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01344, allocations: 0 / 332 MB, free: 8.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003664/0.01381, allocations: 368.5 kB / 332.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01382, allocations: 8 kB / 332.3 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01383, allocations: 4 kB / 332.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.01393, allocations: 32.84 kB / 332.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.01412, allocations: 72.53 kB / 332.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000884/0.015, allocations: 1.532 MB / 334 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.01509, allocations: 16 kB / 334 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.01511, allocations: 12 kB / 334 MB, free: 6.09 MB / 298.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.0001391/0.01524, allocations: 174.4 kB / 334.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.01528, allocations: 35.77 kB / 334.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.01531, allocations: 43.47 kB / 334.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01532, allocations: 0 / 334.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01532, allocations: 8.062 kB / 334.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.01532, allocations: 0 / 334.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.01591, allocations: 0.6124 MB / 334.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01591, allocations: 0 / 334.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.01601, allocations: 39.97 kB / 334.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/0.01606, allocations: 24.84 kB / 334.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01607, allocations: 0 / 334.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006091/0.01668, allocations: 1.338 MB / 336.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01668, allocations: 0 / 336.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.01699, allocations: 361.2 kB / 336.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.01702, allocations: 31.8 kB / 336.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.01703, allocations: 8 kB / 336.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.01709, allocations: 0 / 336.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.01713, allocations: 19.97 kB / 336.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.01713, allocations: 4 kB / 336.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.01729, allocations: 239.1 kB / 336.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01729, allocations: 4.062 kB / 336.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.01757, allocations: 71.94 kB / 337 MB, free: 2.895 MB / 298.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.0005168/0.01808, allocations: 0.8973 MB / 337.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.01844, allocations: 299.2 kB / 338.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01844, allocations: 4 kB / 338.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01857, allocations: 182.5 kB / 338.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.0188, allocations: 43.92 kB / 338.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.0215, allocations: 3.248 MB / 341.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.02168, allocations: 215.2 kB / 341.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.189e-05/0.02176, allocations: 35.27 kB / 341.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.0221, allocations: 156.4 kB / 342 MB, free: 13.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.0221, allocations: 0 / 342 MB, free: 13.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.04774, allocations: 7.028 MB / 349.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.324, allocations: 0.9375 kB / 349.1 MB, free: 6.672 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.073358171619475]