Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001479/0.001479, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001688/0.001688, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.346/1.346, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 47.92 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2131, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004177/0.2172, allocations: 3.101 MB / 435 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.2189, allocations: 1.041 MB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2191, allocations: 19.81 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.2193, allocations: 99.05 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.2195, allocations: 95.02 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.22, allocations: 235.5 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.2205, allocations: 0.5449 MB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.2208, allocations: 147.2 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.221, allocations: 191.2 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2213, allocations: 175 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.2213, allocations: 36 kB / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.2214, allocations: 59.98 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.2215, allocations: 87.64 kB / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.2217, allocations: 230.7 kB / 437.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.2222, allocations: 0.5876 MB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2223, allocations: 4 kB / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2223, allocations: 0 / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2223, allocations: 0 / 438.5 MB, free: 248 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.0009087/0.2232, allocations: 0.6842 MB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2232, allocations: 12.03 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.2232, allocations: 13.19 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.679e-05/0.2233, allocations: 82.64 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.2235, allocations: 71.92 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.2241, allocations: 355.5 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.2241, allocations: 29 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.2242, allocations: 43.95 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.2249, allocations: 495.3 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.2249, allocations: 3.938 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.2249, allocations: 20 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2249, allocations: 11.94 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.2254, allocations: 246.2 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.2277, allocations: 2.754 MB / 443.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.2281, allocations: 152.3 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.2282, allocations: 65.16 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/0.2283, allocations: 11.88 kB / 443.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2283, allocations: 38.56 kB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2283, allocations: 4 kB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001145/0.2294, allocations: 0.5571 MB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2295, allocations: 51.41 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.2298, allocations: 345.6 kB / 444.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2298, allocations: 33.7 kB / 444.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.23, allocations: 311.7 kB / 444.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.2301, allocations: 63.48 kB / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.2302, allocations: 69.61 kB / 445 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2303, allocations: 354.7 kB / 445.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2305, allocations: 63.95 kB / 445.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.2307, allocations: 221 kB / 445.6 MB, free: 8.699 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.0008662/0.2316, allocations: 456.4 kB / 446.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2316, allocations: 0 / 446.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005545/0.2322, allocations: 357.7 kB / 446.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2322, allocations: 8 kB / 446.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2322, allocations: 4 kB / 446.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.2323, allocations: 36.84 kB / 446.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.2325, allocations: 80.44 kB / 446.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.2338, allocations: 1.524 MB / 448.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2339, allocations: 19.98 kB / 448.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.2339, allocations: 20 kB / 448.1 MB, free: 6.023 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.0001843/0.2341, allocations: 177.6 kB / 448.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.2342, allocations: 35.77 kB / 448.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.2342, allocations: 39.52 kB / 448.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2343, allocations: 4 kB / 448.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2343, allocations: 0 / 448.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2343, allocations: 0 / 448.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009268/0.2352, allocations: 0.6783 MB / 449 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2352, allocations: 0 / 449 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2354, allocations: 43.91 kB / 449.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.807e-05/0.2354, allocations: 20.86 kB / 449.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2354, allocations: 11.92 kB / 449.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009763/0.2364, allocations: 1.331 MB / 450.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2364, allocations: 3.984 kB / 450.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.2369, allocations: 371.8 kB / 450.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.237, allocations: 31.77 kB / 450.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.237, allocations: 0 / 450.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2371, allocations: 12.03 kB / 450.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2371, allocations: 11.92 kB / 450.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2372, allocations: 8 kB / 450.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.2374, allocations: 247.1 kB / 451.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2374, allocations: 0 / 451.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.2378, allocations: 64 kB / 451.2 MB, free: 2.73 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.0007734/0.2385, allocations: 0.9035 MB / 452.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005146/0.2391, allocations: 302.5 kB / 452.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2391, allocations: 4 kB / 452.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.2393, allocations: 178.6 kB / 452.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2396, allocations: 37.5 kB / 452.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.2437, allocations: 3.361 MB / 455.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.2441, allocations: 0.8146 MB / 456.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.2442, allocations: 39.27 kB / 456.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.2444, allocations: 155.4 kB / 457 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2444, allocations: 0 / 457 MB, free: 12.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.2766, allocations: 6.632 MB / 463.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.39, allocations: 64 / 463.6 MB, free: 6.188 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.65225557697704]