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.001102/0.001102, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002699, allocations: 8 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09666, allocations: 51.51 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003291/0.09998, allocations: 2.715 MB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1019, allocations: 1.002 MB / 363.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.1024, allocations: 11.94 kB / 363.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1027, allocations: 71.42 kB / 363.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.103, allocations: 87.2 kB / 363.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.1036, allocations: 195.8 kB / 364 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.1043, allocations: 0.5058 MB / 364.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.1047, allocations: 206.2 kB / 364.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.105, allocations: 147.2 kB / 364.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1052, allocations: 147 kB / 365 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1052, allocations: 12 kB / 365 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1054, allocations: 32 kB / 365 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.1054, allocations: 63.62 kB / 365.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1057, allocations: 224.4 kB / 365.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.1061, allocations: 407.2 kB / 365.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1061, allocations: 0 / 365.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1061, allocations: 0 / 365.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.1061, allocations: 8 kB / 365.7 MB, free: 7.215 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.0009527/0.1071, allocations: 0.6509 MB / 366.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1071, allocations: 12.03 kB / 366.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.1074, allocations: 68.03 kB / 366.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.1079, allocations: 406.3 kB / 366.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1079, allocations: 33 kB / 366.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.108, allocations: 43.98 kB / 366.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.1088, allocations: 491.4 kB / 367.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1088, allocations: 7.844 kB / 367.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.1088, allocations: 20 kB / 367.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.1089, allocations: 12 kB / 367.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.1094, allocations: 246.1 kB / 367.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.1119, allocations: 2.838 MB / 370.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.1124, allocations: 162.7 kB / 370.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1126, allocations: 76.78 kB / 370.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.1127, allocations: 85.09 kB / 370.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1128, allocations: 34.5 kB / 370.9 MB, free: 1.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1128, allocations: 4 kB / 370.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00141/0.1142, allocations: 0.6283 MB / 371.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1142, allocations: 63.39 kB / 371.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.1146, allocations: 349.5 kB / 371.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1147, allocations: 29.64 kB / 371.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1149, allocations: 306.9 kB / 372.2 MB, free: 268 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.1149, allocations: 67.09 kB / 372.3 MB, free: 200 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.115, allocations: 29.7 kB / 372.3 MB, free: 164 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1893/0.3043, allocations: 350.9 kB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.3047, allocations: 69.33 kB / 372.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.305, allocations: 218.4 kB / 372.9 MB, free: 18.84 MB / 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.001195/0.3062, allocations: 0.5253 MB / 373.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3062, allocations: 2.422 kB / 373.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007896/0.307, allocations: 364.7 kB / 373.8 MB, free: 18.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3071, allocations: 7.438 kB / 373.8 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3071, allocations: 6.234 kB / 373.8 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.3073, allocations: 32.91 kB / 373.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.3076, allocations: 82.22 kB / 373.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.3088, allocations: 1.459 MB / 375.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.309, allocations: 25.7 kB / 375.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.3091, allocations: 18.03 kB / 375.4 MB, free: 17.13 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 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.000217/0.3093, allocations: 172.2 kB / 375.6 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.3094, allocations: 39.14 kB / 375.7 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.497e-05/0.3095, allocations: 38.58 kB / 375.7 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3095, allocations: 6.781 kB / 375.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3095, allocations: 0 / 375.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3095, allocations: 2.656 kB / 375.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3106, allocations: 0.7112 MB / 376.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3106, allocations: 2.094 kB / 376.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3108, allocations: 46.38 kB / 376.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.466e-05/0.3109, allocations: 23.84 kB / 376.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3109, allocations: 6.219 kB / 376.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008174/0.3117, allocations: 1.336 MB / 377.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3118, allocations: 0.875 kB / 377.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.3124, allocations: 371.8 kB / 378.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.3124, allocations: 110.9 kB / 378.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3125, allocations: 2.719 kB / 378.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3126, allocations: 12.39 kB / 378.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3127, allocations: 11.17 kB / 378.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3127, allocations: 7.672 kB / 378.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.313, allocations: 235.8 kB / 378.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.313, allocations: 0 / 378.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.3136, allocations: 70.5 kB / 378.6 MB, free: 14.99 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.0001185/0.3137, allocations: 103.9 kB / 378.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.3144, allocations: 321.9 kB / 379 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3144, allocations: 1.062 kB / 379 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.3146, allocations: 180.4 kB / 379.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.3151, allocations: 38.14 kB / 379.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3167, allocations: 1.131 MB / 380.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.317, allocations: 0.8124 MB / 381.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3171, allocations: 35.16 kB / 381.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3171, allocations: 1.375 kB / 381.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01325/0.3304, allocations: 6.329 MB / 387.6 MB, free: 11.79 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches