Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 190.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.6 MB / 244.7 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007723/0.0007723, allocations: 92.06 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002103, allocations: 4 kB / 356.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1929, allocations: 51.29 MB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002044/0.195, allocations: 2.597 MB / 410.6 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1961, allocations: 0.9503 MB / 411.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1962, allocations: 7.938 kB / 411.6 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1964, allocations: 63.42 kB / 411.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.1965, allocations: 80.27 kB / 411.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1969, allocations: 149 kB / 411.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.1972, allocations: 0.4941 MB / 412.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1975, allocations: 199.6 kB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1976, allocations: 136 kB / 412.7 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1978, allocations: 135.1 kB / 412.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1978, allocations: 16 kB / 412.8 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.1979, allocations: 31.98 kB / 412.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.1979, allocations: 59.66 kB / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1981, allocations: 212.6 kB / 413.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1983, allocations: 407.9 kB / 413.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1983, allocations: 0 / 413.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1983, allocations: 0 / 413.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1983, allocations: 0 / 413.5 MB, free: 22.2 MB / 298.7 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.0006343/0.199, allocations: 0.6511 MB / 414.2 MB, free: 21.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.199, allocations: 8.031 kB / 414.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1992, allocations: 75.92 kB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.1996, allocations: 406.3 kB / 414.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1996, allocations: 29 kB / 414.7 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1997, allocations: 40 kB / 414.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.2002, allocations: 487.4 kB / 415.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2002, allocations: 7.938 kB / 415.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.2003, allocations: 16 kB / 415.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2003, allocations: 12 kB / 415.3 MB, free: 20.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.2007, allocations: 254.1 kB / 415.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.2021, allocations: 2.838 MB / 418.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.2025, allocations: 169.2 kB / 418.5 MB, free: 16.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2026, allocations: 72.83 kB / 418.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.2027, allocations: 81.11 kB / 418.7 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.2027, allocations: 38.5 kB / 418.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.2027, allocations: 0 / 418.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001021/0.2038, allocations: 0.6378 MB / 419.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.2038, allocations: 55.41 kB / 419.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.204, allocations: 337.6 kB / 419.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.2041, allocations: 25.7 kB / 419.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2042, allocations: 303 kB / 420 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.2042, allocations: 71.08 kB / 420.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.2042, allocations: 4 kB / 420.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.2043, allocations: 350.7 kB / 420.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2044, allocations: 63.97 kB / 420.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2046, allocations: 220.6 kB / 420.7 MB, free: 14.5 MB / 298.7 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.0007066/0.2053, allocations: 0.5254 MB / 421.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2053, allocations: 4 kB / 421.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004527/0.2057, allocations: 365.1 kB / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2058, allocations: 4 kB / 421.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2058, allocations: 11.98 kB / 421.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.2059, allocations: 32.84 kB / 421.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.2061, allocations: 75.84 kB / 421.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007706/0.2069, allocations: 1.467 MB / 423.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2071, allocations: 27.92 kB / 423.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2071, allocations: 12 kB / 423.2 MB, free: 11.76 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.2072, allocations: 181.7 kB / 423.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.2073, allocations: 35.53 kB / 423.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.2073, allocations: 47.52 kB / 423.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2073, allocations: 0 / 423.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2073, allocations: 0 / 423.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2073, allocations: 0 / 423.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.208, allocations: 0.7141 MB / 424.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2081, allocations: 0 / 424.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2082, allocations: 39.86 kB / 424.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.275e-05/0.2083, allocations: 24.84 kB / 424.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2083, allocations: 7.938 kB / 424.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005641/0.2089, allocations: 1.327 MB / 425.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2089, allocations: 4.031 kB / 425.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.2093, allocations: 371.5 kB / 426 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.2093, allocations: 104.7 kB / 426.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.2094, allocations: 12.03 kB / 426.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2095, allocations: 11.91 kB / 426.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.2095, allocations: 15.98 kB / 426.1 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2096, allocations: 4 kB / 426.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.2097, allocations: 231.2 kB / 426.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2097, allocations: 0 / 426.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.2101, allocations: 68 kB / 426.4 MB, free: 8.316 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.726e-05/0.2102, allocations: 99.23 kB / 426.5 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.2106, allocations: 311.8 kB / 426.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2106, allocations: 4 kB / 426.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2108, allocations: 182.7 kB / 427 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2111, allocations: 41.48 kB / 427 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2122, allocations: 1.076 MB / 428.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.2124, allocations: 0.8187 MB / 428.9 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.2125, allocations: 35.42 kB / 429 MB, free: 5.664 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2125, allocations: 0 / 429 MB, free: 5.664 MB / 298.7 MB Notification: Performance of Templates: time 0.00592/0.2184, allocations: 6.302 MB / 435.3 MB, free: 15.36 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches