Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 123.6 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 249.1 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 365.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004214/0.1058, allocations: 3.074 MB / 420.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1073, allocations: 0.9669 MB / 421.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1074, allocations: 11.94 kB / 421.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.1077, allocations: 99.05 kB / 421.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1079, allocations: 95 kB / 422 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1083, allocations: 223.6 kB / 422.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.1089, allocations: 0.541 MB / 422.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.1092, allocations: 150.7 kB / 422.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1094, allocations: 179.2 kB / 423.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1096, allocations: 179 kB / 423.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.1096, allocations: 36 kB / 423.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1097, allocations: 48 kB / 423.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.1098, allocations: 91.62 kB / 423.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.11, allocations: 226.7 kB / 423.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.1106, allocations: 0.5833 MB / 424.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1106, allocations: 3.984 kB / 424.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1106, allocations: 0 / 424.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1106, allocations: 4 kB / 424.2 MB, free: 6.137 MB / 350.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.000995/0.1116, allocations: 0.7557 MB / 425 MB, free: 5.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1117, allocations: 8.031 kB / 425 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.637e-05/0.1118, allocations: 82.72 kB / 425.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/0.1118, allocations: 64.12 kB / 425.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.1125, allocations: 430.5 kB / 425.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.1125, allocations: 29 kB / 425.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.1126, allocations: 36 kB / 425.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.1133, allocations: 491.4 kB / 426.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1133, allocations: 7.938 kB / 426.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.1134, allocations: 16 kB / 426.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1134, allocations: 15.94 kB / 426.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.1138, allocations: 254.1 kB / 426.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.1163, allocations: 2.808 MB / 429.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.1167, allocations: 146.6 kB / 429.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1168, allocations: 68.88 kB / 429.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.117, allocations: 85.09 kB / 429.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.117, allocations: 38.5 kB / 429.5 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.117, allocations: 0 / 429.5 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001317/0.1183, allocations: 0.6353 MB / 430.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1184, allocations: 55.41 kB / 430.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.1187, allocations: 341.6 kB / 430.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1187, allocations: 33.7 kB / 430.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.119, allocations: 315.5 kB / 430.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.119, allocations: 63.48 kB / 431 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.1191, allocations: 65.66 kB / 431 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1193, allocations: 350.7 kB / 431.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1194, allocations: 63.97 kB / 431.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.1197, allocations: 231.2 kB / 431.7 MB, free: 14.18 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.0009573/0.1206, allocations: 0.5187 MB / 432.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1206, allocations: 4 kB / 432.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005822/0.1212, allocations: 359.8 kB / 432.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1212, allocations: 8 kB / 432.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1212, allocations: 4 kB / 432.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.1214, allocations: 33.53 kB / 432.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.1216, allocations: 83.84 kB / 432.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1231, allocations: 1.627 MB / 434.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1232, allocations: 12 kB / 434.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1232, allocations: 16 kB / 434.3 MB, free: 11.29 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.0002089/0.1234, allocations: 177.6 kB / 434.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.1235, allocations: 39.84 kB / 434.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.1236, allocations: 39.58 kB / 434.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1236, allocations: 4 kB / 434.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1236, allocations: 4.062 kB / 434.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1236, allocations: 0 / 434.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1246, allocations: 0.7132 MB / 435.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1246, allocations: 0 / 435.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1248, allocations: 35.92 kB / 435.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.074e-05/0.1249, allocations: 24.84 kB / 435.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1249, allocations: 8.031 kB / 435.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.126, allocations: 1.43 MB / 436.8 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.126, allocations: 4.062 kB / 436.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.1265, allocations: 365.2 kB / 437.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.1266, allocations: 108.9 kB / 437.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.1267, allocations: 4 kB / 437.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1268, allocations: 4.234 kB / 437.3 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.1268, allocations: 19.97 kB / 437.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1269, allocations: 7.984 kB / 437.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.1271, allocations: 235.2 kB / 437.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1271, allocations: 0 / 437.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004101/0.1275, allocations: 68 kB / 437.6 MB, free: 7.75 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.0008859/0.1284, allocations: 0.9073 MB / 438.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000582/0.129, allocations: 311.7 kB / 438.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.129, allocations: 0 / 438.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.1292, allocations: 182.6 kB / 439 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1296, allocations: 36.31 kB / 439 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.134, allocations: 3.331 MB / 442.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.1345, allocations: 0.8146 MB / 443.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.1347, allocations: 39.27 kB / 443.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.1349, allocations: 155.4 kB / 443.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1349, allocations: 4 kB / 443.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/0.352, allocations: 6.314 MB / 449.7 MB, free: 30.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.589/9.941, allocations: 13.48 kB / 449.7 MB, free: 30.31 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.187798902858049]