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.001526/0.001526, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001594/0.001594, allocations: 216.5 kB / 24.53 MB, free: 4.008 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.33/1.33, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 59.89 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2096, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004141/0.2137, allocations: 3.104 MB / 435.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2154, allocations: 1.041 MB / 436.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2156, allocations: 19.81 kB / 436.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2158, allocations: 91.05 kB / 436.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.216, allocations: 103 kB / 436.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.2165, allocations: 235.5 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.2171, allocations: 0.5409 MB / 437.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.2174, allocations: 147.2 kB / 437.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.2177, allocations: 191.3 kB / 437.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2179, allocations: 182.9 kB / 437.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.218, allocations: 36 kB / 437.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2181, allocations: 55.98 kB / 437.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.2182, allocations: 91.64 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2184, allocations: 226.7 kB / 438 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.219, allocations: 0.5837 MB / 438.6 MB, free: 48 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.219, allocations: 0 / 438.6 MB, free: 48 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.219, allocations: 3.938 kB / 438.6 MB, free: 44 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.219, allocations: 0 / 438.6 MB, free: 44 kB / 334.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.00101/0.22, allocations: 0.6883 MB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2201, allocations: 12.03 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.133e-05/0.2201, allocations: 9.188 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/0.2202, allocations: 78.66 kB / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.2204, allocations: 79.92 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.221, allocations: 355.4 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.221, allocations: 29 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.2211, allocations: 47.95 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.2218, allocations: 487.2 kB / 440.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.2218, allocations: 4 kB / 440.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.2218, allocations: 16 kB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.2218, allocations: 15.94 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.2223, allocations: 254.2 kB / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.2246, allocations: 2.747 MB / 443.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.225, allocations: 154.7 kB / 443.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2251, allocations: 61.12 kB / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.2252, allocations: 15.91 kB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2253, allocations: 42.5 kB / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2253, allocations: 0 / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001227/0.2265, allocations: 0.5506 MB / 444.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2265, allocations: 55.41 kB / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.2269, allocations: 349.6 kB / 444.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2269, allocations: 29.7 kB / 444.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.2271, allocations: 311.7 kB / 444.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.2272, allocations: 63.47 kB / 445 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.2273, allocations: 69.61 kB / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2274, allocations: 350.7 kB / 445.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2276, allocations: 63.97 kB / 445.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.2278, allocations: 218.5 kB / 445.7 MB, free: 8.504 MB / 350.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.0008713/0.2287, allocations: 457.5 kB / 446.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2287, allocations: 0 / 446.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005655/0.2293, allocations: 364.4 kB / 446.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2293, allocations: 11.94 kB / 446.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2293, allocations: 4 kB / 446.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.2294, allocations: 33.53 kB / 446.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.2296, allocations: 71.91 kB / 446.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.231, allocations: 1.535 MB / 448.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2311, allocations: 16 kB / 448.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2311, allocations: 16 kB / 448.2 MB, free: 5.828 MB / 350.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.0001999/0.2313, allocations: 182.2 kB / 448.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.2314, allocations: 35.77 kB / 448.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.2314, allocations: 35.53 kB / 448.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2314, allocations: 4 kB / 448.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2314, allocations: 4 kB / 448.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2315, allocations: 8 kB / 448.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/0.2324, allocations: 0.6784 MB / 449.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2324, allocations: 0 / 449.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2326, allocations: 35.97 kB / 449.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.355e-05/0.2326, allocations: 28.78 kB / 449.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2327, allocations: 7.969 kB / 449.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/0.2336, allocations: 1.323 MB / 450.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2336, allocations: 8 kB / 450.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.2341, allocations: 367.9 kB / 450.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2342, allocations: 31.77 kB / 450.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2342, allocations: 0 / 450.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2343, allocations: 8 kB / 450.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.2343, allocations: 23.89 kB / 450.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2344, allocations: 8 kB / 450.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2346, allocations: 231.2 kB / 451.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2346, allocations: 0 / 451.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.235, allocations: 68 kB / 451.2 MB, free: 2.543 MB / 350.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.0007938/0.2358, allocations: 0.8973 MB / 452.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.2363, allocations: 307.7 kB / 452.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2363, allocations: 0 / 452.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.2365, allocations: 174.6 kB / 452.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2368, allocations: 41.75 kB / 452.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.2409, allocations: 3.361 MB / 456 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.2413, allocations: 0.8185 MB / 456.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.2414, allocations: 35.28 kB / 456.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.2416, allocations: 159.4 kB / 457 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2416, allocations: 4 kB / 457 MB, free: 12.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2726, allocations: 6.616 MB / 463.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.33, allocations: 12 kB / 463.6 MB, free: 5.953 MB / 366.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.579496202000882]