Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001047/0.001047, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008592/0.0008591, allocations: 110.5 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000815/0.0008151, allocations: 35.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1904, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003258/0.1938, allocations: 3.078 MB / 376.9 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1949, allocations: 0.9914 MB / 377.9 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1951, allocations: 11.28 kB / 377.9 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1953, allocations: 75.08 kB / 378 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1954, allocations: 78.03 kB / 378 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1957, allocations: 189.4 kB / 378.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.1961, allocations: 0.5246 MB / 378.8 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.1964, allocations: 198.9 kB / 379 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1965, allocations: 155.6 kB / 379.1 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1967, allocations: 170.5 kB / 379.3 MB, free: 41.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1967, allocations: 24.38 kB / 379.3 MB, free: 41.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.1968, allocations: 36.73 kB / 379.3 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1969, allocations: 72.77 kB / 379.4 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.197, allocations: 217.3 kB / 379.6 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1974, allocations: 0.504 MB / 380.1 MB, free: 41.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1974, allocations: 0 / 380.1 MB, free: 41.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1974, allocations: 0.7188 kB / 380.1 MB, free: 41.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1974, allocations: 0 / 380.1 MB, free: 41.02 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.0007283/0.1981, allocations: 0.7394 MB / 380.9 MB, free: 40.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1982, allocations: 9.344 kB / 380.9 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.1982, allocations: 63.31 kB / 380.9 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.1986, allocations: 406.1 kB / 381.3 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1986, allocations: 33.2 kB / 381.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.1987, allocations: 38.84 kB / 381.4 MB, free: 39.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.1992, allocations: 493.9 kB / 381.9 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1993, allocations: 6.156 kB / 381.9 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1993, allocations: 21.2 kB / 381.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1993, allocations: 11.22 kB / 381.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.1997, allocations: 252.5 kB / 382.2 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2011, allocations: 2.823 MB / 385 MB, free: 36.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2015, allocations: 166 kB / 385.1 MB, free: 36.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.2016, allocations: 71.53 kB / 385.2 MB, free: 36.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.903e-05/0.2017, allocations: 85.17 kB / 385.3 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.2017, allocations: 40 kB / 385.3 MB, free: 36.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2017, allocations: 4 kB / 385.3 MB, free: 36.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009947/0.2027, allocations: 0.6247 MB / 386 MB, free: 35.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.2028, allocations: 56.72 kB / 386 MB, free: 35.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.203, allocations: 341.7 kB / 386.4 MB, free: 35.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.203, allocations: 29.7 kB / 386.4 MB, free: 35.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2031, allocations: 305.5 kB / 386.7 MB, free: 35.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2032, allocations: 64.08 kB / 386.7 MB, free: 35.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.2033, allocations: 69.12 kB / 386.8 MB, free: 35.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.2033, allocations: 351.7 kB / 387.2 MB, free: 34.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2034, allocations: 67.25 kB / 387.2 MB, free: 34.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.2036, allocations: 213 kB / 387.4 MB, free: 34.61 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.000745/0.2044, allocations: 0.5112 MB / 387.9 MB, free: 34.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2044, allocations: 1.156 kB / 387.9 MB, free: 34.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004751/0.2049, allocations: 365.6 kB / 388.3 MB, free: 33.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2049, allocations: 7.188 kB / 388.3 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2049, allocations: 5.75 kB / 388.3 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.205, allocations: 40.98 kB / 388.4 MB, free: 33.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2052, allocations: 70.28 kB / 388.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007631/0.206, allocations: 1.472 MB / 389.9 MB, free: 32.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2062, allocations: 26.83 kB / 389.9 MB, free: 32.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2062, allocations: 18.53 kB / 389.9 MB, free: 32.42 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 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.0001336/0.2064, allocations: 168.7 kB / 390.1 MB, free: 32.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.2064, allocations: 35.97 kB / 390.1 MB, free: 32.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.2065, allocations: 41.84 kB / 390.2 MB, free: 32.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2065, allocations: 1.375 kB / 390.2 MB, free: 32.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2065, allocations: 1.469 kB / 390.2 MB, free: 32.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2065, allocations: 4 kB / 390.2 MB, free: 32.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.2072, allocations: 0.7128 MB / 390.9 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2072, allocations: 0 / 390.9 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.2074, allocations: 31.98 kB / 390.9 MB, free: 31.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.188e-05/0.2074, allocations: 28.98 kB / 391 MB, free: 31.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2075, allocations: 11.95 kB / 391 MB, free: 31.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005027/0.208, allocations: 1.331 MB / 392.3 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.208, allocations: 0 / 392.3 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.2104, allocations: 3.389 MB / 395.7 MB, free: 26.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.2104, allocations: 104.6 kB / 395.8 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2104, allocations: 8 kB / 395.8 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2106, allocations: 12.09 kB / 395.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2106, allocations: 15.98 kB / 395.8 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2106, allocations: 0 / 395.8 MB, free: 26.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.2108, allocations: 235.2 kB / 396.1 MB, free: 25.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2108, allocations: 0 / 396.1 MB, free: 25.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.2113, allocations: 100 kB / 396.2 MB, free: 25.86 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 6.718e-05/0.2113, allocations: 107.1 kB / 396.3 MB, free: 25.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.2117, allocations: 313.7 kB / 396.6 MB, free: 25.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2117, allocations: 1.375 kB / 396.6 MB, free: 25.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2119, allocations: 178.6 kB / 396.7 MB, free: 25.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2122, allocations: 41.62 kB / 396.8 MB, free: 25.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2134, allocations: 1.322 MB / 398.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2136, allocations: 0.8191 MB / 398.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.2137, allocations: 39.27 kB / 399 MB, free: 22.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.2138, allocations: 31.44 kB / 399 MB, free: 22.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2138, allocations: 4 kB / 399 MB, free: 22.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004939/0.2187, allocations: 3.078 MB / 402.1 MB, free: 19.85 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches