Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002584/0.002589, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.455/3.455, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00205/0.00205, allocations: 102.8 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006104, allocations: 8 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.152, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.007342/0.1594, allocations: 2.495 MB / 377 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.1636, allocations: 0.9607 MB / 378 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.1643, allocations: 11.88 kB / 378 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.1646, allocations: 43.56 kB / 378 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008285/0.1655, allocations: 123.6 kB / 378.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1667, allocations: 143.8 kB / 378.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.1683, allocations: 367.2 kB / 378.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006704/0.169, allocations: 162 kB / 378.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.1696, allocations: 127.4 kB / 378.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.1701, allocations: 147.1 kB / 379.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.1702, allocations: 12 kB / 379.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.1704, allocations: 27.94 kB / 379.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1706, allocations: 59.64 kB / 379.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1708, allocations: 109.5 kB / 379.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.1718, allocations: 399.2 kB / 379.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1719, allocations: 0 / 379.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1719, allocations: 0 / 379.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.1719, allocations: 0 / 379.7 MB, free: 10.23 MB / 282.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.002172/0.1741, allocations: 0.6548 MB / 380.3 MB, free: 9.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.985e-05/0.1742, allocations: 12.03 kB / 380.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.1745, allocations: 59.25 kB / 380.4 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.1759, allocations: 386.6 kB / 380.8 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.808e-05/0.176, allocations: 36.95 kB / 380.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.1762, allocations: 40 kB / 380.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.1782, allocations: 487.3 kB / 381.3 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.1783, allocations: 3.938 kB / 381.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.1784, allocations: 20 kB / 381.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.1785, allocations: 12 kB / 381.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.18, allocations: 246.2 kB / 381.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/0.1857, allocations: 2.827 MB / 384.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1868, allocations: 166.6 kB / 384.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.1871, allocations: 85.14 kB / 384.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.1872, allocations: 42.52 kB / 384.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 4.839e-06/0.1872, allocations: 0 / 384.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.003223/0.1905, allocations: 0.6306 MB / 385.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.1906, allocations: 55.41 kB / 385.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.1915, allocations: 345.5 kB / 385.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.1916, allocations: 33.69 kB / 385.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.1921, allocations: 345.5 kB / 386.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.1922, allocations: 63.09 kB / 386.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1923, allocations: 16 kB / 386.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1925, allocations: 326.8 kB / 386.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.193, allocations: 71.7 kB / 386.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.1936, allocations: 215.8 kB / 386.8 MB, free: 2.602 MB / 282.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.001746/0.1954, allocations: 277.6 kB / 387.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.1954, allocations: 4 kB / 387.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001587/0.197, allocations: 333.8 kB / 387.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/0.1971, allocations: 8 kB / 387.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.1972, allocations: 8 kB / 387.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.1975, allocations: 32.84 kB / 387.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/0.1983, allocations: 80.36 kB / 387.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.2012, allocations: 1.471 MB / 389 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.2019, allocations: 32.27 kB / 389 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.202, allocations: 12 kB / 389 MB, free: 196 kB / 282.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.0005189/0.2025, allocations: 174 kB / 389.2 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3676/0.5702, allocations: 36.69 kB / 389.2 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.5705, allocations: 35.31 kB / 389.3 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.5705, allocations: 2.062 kB / 389.3 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.5705, allocations: 2.594 kB / 389.3 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5706, allocations: 0.7031 kB / 389.3 MB, free: 20.58 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.5733, allocations: 0.765 MB / 390 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5734, allocations: 1.734 kB / 390 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.574, allocations: 36.77 kB / 390.1 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002411/0.5743, allocations: 30.44 kB / 390.1 MB, free: 20.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.5744, allocations: 3.344 kB / 390.1 MB, free: 20.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.5764, allocations: 1.334 MB / 391.5 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.5764, allocations: 2.578 kB / 391.5 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.578, allocations: 385.9 kB / 391.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.5783, allocations: 106.3 kB / 391.9 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.5784, allocations: 3.375 kB / 391.9 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.5788, allocations: 16.61 kB / 392 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.579, allocations: 19.73 kB / 392 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.579, allocations: 4.125 kB / 392 MB, free: 18.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006676/0.5797, allocations: 233.6 kB / 392.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.5798, allocations: 0 / 392.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001198/0.581, allocations: 67.78 kB / 392.3 MB, free: 18.54 MB / 282.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 0.000238/0.5813, allocations: 100.4 kB / 392.4 MB, free: 18.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.5828, allocations: 317.3 kB / 392.7 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.5829, allocations: 0 / 392.7 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.5835, allocations: 187.7 kB / 392.9 MB, free: 18.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.5841, allocations: 35.44 kB / 392.9 MB, free: 18.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.588, allocations: 1.072 MB / 394 MB, free: 17.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.5886, allocations: 0.8243 MB / 394.8 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5889, allocations: 39.27 kB / 394.8 MB, free: 16.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5889, allocations: 0 / 394.8 MB, free: 16.84 MB / 282.7 MB Notification: Performance of Templates: time 0.02481/0.6137, allocations: 6.051 MB / 400.9 MB, free: 15.6 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches