Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 201.4 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007414/0.0007414, allocations: 91.66 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1849, allocations: 51.42 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002058/0.187, allocations: 2.599 MB / 414.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1881, allocations: 1.555 MB / 416.2 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1883, allocations: 11.94 kB / 416.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1885, allocations: 71.42 kB / 416.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1886, allocations: 81.61 kB / 416.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1889, allocations: 195.7 kB / 416.6 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1893, allocations: 0.5097 MB / 417.1 MB, free: 20.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.1895, allocations: 202.2 kB / 417.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1897, allocations: 143.2 kB / 417.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1898, allocations: 147 kB / 417.5 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1898, allocations: 12 kB / 417.6 MB, free: 20.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.1899, allocations: 28 kB / 417.6 MB, free: 20.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.19, allocations: 59.66 kB / 417.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1901, allocations: 228.4 kB / 417.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1904, allocations: 0.4917 MB / 418.4 MB, free: 19.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1904, allocations: 4 kB / 418.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1904, allocations: 0 / 418.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1904, allocations: 0 / 418.4 MB, free: 19.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.0006212/0.191, allocations: 0.655 MB / 419 MB, free: 18.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1911, allocations: 12.03 kB / 419 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1912, allocations: 79.86 kB / 419.1 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1916, allocations: 402.3 kB / 419.5 MB, free: 18.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1916, allocations: 29 kB / 419.5 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.1917, allocations: 40 kB / 419.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.1922, allocations: 491.4 kB / 420 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1922, allocations: 3.938 kB / 420 MB, free: 17.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.1923, allocations: 20 kB / 420.1 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1923, allocations: 8 kB / 420.1 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.1927, allocations: 254.1 kB / 420.3 MB, free: 17.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.194, allocations: 2.83 MB / 423.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.1943, allocations: 162.6 kB / 423.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1945, allocations: 72.88 kB / 423.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.1946, allocations: 85.11 kB / 423.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.1946, allocations: 42.48 kB / 423.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1946, allocations: 0 / 423.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009651/0.1956, allocations: 0.6239 MB / 424.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.1956, allocations: 63.34 kB / 424.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1958, allocations: 337.6 kB / 424.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1959, allocations: 29.7 kB / 424.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.196, allocations: 310.9 kB / 424.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.196, allocations: 59.11 kB / 424.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.196, allocations: 4 kB / 424.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.1961, allocations: 350.7 kB / 425.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1962, allocations: 71.91 kB / 425.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1964, allocations: 219.7 kB / 425.5 MB, free: 11.71 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.0007188/0.1971, allocations: 0.519 MB / 426.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1971, allocations: 4 kB / 426.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004337/0.1976, allocations: 368.3 kB / 426.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1976, allocations: 8 kB / 426.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1976, allocations: 4 kB / 426.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.1977, allocations: 32.84 kB / 426.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1979, allocations: 76.56 kB / 426.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007321/0.1987, allocations: 1.472 MB / 428 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1988, allocations: 27.98 kB / 428 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1989, allocations: 16 kB / 428.1 MB, free: 8.965 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 (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.0001294/0.199, allocations: 173.6 kB / 428.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1991, allocations: 35.53 kB / 428.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.1991, allocations: 43.53 kB / 428.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1991, allocations: 4 kB / 428.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1991, allocations: 4 kB / 428.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1991, allocations: 0 / 428.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.1998, allocations: 0.7142 MB / 429 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1998, allocations: 0 / 429 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2, allocations: 36.02 kB / 429.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.074e-05/0.2001, allocations: 24.84 kB / 429.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2001, allocations: 4 kB / 429.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005764/0.2007, allocations: 1.347 MB / 430.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2007, allocations: 0 / 430.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.2011, allocations: 368.6 kB / 430.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.2011, allocations: 112.8 kB / 430.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2012, allocations: 4 kB / 430.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2013, allocations: 15.91 kB / 430.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2013, allocations: 11.97 kB / 430.9 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.2013, allocations: 8 kB / 430.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.2015, allocations: 227.2 kB / 431.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2015, allocations: 4 kB / 431.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.2019, allocations: 68 kB / 431.2 MB, free: 5.52 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 (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 8.398e-05/0.2019, allocations: 111.2 kB / 431.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.2024, allocations: 323.6 kB / 431.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2024, allocations: 0 / 431.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2026, allocations: 178.6 kB / 431.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2029, allocations: 41.48 kB / 431.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2039, allocations: 1.09 MB / 433 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2041, allocations: 0.8148 MB / 433.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2042, allocations: 35.28 kB / 433.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.2043, allocations: 31.42 kB / 433.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2043, allocations: 0 / 433.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004978/0.2093, allocations: 2.554 MB / 436.4 MB, free: 280 kB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (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 & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches