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.001774/0.001774, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001482/0.001482, allocations: 195 kB / 23.71 MB, free: 4.406 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.462/1.462, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001591/0.001591, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 52.17 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004261/0.2404, allocations: 2.827 MB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2421, allocations: 0.9242 MB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.2423, allocations: 15.88 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2426, allocations: 95.05 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.2428, allocations: 99.02 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.2433, allocations: 219.6 kB / 426.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.2438, allocations: 0.5449 MB / 427.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.2441, allocations: 135.2 kB / 427.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.2443, allocations: 183.2 kB / 427.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2445, allocations: 162.9 kB / 427.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.2446, allocations: 36 kB / 427.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.2447, allocations: 47.98 kB / 427.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.2448, allocations: 87.66 kB / 427.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.245, allocations: 179 kB / 428.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.2456, allocations: 0.5927 MB / 428.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2456, allocations: 3.938 kB / 428.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2456, allocations: 0 / 428.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.2456, allocations: 0 / 428.7 MB, free: 8.23 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.0009787/0.2466, allocations: 0.6765 MB / 429.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2466, allocations: 8.031 kB / 429.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.757e-05/0.2467, allocations: 90.7 kB / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.2468, allocations: 60.12 kB / 429.5 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.2475, allocations: 347.4 kB / 429.8 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2475, allocations: 36.98 kB / 429.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.2475, allocations: 44 kB / 429.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.2483, allocations: 483.4 kB / 430.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.2483, allocations: 4 kB / 430.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.2483, allocations: 23.98 kB / 430.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.2484, allocations: 12 kB / 430.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.2488, allocations: 242.1 kB / 430.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.2511, allocations: 2.68 MB / 433.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.2515, allocations: 150.6 kB / 433.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2517, allocations: 68.88 kB / 433.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.764e-05/0.2518, allocations: 4 kB / 433.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2518, allocations: 34.5 kB / 433.6 MB, free: 3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2518, allocations: 0 / 433.6 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001259/0.2531, allocations: 0.566 MB / 434.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.2531, allocations: 55.31 kB / 434.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.2535, allocations: 349.5 kB / 434.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2535, allocations: 33.7 kB / 434.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.2537, allocations: 311.7 kB / 434.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.2538, allocations: 63.48 kB / 435 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.2538, allocations: 65.66 kB / 435 MB, free: 1.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.254, allocations: 350.7 kB / 435.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2541, allocations: 63.97 kB / 435.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.2544, allocations: 227.5 kB / 435.7 MB, free: 0.8008 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.0009093/0.2553, allocations: 448.2 kB / 436.1 MB, free: 304 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2553, allocations: 4 kB / 436.1 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005948/0.2559, allocations: 353.7 kB / 436.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2559, allocations: 15.92 kB / 436.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2559, allocations: 8 kB / 436.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.2561, allocations: 33.53 kB / 436.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2563, allocations: 79.84 kB / 436.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.2576, allocations: 1.524 MB / 438.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.2578, allocations: 15.98 kB / 438.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2578, allocations: 16 kB / 438.1 MB, free: 14.13 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.0001989/0.258, allocations: 169.7 kB / 438.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.2581, allocations: 39.7 kB / 438.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.2582, allocations: 43.58 kB / 438.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2582, allocations: 4 kB / 438.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2582, allocations: 0 / 438.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2582, allocations: 0 / 438.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.2591, allocations: 0.6086 MB / 439 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2591, allocations: 4 kB / 439 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2593, allocations: 39.75 kB / 439 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.2594, allocations: 24.84 kB / 439.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2594, allocations: 8 kB / 439.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2604, allocations: 1.331 MB / 440.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2604, allocations: 0 / 440.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.2609, allocations: 369.2 kB / 440.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.261, allocations: 27.77 kB / 440.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.261, allocations: 4 kB / 440.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2611, allocations: 12.03 kB / 440.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.2612, allocations: 11.92 kB / 440.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2612, allocations: 8.062 kB / 440.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.2614, allocations: 239.2 kB / 441.1 MB, free: 11 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2614, allocations: 0 / 441.1 MB, free: 11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.2618, allocations: 64 kB / 441.1 MB, free: 10.94 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.000806/0.2626, allocations: 0.8935 MB / 442 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.2632, allocations: 321.4 kB / 442.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2632, allocations: 0 / 442.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.2634, allocations: 178.6 kB / 442.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.2638, allocations: 42.56 kB / 442.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.268, allocations: 3.355 MB / 445.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2683, allocations: 211.1 kB / 446.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.2684, allocations: 39.27 kB / 446.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.2686, allocations: 155.4 kB / 446.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2686, allocations: 0 / 446.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.3083, allocations: 6.885 MB / 453.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.23, allocations: 0 / 453.2 MB, free: 14.77 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.703597209881991]