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.002201/0.002201, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002807/0.002807, allocations: 206.3 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001566/0.001566, allocations: 51.91 kB / 377.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00462/0.2606, allocations: 2.835 MB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2626, allocations: 0.9903 MB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.2628, allocations: 15.88 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.263, allocations: 91.05 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2632, allocations: 95.02 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.2638, allocations: 235.6 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.2644, allocations: 0.5487 MB / 435.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.2647, allocations: 147.2 kB / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.2651, allocations: 187.2 kB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2653, allocations: 186.9 kB / 436.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.2653, allocations: 36 kB / 436.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.2655, allocations: 55.98 kB / 436.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.2656, allocations: 87.64 kB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2657, allocations: 179 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.2664, allocations: 0.5915 MB / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2664, allocations: 0 / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2664, allocations: 0 / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2664, allocations: 0 / 437.3 MB, free: 404 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.001024/0.2674, allocations: 0.6803 MB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2675, allocations: 12.03 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.2676, allocations: 82.66 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.2678, allocations: 76.11 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.2685, allocations: 343.5 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2685, allocations: 37 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.2686, allocations: 43.95 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.2694, allocations: 499.2 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.2694, allocations: 0 / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.2694, allocations: 20 kB / 439.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.2694, allocations: 11.98 kB / 439.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.2699, allocations: 250.1 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.2724, allocations: 2.672 MB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.2728, allocations: 158.6 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.273, allocations: 61.12 kB / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/0.2731, allocations: 11.92 kB / 442.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2731, allocations: 42.5 kB / 442.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2731, allocations: 0 / 442.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.2744, allocations: 0.5476 MB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.2744, allocations: 59.34 kB / 442.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.2748, allocations: 361.5 kB / 443.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2748, allocations: 25.7 kB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.2751, allocations: 311.7 kB / 443.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.2751, allocations: 71.45 kB / 443.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.2752, allocations: 69.61 kB / 443.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2754, allocations: 350.7 kB / 444.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2756, allocations: 63.97 kB / 444.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.2758, allocations: 223.5 kB / 444.3 MB, free: 8.926 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.0009724/0.2768, allocations: 441.7 kB / 444.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2768, allocations: 3.938 kB / 444.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006093/0.2774, allocations: 364.7 kB / 445.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2774, allocations: 8 kB / 445.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2774, allocations: 4 kB / 445.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.2776, allocations: 36.84 kB / 445.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2778, allocations: 72.56 kB / 445.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.2793, allocations: 1.527 MB / 446.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.2794, allocations: 16 kB / 446.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2795, allocations: 16 kB / 446.8 MB, free: 6.266 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.0002226/0.2797, allocations: 173.7 kB / 447 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.2798, allocations: 39.7 kB / 447 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.2798, allocations: 35.53 kB / 447 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2798, allocations: 8.062 kB / 447.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2798, allocations: 0 / 447.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2798, allocations: 0 / 447.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009874/0.2808, allocations: 0.6157 MB / 447.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2808, allocations: 0 / 447.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.281, allocations: 35.98 kB / 447.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.2811, allocations: 24.84 kB / 447.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2811, allocations: 11.88 kB / 447.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.2822, allocations: 1.331 MB / 449.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2822, allocations: 0 / 449.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.2827, allocations: 375.7 kB / 449.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.2828, allocations: 27.77 kB / 449.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2828, allocations: 4 kB / 449.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2829, allocations: 4 kB / 449.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.283, allocations: 23.89 kB / 449.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.283, allocations: 4 kB / 449.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.2832, allocations: 239.2 kB / 449.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2832, allocations: 0 / 449.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.2837, allocations: 72 kB / 449.8 MB, free: 3.059 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.0008521/0.2845, allocations: 0.8964 MB / 450.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.2853, allocations: 307 kB / 451 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2853, allocations: 0 / 451 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.2856, allocations: 178.6 kB / 451.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2859, allocations: 34.23 kB / 451.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.2904, allocations: 3.361 MB / 454.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2907, allocations: 219.1 kB / 454.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.2908, allocations: 39.27 kB / 454.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.291, allocations: 151.4 kB / 455 MB, free: 13.58 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.291, allocations: 0 / 455 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/0.3326, allocations: 7.027 MB / 462 MB, free: 6.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.99, allocations: 11.8 kB / 462 MB, free: 6.746 MB / 366.1 MB " [Timeout remaining time 648] (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/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_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: 14.552385057992069]