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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 62.88 kB / 306.3 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09474, allocations: 50.53 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004647/0.09942, allocations: 3.1 MB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1014, allocations: 1.021 MB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.1018, allocations: 11.94 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1021, allocations: 75.36 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1024, allocations: 71.34 kB / 361.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.103, allocations: 207.8 kB / 361.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.1036, allocations: 0.5097 MB / 361.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.104, allocations: 194.2 kB / 362 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.1043, allocations: 167.2 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1046, allocations: 175 kB / 362.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.1047, allocations: 20 kB / 362.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1048, allocations: 40 kB / 362.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.1049, allocations: 75.62 kB / 362.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.1052, allocations: 214.6 kB / 362.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.1057, allocations: 0.5062 MB / 363.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1057, allocations: 0 / 363.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1057, allocations: 0 / 363.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1058, allocations: 4 kB / 363.2 MB, free: 7.871 MB / 302.1 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.001137/0.1069, allocations: 0.7483 MB / 363.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.107, allocations: 19.91 kB / 363.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.1072, allocations: 64.03 kB / 364 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.1077, allocations: 398.4 kB / 364.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1077, allocations: 29 kB / 364.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.1078, allocations: 43.91 kB / 364.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/0.1086, allocations: 491.4 kB / 364.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.1086, allocations: 3.984 kB / 364.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.1086, allocations: 20 kB / 364.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1087, allocations: 8 kB / 365 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.1092, allocations: 254.1 kB / 365.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1113, allocations: 2.827 MB / 368 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.1118, allocations: 166.7 kB / 368.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1119, allocations: 64.84 kB / 368.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.1121, allocations: 89.09 kB / 368.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1122, allocations: 38.5 kB / 368.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.1122, allocations: 0 / 368.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001336/0.1135, allocations: 0.6205 MB / 369 MB, free: 1.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1136, allocations: 59.31 kB / 369.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.1139, allocations: 345.6 kB / 369.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.114, allocations: 33.7 kB / 369.4 MB, free: 1.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1142, allocations: 302.9 kB / 369.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.1142, allocations: 63.09 kB / 369.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.773e-05/0.1143, allocations: 69.56 kB / 369.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1145, allocations: 350.7 kB / 370.2 MB, free: 376 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1146, allocations: 63.97 kB / 370.3 MB, free: 312 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.1149, allocations: 223.4 kB / 370.5 MB, free: 16 kB / 302.1 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.1687/0.2835, allocations: 0.5052 MB / 371 MB, free: 19.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2836, allocations: 2.391 kB / 371 MB, free: 19.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000697/0.2843, allocations: 361.3 kB / 371.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2843, allocations: 8.844 kB / 371.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.2843, allocations: 5.344 kB / 371.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.2845, allocations: 37.91 kB / 371.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.2848, allocations: 70.8 kB / 371.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009854/0.2858, allocations: 1.475 MB / 372.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.286, allocations: 27 kB / 373 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.286, allocations: 18.73 kB / 373 MB, free: 18.3 MB / 302.1 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.0001902/0.2862, allocations: 170.4 kB / 373.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.2863, allocations: 39.06 kB / 373.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.2864, allocations: 38.66 kB / 373.2 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2864, allocations: 4.781 kB / 373.2 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2864, allocations: 5.734 kB / 373.2 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2864, allocations: 0.5156 kB / 373.2 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.2873, allocations: 0.706 MB / 373.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2874, allocations: 2.578 kB / 373.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2876, allocations: 38.62 kB / 374 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.382e-05/0.2876, allocations: 28.55 kB / 374 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2877, allocations: 3.875 kB / 374 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007231/0.2884, allocations: 1.328 MB / 375.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2884, allocations: 3.344 kB / 375.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.289, allocations: 363.3 kB / 375.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.289, allocations: 105 kB / 375.8 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.2891, allocations: 4.109 kB / 375.8 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2892, allocations: 15.11 kB / 375.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2893, allocations: 15.41 kB / 375.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2893, allocations: 8.875 kB / 375.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.2895, allocations: 233.3 kB / 376.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2895, allocations: 0 / 376.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.29, allocations: 68.12 kB / 376.1 MB, free: 16 MB / 302.1 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.0001299/0.2901, allocations: 103.6 kB / 376.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.2907, allocations: 321.3 kB / 376.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2907, allocations: 0 / 376.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.2909, allocations: 187.1 kB / 376.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.2913, allocations: 39.81 kB / 376.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2926, allocations: 1.025 MB / 377.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2929, allocations: 0.8132 MB / 378.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.293, allocations: 45.94 kB / 378.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.2931, allocations: 33.41 kB / 378.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2931, allocations: 3.938 kB / 378.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.006311/0.2994, allocations: 2.556 MB / 381.2 MB, free: 13.95 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches