Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 207.3 kB / 17.99 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 105.9 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009726/0.0009727, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1983, allocations: 50.44 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003146/0.2014, allocations: 3.101 MB / 410.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2028, allocations: 1 MB / 411.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.203, allocations: 11.94 kB / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.2032, allocations: 71.38 kB / 411.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.2034, allocations: 79.27 kB / 411.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.2038, allocations: 191.8 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.2041, allocations: 0.5137 MB / 412 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.2044, allocations: 210.1 kB / 412.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2046, allocations: 167.2 kB / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2047, allocations: 171 kB / 412.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.2048, allocations: 24 kB / 412.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2049, allocations: 36 kB / 412.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.2049, allocations: 71.64 kB / 412.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2051, allocations: 214.7 kB / 412.9 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.2054, allocations: 0.5153 MB / 413.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2054, allocations: 0 / 413.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2054, allocations: 0 / 413.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2054, allocations: 0 / 413.4 MB, free: 21.44 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.000734/0.2062, allocations: 0.7445 MB / 414.1 MB, free: 20.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2062, allocations: 8.031 kB / 414.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.2064, allocations: 68.02 kB / 414.2 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.2068, allocations: 406.3 kB / 414.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2068, allocations: 29 kB / 414.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.2069, allocations: 40 kB / 414.7 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.2074, allocations: 487.4 kB / 415.1 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2075, allocations: 7.922 kB / 415.1 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2075, allocations: 16 kB / 415.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2075, allocations: 12 kB / 415.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.2079, allocations: 250.1 kB / 415.4 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.2094, allocations: 2.823 MB / 418.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.2098, allocations: 162 kB / 418.4 MB, free: 16.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2099, allocations: 68.84 kB / 418.5 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.2101, allocations: 89.03 kB / 418.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2101, allocations: 46.44 kB / 418.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2101, allocations: 0 / 418.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001046/0.2111, allocations: 0.6177 MB / 419.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.2112, allocations: 55.41 kB / 419.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.2114, allocations: 349.6 kB / 419.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.2114, allocations: 25.7 kB / 419.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2115, allocations: 299 kB / 419.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.2116, allocations: 71.09 kB / 420 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.2116, allocations: 69.55 kB / 420.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.2117, allocations: 346.7 kB / 420.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.2118, allocations: 71.91 kB / 420.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.212, allocations: 215.7 kB / 420.7 MB, free: 13.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.0007208/0.2127, allocations: 0.5072 MB / 421.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2127, allocations: 0 / 421.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000431/0.2132, allocations: 361.4 kB / 421.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2132, allocations: 8 kB / 421.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2132, allocations: 4.688 kB / 421.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.2133, allocations: 44.78 kB / 421.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2135, allocations: 71.91 kB / 421.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008647/0.2144, allocations: 1.472 MB / 423.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.2146, allocations: 27.92 kB / 423.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2146, allocations: 16 kB / 423.2 MB, free: 10.88 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.000156/0.2148, allocations: 169.7 kB / 423.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.2148, allocations: 35.53 kB / 423.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.2149, allocations: 47.59 kB / 423.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2149, allocations: 0 / 423.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2149, allocations: 7.984 kB / 423.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2149, allocations: 0 / 423.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.2157, allocations: 0.7056 MB / 424.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2157, allocations: 0 / 424.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2158, allocations: 40 kB / 424.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/0.2159, allocations: 28.84 kB / 424.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.216, allocations: 0 / 424.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006167/0.2166, allocations: 1.339 MB / 425.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2166, allocations: 4.062 kB / 425.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.2193, allocations: 3.389 MB / 428.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2194, allocations: 100.7 kB / 429 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.2194, allocations: 12.06 kB / 429.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2195, allocations: 15.94 kB / 429.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.2196, allocations: 15.98 kB / 429.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2196, allocations: 0 / 429.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.2197, allocations: 235.2 kB / 429.3 MB, free: 4.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.2197, allocations: 0 / 429.3 MB, free: 4.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.2203, allocations: 103.9 kB / 429.4 MB, free: 4.121 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 0.0001124/0.2204, allocations: 111.2 kB / 429.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.2209, allocations: 299.6 kB / 429.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2209, allocations: 0 / 429.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2211, allocations: 186.7 kB / 430 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2214, allocations: 33.55 kB / 430 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2227, allocations: 1.315 MB / 431.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.223, allocations: 0.8233 MB / 432.2 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.2231, allocations: 39.27 kB / 432.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.2232, allocations: 39.36 kB / 432.3 MB, free: 1.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2232, allocations: 0 / 432.3 MB, free: 1.18 MB / 298.7 MB Notification: Performance of Templates: time 0.006251/0.2294, allocations: 3.084 MB / 435.3 MB, free: 14.12 MB / 314.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@2/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