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.0009174/0.0009174, allocations: 196.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.6 MB / 244.3 MB, free: 6.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007573/0.0007573, allocations: 95.92 kB / 296.4 MB, free: 6.777 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 11.94 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.188, allocations: 51.29 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.001953/0.19, allocations: 2.591 MB / 410.1 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.191, allocations: 0.9518 MB / 411 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.1913, allocations: 11.94 kB / 411 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.1914, allocations: 63.42 kB / 411.1 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1916, allocations: 71.94 kB / 411.2 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.192, allocations: 148.8 kB / 411.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.1923, allocations: 488.1 kB / 411.8 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1925, allocations: 158 kB / 411.9 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1927, allocations: 139.3 kB / 412.1 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1928, allocations: 148.7 kB / 412.2 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1929, allocations: 12 kB / 412.2 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.193, allocations: 24 kB / 412.3 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.193, allocations: 59.7 kB / 412.3 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1931, allocations: 113 kB / 412.4 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1933, allocations: 403.9 kB / 412.8 MB, free: 22.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1933, allocations: 4 kB / 412.8 MB, free: 22.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1933, allocations: 0 / 412.8 MB, free: 22.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1934, allocations: 0 / 412.8 MB, free: 22.41 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.0006719/0.194, allocations: 0.6509 MB / 413.5 MB, free: 21.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1941, allocations: 8.031 kB / 413.5 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1942, allocations: 71.23 kB / 413.6 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.1946, allocations: 386.6 kB / 413.9 MB, free: 21.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1947, allocations: 32.98 kB / 414 MB, free: 21.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.1947, allocations: 44 kB / 414 MB, free: 21.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.1953, allocations: 487.3 kB / 414.5 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1953, allocations: 8 kB / 414.5 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1953, allocations: 16 kB / 414.5 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1954, allocations: 12 kB / 414.5 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.1958, allocations: 250.1 kB / 414.8 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1972, allocations: 2.834 MB / 417.6 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.1975, allocations: 168.6 kB / 417.8 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1977, allocations: 76.88 kB / 417.8 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1978, allocations: 81.11 kB / 417.9 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.1978, allocations: 30.56 kB / 418 MB, free: 16.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.1978, allocations: 0 / 418 MB, free: 16.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.1988, allocations: 0.6378 MB / 418.6 MB, free: 16.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.1989, allocations: 55.34 kB / 418.6 MB, free: 16.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1991, allocations: 349.5 kB / 419 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.1991, allocations: 25.7 kB / 419 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.1992, allocations: 299 kB / 419.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1993, allocations: 63.11 kB / 419.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.1993, allocations: 12 kB / 419.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.1994, allocations: 350.8 kB / 419.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1995, allocations: 63.97 kB / 419.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1996, allocations: 216.5 kB / 420 MB, free: 14.74 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.2002, allocations: 281 kB / 420.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2002, allocations: 4 kB / 420.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004679/0.2007, allocations: 359.8 kB / 420.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2007, allocations: 6.656 kB / 420.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2007, allocations: 8 kB / 420.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.2008, allocations: 36.84 kB / 420.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.201, allocations: 72.44 kB / 420.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/0.2018, allocations: 1.475 MB / 422.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.202, allocations: 27.98 kB / 422.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.202, allocations: 16 kB / 422.3 MB, free: 12.31 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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.0001384/0.2022, allocations: 169.7 kB / 422.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.2022, allocations: 35.53 kB / 422.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.2023, allocations: 39.59 kB / 422.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2023, allocations: 3.953 kB / 422.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2023, allocations: 7.938 kB / 422.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2023, allocations: 4 kB / 422.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.203, allocations: 0.7101 MB / 423.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.203, allocations: 3.938 kB / 423.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2031, allocations: 36.02 kB / 423.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.299e-05/0.2032, allocations: 32.78 kB / 423.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2032, allocations: 0 / 423.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005138/0.2038, allocations: 1.324 MB / 424.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2038, allocations: 4.062 kB / 424.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.2042, allocations: 364.7 kB / 425 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.2042, allocations: 104.6 kB / 425.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.2042, allocations: 12 kB / 425.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.2044, allocations: 11.94 kB / 425.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2044, allocations: 27.86 kB / 425.1 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2044, allocations: 4 kB / 425.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2046, allocations: 231.1 kB / 425.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2046, allocations: 4 kB / 425.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000337/0.2049, allocations: 64 kB / 425.4 MB, free: 8.879 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.216e-05/0.205, allocations: 103.2 kB / 425.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.2054, allocations: 319.7 kB / 425.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2054, allocations: 0 / 425.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.2056, allocations: 178.6 kB / 426 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2059, allocations: 40.5 kB / 426.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.207, allocations: 1.08 MB / 427.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.2071, allocations: 0.8226 MB / 428 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.2072, allocations: 31.42 kB / 428 MB, free: 6.223 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2072, allocations: 0 / 428 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Templates: time 0.00574/0.213, allocations: 6.299 MB / 434.3 MB, free: 15.93 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