Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001584/0.001584, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001828/0.001828, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 60.55 kB / 342.3 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09924, allocations: 49.12 MB / 391.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00491/0.1041, allocations: 3.069 MB / 394.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1061, allocations: 1.014 MB / 395.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.1063, allocations: 19.81 kB / 395.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1065, allocations: 91.05 kB / 395.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1067, allocations: 102.9 kB / 395.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.1073, allocations: 223.6 kB / 395.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.1079, allocations: 0.5332 MB / 396.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.1082, allocations: 158.9 kB / 396.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1085, allocations: 183.3 kB / 396.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1087, allocations: 179 kB / 396.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.1088, allocations: 36 kB / 397 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1089, allocations: 51.94 kB / 397 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.109, allocations: 83.64 kB / 397.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1092, allocations: 234.7 kB / 397.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.1098, allocations: 0.5873 MB / 397.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1098, allocations: 0 / 397.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1098, allocations: 0 / 397.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1099, allocations: 0 / 397.9 MB, free: 2.305 MB / 318.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.001045/0.1109, allocations: 0.7517 MB / 398.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1109, allocations: 8.031 kB / 398.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.622e-05/0.111, allocations: 78.72 kB / 398.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.1111, allocations: 64.12 kB / 398.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.1118, allocations: 418.6 kB / 399.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1118, allocations: 33 kB / 399.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.1119, allocations: 47.95 kB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.1127, allocations: 483.4 kB / 399.8 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1127, allocations: 7.938 kB / 399.8 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1127, allocations: 16 kB / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.1127, allocations: 16 kB / 399.8 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.1133, allocations: 250.2 kB / 400.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.1158, allocations: 2.819 MB / 402.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.1162, allocations: 158.6 kB / 403 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1164, allocations: 72.86 kB / 403.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.1165, allocations: 81.11 kB / 403.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1165, allocations: 38.5 kB / 403.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1165, allocations: 0 / 403.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001314/0.1179, allocations: 0.6313 MB / 403.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1179, allocations: 55.41 kB / 403.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.1183, allocations: 349.5 kB / 404.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1183, allocations: 33.64 kB / 404.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.1185, allocations: 303.8 kB / 404.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.1186, allocations: 71.42 kB / 404.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1187, allocations: 65.66 kB / 404.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1189, allocations: 346.7 kB / 405.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.119, allocations: 71.97 kB / 405.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.1193, allocations: 215.5 kB / 405.3 MB, free: 10.36 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.0009846/0.1203, allocations: 0.5119 MB / 405.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1203, allocations: 0 / 405.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006208/0.1209, allocations: 366.1 kB / 406.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1209, allocations: 12.09 kB / 406.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1209, allocations: 4 kB / 406.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.121, allocations: 36.84 kB / 406.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1213, allocations: 67.91 kB / 406.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1228, allocations: 1.643 MB / 408 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1229, allocations: 12 kB / 408 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.1229, allocations: 20 kB / 408 MB, free: 7.453 MB / 334.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.0002201/0.1232, allocations: 169.9 kB / 408.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.1232, allocations: 47.69 kB / 408.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.1233, allocations: 35.59 kB / 408.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1233, allocations: 4 kB / 408.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1233, allocations: 0 / 408.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1233, allocations: 0 / 408.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.1243, allocations: 0.7065 MB / 409 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1243, allocations: 4.031 kB / 409 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1245, allocations: 31.98 kB / 409 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.1246, allocations: 24.84 kB / 409 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1247, allocations: 7.938 kB / 409 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1258, allocations: 1.43 MB / 410.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.1258, allocations: 8.016 kB / 410.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.1264, allocations: 365.3 kB / 410.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.1265, allocations: 109.1 kB / 410.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1265, allocations: 0 / 410.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1266, allocations: 8 kB / 410.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.1267, allocations: 27.94 kB / 411 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1267, allocations: 0 / 411 MB, free: 4.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.1269, allocations: 235.2 kB / 411.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1269, allocations: 3.938 kB / 411.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.1273, allocations: 68 kB / 411.3 MB, free: 3.926 MB / 334.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.0008789/0.1282, allocations: 0.8972 MB / 412.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.1288, allocations: 302.4 kB / 412.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1288, allocations: 0 / 412.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.129, allocations: 183.9 kB / 412.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1294, allocations: 37.62 kB / 412.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.1338, allocations: 3.336 MB / 416 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.1343, allocations: 0.8185 MB / 416.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1344, allocations: 43.2 kB / 416.9 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.1346, allocations: 155.4 kB / 417 MB, free: 13.85 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1346, allocations: 0 / 417 MB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.1722, allocations: 6.325 MB / 423.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.53, allocations: 7.984 kB / 423.4 MB, free: 7.465 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.9910038740054]