Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001711/0.001711, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 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.002203/0.002203, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 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 1.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 377.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004958/0.3053, allocations: 3.097 MB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3073, allocations: 1.049 MB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3075, allocations: 15.88 kB / 435.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.3078, allocations: 99.05 kB / 435.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.308, allocations: 99 kB / 435.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.3086, allocations: 223.6 kB / 435.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.3092, allocations: 0.5488 MB / 436.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.3095, allocations: 147.2 kB / 436.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.3098, allocations: 191.2 kB / 436.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.31, allocations: 179 kB / 436.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.3101, allocations: 36 kB / 436.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3102, allocations: 55.94 kB / 436.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.3103, allocations: 91.62 kB / 437 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.3105, allocations: 226.7 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.3112, allocations: 0.5876 MB / 437.8 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3112, allocations: 0 / 437.8 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3112, allocations: 4 kB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3112, allocations: 3.938 kB / 437.8 MB, free: 52 kB / 334.1 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.001058/0.3122, allocations: 0.6844 MB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3123, allocations: 8.031 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.532e-05/0.3124, allocations: 78.7 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.3126, allocations: 76.11 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.3132, allocations: 355.5 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.3132, allocations: 29 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.3133, allocations: 43.95 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.3141, allocations: 491.3 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3141, allocations: 7.938 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.3141, allocations: 16 kB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3141, allocations: 16 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.3146, allocations: 250.1 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.3172, allocations: 2.754 MB / 442.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.3176, allocations: 150.7 kB / 442.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3177, allocations: 73.05 kB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.3178, allocations: 4 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3179, allocations: 42.44 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.3179, allocations: 0 / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001267/0.3191, allocations: 0.553 MB / 443.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3192, allocations: 59.41 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.3196, allocations: 345.6 kB / 443.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3196, allocations: 29.7 kB / 443.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.3198, allocations: 311.7 kB / 444.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.3199, allocations: 67.42 kB / 444.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.32, allocations: 69.61 kB / 444.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3202, allocations: 350.7 kB / 444.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3203, allocations: 67.97 kB / 444.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.3206, allocations: 218.5 kB / 444.9 MB, free: 8.52 MB / 350.1 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.0009166/0.3215, allocations: 449.6 kB / 445.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3215, allocations: 0 / 445.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005893/0.3221, allocations: 358.2 kB / 445.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3221, allocations: 7.984 kB / 445.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3221, allocations: 12.06 kB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.3223, allocations: 40.78 kB / 445.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.3225, allocations: 75.91 kB / 445.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.324, allocations: 1.531 MB / 447.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.3241, allocations: 15.98 kB / 447.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3242, allocations: 20 kB / 447.4 MB, free: 5.84 MB / 350.1 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.0002255/0.3244, allocations: 162.4 kB / 447.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.3244, allocations: 43.77 kB / 447.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.3245, allocations: 39.53 kB / 447.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3245, allocations: 3.984 kB / 447.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3245, allocations: 4 kB / 447.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3245, allocations: 0 / 447.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3255, allocations: 0.6782 MB / 448.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3255, allocations: 3.969 kB / 448.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.3257, allocations: 39.98 kB / 448.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-05/0.3258, allocations: 24.84 kB / 448.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3258, allocations: 4 kB / 448.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.3269, allocations: 1.338 MB / 449.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3269, allocations: 3.984 kB / 449.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.3274, allocations: 363.9 kB / 450.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3275, allocations: 35.83 kB / 450.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3275, allocations: 4 kB / 450.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3276, allocations: 8.031 kB / 450.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3277, allocations: 15.92 kB / 450.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3277, allocations: 4 kB / 450.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.3279, allocations: 235.2 kB / 450.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 0 / 450.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.3284, allocations: 68 kB / 450.4 MB, free: 2.566 MB / 350.1 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.0008487/0.3292, allocations: 0.9036 MB / 451.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.3298, allocations: 302.4 kB / 451.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3298, allocations: 0 / 451.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.33, allocations: 180 kB / 451.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3304, allocations: 37.55 kB / 451.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.3348, allocations: 3.352 MB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.3353, allocations: 0.8262 MB / 456 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3354, allocations: 39.27 kB / 456 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3356, allocations: 155.4 kB / 456.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3356, allocations: 3.938 kB / 456.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.3756, allocations: 6.598 MB / 462.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 4.062 kB / 462.8 MB, free: 5.988 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.4055898229999]