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.001232/0.001232, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00127/0.00127, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.382/1.382, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001522/0.001522, allocations: 47.92 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00449/0.2727, allocations: 3.091 MB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2744, allocations: 0.9787 MB / 426.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2745, allocations: 19.81 kB / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.2748, allocations: 91.09 kB / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.275, allocations: 98.97 kB / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.2755, allocations: 215.6 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.2761, allocations: 0.5488 MB / 427.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.2765, allocations: 155.1 kB / 427.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.2767, allocations: 179.2 kB / 428 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.277, allocations: 182.9 kB / 428.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.277, allocations: 36 kB / 428.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2771, allocations: 52 kB / 428.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.2772, allocations: 87.58 kB / 428.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.2774, allocations: 234.7 kB / 428.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.2781, allocations: 0.5837 MB / 429.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2781, allocations: 0 / 429.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2781, allocations: 0 / 429.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.2781, allocations: 0 / 429.1 MB, free: 8.062 MB / 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.001065/0.2792, allocations: 0.6803 MB / 429.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2793, allocations: 8.031 kB / 429.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/0.2794, allocations: 82.72 kB / 429.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.2795, allocations: 64.12 kB / 430 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.2801, allocations: 355.3 kB / 430.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.2801, allocations: 33 kB / 430.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.2802, allocations: 40 kB / 430.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.281, allocations: 483.4 kB / 430.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.281, allocations: 7.938 kB / 430.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.281, allocations: 20 kB / 430.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.281, allocations: 12 kB / 430.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.2815, allocations: 246.1 kB / 431.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.2841, allocations: 2.75 MB / 433.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.2845, allocations: 154.7 kB / 434 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2846, allocations: 56.84 kB / 434.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/0.2847, allocations: 11.98 kB / 434.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2847, allocations: 42.44 kB / 434.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2847, allocations: 0 / 434.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001259/0.286, allocations: 0.5479 MB / 434.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.286, allocations: 55.31 kB / 434.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.2864, allocations: 345.6 kB / 435.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2865, allocations: 33.7 kB / 435.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.2867, allocations: 299.7 kB / 435.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.2867, allocations: 75.39 kB / 435.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.2868, allocations: 73.59 kB / 435.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.287, allocations: 350.7 kB / 435.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.2871, allocations: 63.97 kB / 436 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.2874, allocations: 219.5 kB / 436.2 MB, free: 0.5625 MB / 334.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.0009244/0.2883, allocations: 457.1 kB / 436.6 MB, free: 52 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2883, allocations: 0 / 436.6 MB, free: 52 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006153/0.2889, allocations: 361.9 kB / 437 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.289, allocations: 8 kB / 437 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.289, allocations: 7.938 kB / 437 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.2891, allocations: 36.83 kB / 437 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2894, allocations: 75.84 kB / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.2907, allocations: 1.528 MB / 438.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2909, allocations: 16 kB / 438.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2909, allocations: 20.06 kB / 438.7 MB, free: 13.88 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.0002042/0.2911, allocations: 173.7 kB / 438.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.2912, allocations: 39.7 kB / 438.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.2912, allocations: 31.53 kB / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2912, allocations: 4 kB / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2912, allocations: 0 / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2912, allocations: 0 / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2923, allocations: 0.686 MB / 439.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2923, allocations: 0 / 439.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.2924, allocations: 35.98 kB / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-05/0.2925, allocations: 28.97 kB / 439.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2925, allocations: 4 kB / 439.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.2936, allocations: 1.33 MB / 441 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2936, allocations: 0 / 441 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.2941, allocations: 374.6 kB / 441.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.2941, allocations: 35.8 kB / 441.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2942, allocations: 4 kB / 441.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2943, allocations: 4 kB / 441.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2943, allocations: 19.91 kB / 441.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2943, allocations: 8 kB / 441.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.2946, allocations: 239.2 kB / 441.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2946, allocations: 0 / 441.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.295, allocations: 68 kB / 441.7 MB, free: 10.61 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.0008409/0.2959, allocations: 0.8896 MB / 442.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.2964, allocations: 315.4 kB / 442.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2964, allocations: 0 / 442.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2967, allocations: 182.7 kB / 443.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.297, allocations: 33.5 kB / 443.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.3014, allocations: 3.339 MB / 446.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.3019, allocations: 0.8185 MB / 447.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3021, allocations: 39.27 kB / 447.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3023, allocations: 159.3 kB / 447.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3023, allocations: 0 / 447.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/0.341, allocations: 6.57 MB / 454.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.88, allocations: 10.78 kB / 454.1 MB, free: 14.11 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 14.28204092300075]