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.001281/0.001281, allocations: 120.1 kB / 17.79 MB, free: 5.25 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.001319/0.001319, allocations: 194.8 kB / 20.73 MB, free: 2.312 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.44/1.44, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.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.001493/0.001493, allocations: 51.91 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09522, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004386/0.09961, allocations: 3.066 MB / 420.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1013, allocations: 0.9786 MB / 421.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.1015, allocations: 19.81 kB / 421.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1017, allocations: 87.11 kB / 421.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1019, allocations: 103 kB / 422 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.1024, allocations: 211.7 kB / 422.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.103, allocations: 0.5449 MB / 422.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.1033, allocations: 146.7 kB / 422.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1035, allocations: 183.2 kB / 423.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1037, allocations: 178.9 kB / 423.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.1038, allocations: 36 kB / 423.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1039, allocations: 55.98 kB / 423.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.104, allocations: 91.58 kB / 423.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1042, allocations: 222.7 kB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006415/0.1048, allocations: 0.5833 MB / 424.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1048, allocations: 4 kB / 424.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1048, allocations: 0 / 424.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1048, allocations: 0 / 424.3 MB, free: 6.07 MB / 350.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.001077/0.1059, allocations: 0.7557 MB / 425 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1059, allocations: 8.031 kB / 425 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.638e-05/0.106, allocations: 78.7 kB / 425.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.1061, allocations: 64.12 kB / 425.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.1068, allocations: 438.5 kB / 425.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1068, allocations: 29 kB / 425.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.1069, allocations: 36 kB / 425.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.1076, allocations: 491.4 kB / 426.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.1076, allocations: 7.938 kB / 426.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.1077, allocations: 19.94 kB / 426.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1077, allocations: 15.94 kB / 426.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.1082, allocations: 246.1 kB / 426.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.1106, allocations: 2.811 MB / 429.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.111, allocations: 150.7 kB / 429.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1111, allocations: 72.81 kB / 429.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.1113, allocations: 81.11 kB / 429.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1113, allocations: 38.44 kB / 429.6 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.1113, allocations: 0 / 429.6 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001291/0.1126, allocations: 0.6334 MB / 430.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.1126, allocations: 51.41 kB / 430.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.113, allocations: 345.6 kB / 430.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.113, allocations: 29.7 kB / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1132, allocations: 307.7 kB / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.1133, allocations: 63.47 kB / 431 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.1134, allocations: 69.66 kB / 431 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1135, allocations: 350.7 kB / 431.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1137, allocations: 63.97 kB / 431.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1139, allocations: 231.2 kB / 431.7 MB, free: 14.12 MB / 366.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.0009812/0.1149, allocations: 0.5189 MB / 432.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1149, allocations: 4 kB / 432.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005857/0.1155, allocations: 359.7 kB / 432.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1155, allocations: 8 kB / 432.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.1155, allocations: 7.984 kB / 432.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.1157, allocations: 32.84 kB / 432.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1159, allocations: 75.84 kB / 432.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1173, allocations: 1.623 MB / 434.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1174, allocations: 19.98 kB / 434.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.1175, allocations: 19.94 kB / 434.3 MB, free: 11.22 MB / 366.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.0001979/0.1177, allocations: 173.9 kB / 434.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.1177, allocations: 43.69 kB / 434.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.332e-05/0.1178, allocations: 39.58 kB / 434.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1178, allocations: 7.938 kB / 434.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1178, allocations: 0 / 434.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1178, allocations: 0 / 434.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1188, allocations: 0.7181 MB / 435.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1188, allocations: 0 / 435.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.119, allocations: 31.98 kB / 435.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.853e-05/0.1191, allocations: 24.84 kB / 435.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1191, allocations: 4 kB / 435.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1202, allocations: 1.434 MB / 436.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1202, allocations: 4.031 kB / 436.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.1207, allocations: 367.3 kB / 437.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.1208, allocations: 113.1 kB / 437.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1208, allocations: 0 / 437.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1209, allocations: 8 kB / 437.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.121, allocations: 19.91 kB / 437.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.121, allocations: 0 / 437.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.1212, allocations: 239.2 kB / 437.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1212, allocations: 4 kB / 437.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.1217, allocations: 68 kB / 437.6 MB, free: 7.672 MB / 366.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.0008441/0.1225, allocations: 0.905 MB / 438.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.1231, allocations: 299.7 kB / 438.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1231, allocations: 0 / 438.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.1233, allocations: 189.4 kB / 439 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1236, allocations: 35.95 kB / 439 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.1278, allocations: 3.332 MB / 442.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1282, allocations: 0.8185 MB / 443.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1283, allocations: 35.28 kB / 443.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1285, allocations: 159.3 kB / 443.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1285, allocations: 0 / 443.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.3596, allocations: 6.317 MB / 449.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.68, allocations: 8.406 kB / 449.7 MB, free: 29.45 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.178884654305875]