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.001858/0.001858, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002181/0.002181, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.524/1.524, allocations: 230.5 MB / 254 MB, free: 15.18 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.00184/0.00184, allocations: 63.89 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.09596, allocations: 53.37 MB / 426.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004247/0.1002, allocations: 3.088 MB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.102, allocations: 1.033 MB / 430.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1021, allocations: 19.81 kB / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1024, allocations: 95.05 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1026, allocations: 103 kB / 430.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.1031, allocations: 227.6 kB / 430.9 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.1037, allocations: 0.5449 MB / 431.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.104, allocations: 150.7 kB / 431.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.1043, allocations: 183.2 kB / 431.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1045, allocations: 182.9 kB / 431.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.1045, allocations: 39.94 kB / 432 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1047, allocations: 59.98 kB / 432 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1047, allocations: 83.64 kB / 432.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.1049, allocations: 234.6 kB / 432.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.1057, allocations: 0.5911 MB / 432.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1057, allocations: 0 / 432.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1057, allocations: 0 / 432.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1057, allocations: 0 / 432.9 MB, free: 14.02 MB / 366.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.001023/0.1067, allocations: 0.7556 MB / 433.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1068, allocations: 8.031 kB / 433.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.23e-05/0.1069, allocations: 78.72 kB / 433.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.1071, allocations: 80.11 kB / 433.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.1078, allocations: 418.6 kB / 434.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.1079, allocations: 33 kB / 434.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.108, allocations: 47.95 kB / 434.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/0.1089, allocations: 483.3 kB / 434.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1089, allocations: 7.938 kB / 434.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.1089, allocations: 27.94 kB / 434.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1089, allocations: 8 kB / 434.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.1094, allocations: 250.1 kB / 435.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.1119, allocations: 2.823 MB / 437.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.1124, allocations: 154.6 kB / 438.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1125, allocations: 60.88 kB / 438.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.1127, allocations: 89.09 kB / 438.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1127, allocations: 38.5 kB / 438.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1127, allocations: 3.938 kB / 438.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00135/0.1141, allocations: 0.6342 MB / 438.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1141, allocations: 51.41 kB / 439 MB, free: 7.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.1145, allocations: 349.6 kB / 439.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1145, allocations: 33.7 kB / 439.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.1147, allocations: 303.7 kB / 439.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.1148, allocations: 67.45 kB / 439.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1149, allocations: 65.66 kB / 439.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1151, allocations: 354.7 kB / 440.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1152, allocations: 63.97 kB / 440.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.1155, allocations: 223.4 kB / 440.4 MB, free: 6.047 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.001003/0.1165, allocations: 0.5133 MB / 440.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1165, allocations: 0 / 440.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006294/0.1171, allocations: 366.3 kB / 441.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1172, allocations: 8 kB / 441.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1172, allocations: 4 kB / 441.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.1173, allocations: 32.84 kB / 441.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.1176, allocations: 79.84 kB / 441.4 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1191, allocations: 1.627 MB / 443 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1192, allocations: 16 kB / 443 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.1192, allocations: 19.98 kB / 443 MB, free: 3.152 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.0002158/0.1195, allocations: 177.7 kB / 443.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.1195, allocations: 39.7 kB / 443.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.1196, allocations: 35.59 kB / 443.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1196, allocations: 7.938 kB / 443.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1196, allocations: 4 kB / 443.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1196, allocations: 3.984 kB / 443.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1207, allocations: 0.708 MB / 444 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1207, allocations: 0 / 444 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1209, allocations: 39.91 kB / 444 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.091e-05/0.121, allocations: 24.84 kB / 444.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.121, allocations: 4 kB / 444.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.1221, allocations: 1.43 MB / 445.5 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1221, allocations: 0 / 445.5 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.1227, allocations: 369.2 kB / 445.9 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1915/0.3142, allocations: 108.4 kB / 446 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.3143, allocations: 7.828 kB / 446 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3144, allocations: 3.875 kB / 446 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.3145, allocations: 20.47 kB / 446 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3145, allocations: 2.719 kB / 446 MB, free: 24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.3148, allocations: 234.3 kB / 446.2 MB, free: 23.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3148, allocations: 0 / 446.2 MB, free: 23.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000539/0.3153, allocations: 68.59 kB / 446.3 MB, free: 23.91 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.0007318/0.316, allocations: 0.8997 MB / 447.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.3166, allocations: 300.1 kB / 447.5 MB, free: 23.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3166, allocations: 0 / 447.5 MB, free: 23.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3168, allocations: 178.7 kB / 447.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3172, allocations: 38.41 kB / 447.7 MB, free: 23.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.321, allocations: 3.355 MB / 451.1 MB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3212, allocations: 0.8132 MB / 451.9 MB, free: 20.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3214, allocations: 36.08 kB / 451.9 MB, free: 20.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3216, allocations: 158.5 kB / 452.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3216, allocations: 0 / 452.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.3646, allocations: 6.345 MB / 458.4 MB, free: 19.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.55, allocations: 3.266 kB / 458.4 MB, free: 19.62 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.115851103095338]