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.00123/0.00123, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006542/0.006542, allocations: 162.3 kB / 24.69 MB, free: 8.891 MB / 18.57 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 0.9429/0.9429, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.988e-05, allocations: 2.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00348/0.0035, allocations: 2.821 MB / 301.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.151, allocations: 0.9533 MB / 302.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.1513, allocations: 19.48 kB / 302.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1516, allocations: 96.33 kB / 302.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1518, allocations: 109.3 kB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.1523, allocations: 219.6 kB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.1528, allocations: 0.5576 MB / 303.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.153, allocations: 143.7 kB / 303.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.1533, allocations: 265.3 kB / 303.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1534, allocations: 128 kB / 303.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.1535, allocations: 35.94 kB / 303.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.1536, allocations: 49.84 kB / 303.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1536, allocations: 87.72 kB / 303.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1537, allocations: 143.3 kB / 304 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.1543, allocations: 0.5757 MB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1543, allocations: 1.5 kB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1543, allocations: 0.5625 kB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1543, allocations: 3.406 kB / 304.6 MB, free: 12.79 MB / 282.7 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.0007605/0.1551, allocations: 0.6679 MB / 305.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1551, allocations: 14.97 kB / 305.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.1552, allocations: 81.36 kB / 305.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1553, allocations: 59.78 kB / 305.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1557, allocations: 361.3 kB / 305.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1558, allocations: 29.22 kB / 305.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1558, allocations: 46.27 kB / 305.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.1563, allocations: 487.4 kB / 306.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1563, allocations: 9.844 kB / 306.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1564, allocations: 21.44 kB / 306.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1564, allocations: 11.95 kB / 306.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.1567, allocations: 239.9 kB / 306.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1579, allocations: 2.664 MB / 309.3 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.1583, allocations: 161.2 kB / 309.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1583, allocations: 65.55 kB / 309.5 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.108e-05/0.1584, allocations: 7.781 kB / 309.5 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.1584, allocations: 36 kB / 309.5 MB, free: 8.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1584, allocations: 1.219 kB / 309.5 MB, free: 8.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008302/0.1593, allocations: 0.5599 MB / 310.1 MB, free: 8.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1593, allocations: 53.34 kB / 310.1 MB, free: 8.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1595, allocations: 351.3 kB / 310.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.1595, allocations: 30.8 kB / 310.5 MB, free: 8.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1596, allocations: 305.3 kB / 310.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1597, allocations: 73.17 kB / 310.9 MB, free: 7.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.1597, allocations: 69.52 kB / 310.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.1598, allocations: 347.1 kB / 311.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.1599, allocations: 69.08 kB / 311.3 MB, free: 7.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.16, allocations: 213.1 kB / 311.6 MB, free: 7.387 MB / 282.7 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.0005526/0.1606, allocations: 451.4 kB / 312 MB, free: 7.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1606, allocations: 2.016 kB / 312 MB, free: 7.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003737/0.1609, allocations: 355.8 kB / 312.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.161, allocations: 10.84 kB / 312.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.161, allocations: 5.469 kB / 312.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.1611, allocations: 37.88 kB / 312.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1612, allocations: 70.84 kB / 312.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006705/0.1619, allocations: 1.531 MB / 314 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.162, allocations: 12.39 kB / 314 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.162, allocations: 18.27 kB / 314 MB, free: 5.391 MB / 282.7 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.0001177/0.1621, allocations: 172.2 kB / 314.2 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1622, allocations: 36.39 kB / 314.2 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.1622, allocations: 38.09 kB / 314.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1622, allocations: 6.094 kB / 314.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1622, allocations: 1.125 kB / 314.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1622, allocations: 2.75 kB / 314.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.1628, allocations: 0.6171 MB / 314.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1628, allocations: 1.078 kB / 314.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1629, allocations: 36.81 kB / 314.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/0.163, allocations: 23.62 kB / 315 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.163, allocations: 6.922 kB / 315 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004164/0.1634, allocations: 1.33 MB / 316.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1634, allocations: 5.094 kB / 316.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1637, allocations: 366 kB / 316.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.1637, allocations: 33.19 kB / 316.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1637, allocations: 2.484 kB / 316.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.1638, allocations: 11.94 kB / 316.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1638, allocations: 11.78 kB / 316.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1638, allocations: 8.25 kB / 316.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.164, allocations: 232.7 kB / 316.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.164, allocations: 0 / 316.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.1642, allocations: 71.12 kB / 317 MB, free: 3.027 MB / 282.7 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.0004024/0.1646, allocations: 0.888 MB / 317.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.165, allocations: 312.2 kB / 318.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.165, allocations: 0 / 318.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1651, allocations: 179.7 kB / 318.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1654, allocations: 43.3 kB / 318.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.168, allocations: 3.259 MB / 321.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.1681, allocations: 209.6 kB / 321.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1682, allocations: 41.69 kB / 321.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1684, allocations: 157.3 kB / 322.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1684, allocations: 0 / 322.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1925, allocations: 7.035 MB / 329.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.497, allocations: 9.266 kB / 329.1 MB, free: 12.48 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 9.310835362412035]