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.00125/0.00125, allocations: 112.8 kB / 19.17 MB, free: 3.891 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.001294/0.001294, allocations: 211.2 kB / 22.12 MB, free: 0.9492 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.366/1.366, allocations: 207.6 MB / 232.5 MB, free: 3.906 MB / 174.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",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.001783/0.001783, allocations: 55.91 kB / 343 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08568, allocations: 49.14 MB / 392.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004471/0.09015, allocations: 3.054 MB / 395.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.09194, allocations: 1.014 MB / 396.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.0922, allocations: 19.81 kB / 396.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.09245, allocations: 91.05 kB / 396.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.09265, allocations: 106.9 kB / 396.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.09313, allocations: 207.7 kB / 396.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.0937, allocations: 0.5449 MB / 397.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.09397, allocations: 158.8 kB / 397.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.09419, allocations: 179.3 kB / 397.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.09439, allocations: 179 kB / 397.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.09445, allocations: 40 kB / 397.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.09456, allocations: 51.92 kB / 397.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.09464, allocations: 87.64 kB / 397.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.09483, allocations: 230.7 kB / 398.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.09544, allocations: 0.5834 MB / 398.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09545, allocations: 0 / 398.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09545, allocations: 0 / 398.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.09546, allocations: 4 kB / 398.6 MB, free: 2.25 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.001002/0.09646, allocations: 0.7517 MB / 399.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.0965, allocations: 8.031 kB / 399.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.09652, allocations: 13.19 kB / 399.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.67e-05/0.09661, allocations: 82.7 kB / 399.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.09669, allocations: 63.94 kB / 399.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.09727, allocations: 418.6 kB / 400 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.0973, allocations: 29 kB / 400 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.09737, allocations: 43.95 kB / 400 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.0981, allocations: 487.4 kB / 400.5 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.09812, allocations: 7.922 kB / 400.5 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.09815, allocations: 20 kB / 400.5 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.09817, allocations: 15.94 kB / 400.6 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.09866, allocations: 242.2 kB / 400.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1012, allocations: 2.827 MB / 403.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1016, allocations: 158.7 kB / 403.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1018, allocations: 60.83 kB / 403.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.1019, allocations: 92.98 kB / 403.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1019, allocations: 34.56 kB / 404 MB, free: 12.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1019, allocations: 0 / 404 MB, free: 12.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001434/0.1034, allocations: 0.6313 MB / 404.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1034, allocations: 59.34 kB / 404.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.1038, allocations: 345.6 kB / 405 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1038, allocations: 25.7 kB / 405 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.104, allocations: 307.8 kB / 405.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.1041, allocations: 71.41 kB / 405.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.1042, allocations: 65.66 kB / 405.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1043, allocations: 350.7 kB / 405.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1045, allocations: 67.91 kB / 405.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1047, allocations: 219.5 kB / 406.1 MB, free: 10.29 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.001035/0.1058, allocations: 0.5158 MB / 406.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1058, allocations: 0 / 406.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006245/0.1064, allocations: 357.6 kB / 406.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1064, allocations: 4 kB / 406.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1064, allocations: 11.98 kB / 406.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.1066, allocations: 37.48 kB / 407 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.1068, allocations: 71.89 kB / 407.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.1083, allocations: 1.647 MB / 408.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1084, allocations: 15.98 kB / 408.7 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1084, allocations: 16 kB / 408.7 MB, free: 7.383 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.0001934/0.1086, allocations: 169.7 kB / 408.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.1087, allocations: 35.77 kB / 408.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.1088, allocations: 43.58 kB / 409 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.1088, allocations: 0 / 409 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1088, allocations: 4 kB / 409 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1088, allocations: 4.062 kB / 409 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.1098, allocations: 0.7065 MB / 409.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1098, allocations: 0 / 409.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.11, allocations: 27.98 kB / 409.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.11, allocations: 28.78 kB / 409.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.1101, allocations: 11.94 kB / 409.8 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.1112, allocations: 1.434 MB / 411.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1112, allocations: 4 kB / 411.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.1117, allocations: 373.3 kB / 411.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.1118, allocations: 108.9 kB / 411.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1118, allocations: 0 / 411.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1119, allocations: 8 kB / 411.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.112, allocations: 15.92 kB / 411.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.112, allocations: 8 kB / 411.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.1122, allocations: 239.2 kB / 411.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1122, allocations: 3.938 kB / 411.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.1126, allocations: 68 kB / 412 MB, free: 3.844 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.0008361/0.1135, allocations: 0.8972 MB / 412.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.114, allocations: 299.8 kB / 413.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.114, allocations: 0 / 413.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.1143, allocations: 182.6 kB / 413.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1146, allocations: 37.48 kB / 413.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.1188, allocations: 3.336 MB / 416.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.1192, allocations: 0.8146 MB / 417.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1193, allocations: 35.28 kB / 417.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1195, allocations: 163.4 kB / 417.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1195, allocations: 4 kB / 417.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.1489, allocations: 6.353 MB / 424.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.3, allocations: 11.98 kB / 424.1 MB, free: 7.355 MB / 350.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.582377556012943]