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.001665/0.001665, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00199/0.00199, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.395/1.395, allocations: 230.2 MB / 254.5 MB, free: 15.44 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.001763/0.001763, allocations: 67.89 kB / 373.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09933, allocations: 53.32 MB / 426.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004558/0.1039, allocations: 3.088 MB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1058, allocations: 1.025 MB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.1061, allocations: 15.94 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1064, allocations: 91.05 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1066, allocations: 103 kB / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1071, allocations: 227.6 kB / 431.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.1077, allocations: 0.5449 MB / 431.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.108, allocations: 154.7 kB / 431.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.1083, allocations: 175.2 kB / 432.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1085, allocations: 186.9 kB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.1085, allocations: 39.94 kB / 432.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1087, allocations: 56 kB / 432.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.1087, allocations: 83.64 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.1089, allocations: 234.7 kB / 432.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.1096, allocations: 0.5911 MB / 433.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1096, allocations: 0 / 433.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1096, allocations: 0 / 433.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1096, allocations: 4 kB / 433.2 MB, free: 14.44 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.001065/0.1107, allocations: 0.7517 MB / 434 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1107, allocations: 8.031 kB / 434 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.133e-05/0.1108, allocations: 78.72 kB / 434.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.111, allocations: 76.11 kB / 434.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/0.1117, allocations: 418.7 kB / 434.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1117, allocations: 29 kB / 434.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.1118, allocations: 47.95 kB / 434.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/0.1125, allocations: 495.2 kB / 435.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1125, allocations: 0 / 435.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.1126, allocations: 20 kB / 435.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1126, allocations: 8 kB / 435.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.1131, allocations: 254.1 kB / 435.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.1157, allocations: 2.827 MB / 438.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1161, allocations: 150.6 kB / 438.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.1162, allocations: 64.81 kB / 438.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.1164, allocations: 93.09 kB / 438.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1164, allocations: 38.5 kB / 438.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1164, allocations: 3.938 kB / 438.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001282/0.1177, allocations: 0.6308 MB / 439.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1177, allocations: 51.41 kB / 439.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.1181, allocations: 353.6 kB / 439.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1181, allocations: 33.7 kB / 439.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1183, allocations: 303.7 kB / 439.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.1184, allocations: 67.45 kB / 440 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1185, allocations: 65.66 kB / 440 MB, free: 7.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1187, allocations: 350.7 kB / 440.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1188, allocations: 63.97 kB / 440.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.119, allocations: 223.4 kB / 440.7 MB, free: 6.48 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.0009494/0.12, allocations: 0.5131 MB / 441.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.12, allocations: 0 / 441.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005832/0.1206, allocations: 361.6 kB / 441.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1206, allocations: 8.688 kB / 441.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1206, allocations: 4 kB / 441.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.1207, allocations: 36.84 kB / 441.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.121, allocations: 83.83 kB / 441.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.1224, allocations: 1.627 MB / 443.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1225, allocations: 16 kB / 443.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1226, allocations: 19.98 kB / 443.3 MB, free: 3.582 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.0002098/0.1228, allocations: 177.6 kB / 443.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.1228, allocations: 39.7 kB / 443.5 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.1229, allocations: 39.66 kB / 443.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1229, allocations: 4 kB / 443.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1229, allocations: 0 / 443.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1229, allocations: 3.984 kB / 443.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.1239, allocations: 0.7026 MB / 444.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1239, allocations: 0 / 444.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.124, allocations: 39.91 kB / 444.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.502e-05/0.1241, allocations: 28.88 kB / 444.4 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1241, allocations: 4 kB / 444.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.1253, allocations: 1.434 MB / 445.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1253, allocations: 0 / 445.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.1258, allocations: 366.8 kB / 446.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.1259, allocations: 112.8 kB / 446.3 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1259, allocations: 16.09 kB / 446.3 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.126, allocations: 4 kB / 446.3 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.126, allocations: 15.92 kB / 446.3 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1261, allocations: 8 kB / 446.3 MB, free: 336 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.1263, allocations: 231.2 kB / 446.5 MB, free: 104 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1263, allocations: 0 / 446.5 MB, free: 104 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.1267, allocations: 68 kB / 446.6 MB, free: 36 kB / 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.1884/0.3151, allocations: 0.8912 MB / 447.5 MB, free: 23.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.3157, allocations: 306.9 kB / 447.8 MB, free: 23.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3157, allocations: 0 / 447.8 MB, free: 23.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.3158, allocations: 181.6 kB / 448 MB, free: 23.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3162, allocations: 36.05 kB / 448 MB, free: 23.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.3195, allocations: 3.345 MB / 451.3 MB, free: 21.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.3197, allocations: 0.8166 MB / 452.2 MB, free: 20.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3198, allocations: 35.77 kB / 452.2 MB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3199, allocations: 165 kB / 452.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3199, allocations: 0 / 452.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.3543, allocations: 6.33 MB / 458.7 MB, free: 19.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.723/10.08, allocations: 18.64 kB / 458.7 MB, free: 19.7 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.387980301398784]