Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 207.7 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.4 MB / 250 MB, free: 8.973 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.83 kB / 367.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2625, allocations: 53.3 MB / 420.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005951/0.2685, allocations: 3.083 MB / 423.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.2709, allocations: 1.033 MB / 424.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2712, allocations: 11.94 kB / 424.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.2715, allocations: 103 kB / 424.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.2717, allocations: 99 kB / 425 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.2722, allocations: 223.6 kB / 425.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.2728, allocations: 0.5449 MB / 425.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.2731, allocations: 150.7 kB / 425.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.2734, allocations: 179.2 kB / 426 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.2736, allocations: 182.9 kB / 426.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.2736, allocations: 36 kB / 426.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2738, allocations: 63.92 kB / 426.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.2738, allocations: 87.64 kB / 426.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.274, allocations: 234.7 kB / 426.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.2747, allocations: 0.5832 MB / 427.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2747, allocations: 0 / 427.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2747, allocations: 0 / 427.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2747, allocations: 0 / 427.2 MB, free: 1.715 MB / 334.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.001003/0.2757, allocations: 0.7595 MB / 428 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2757, allocations: 12.03 kB / 428 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2759, allocations: 76.23 kB / 428.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.2765, allocations: 418.6 kB / 428.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.2766, allocations: 29 kB / 428.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.2766, allocations: 47.94 kB / 428.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.2774, allocations: 491.3 kB / 429 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.2774, allocations: 11.92 kB / 429 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.2775, allocations: 20 kB / 429.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2775, allocations: 15.94 kB / 429.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.278, allocations: 246.1 kB / 429.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.2804, allocations: 2.819 MB / 432.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.2809, allocations: 154.7 kB / 432.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.281, allocations: 64.83 kB / 432.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.2811, allocations: 81.11 kB / 432.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.2811, allocations: 42.44 kB / 432.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2811, allocations: 4 kB / 432.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001326/0.2825, allocations: 0.6299 MB / 433.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.2825, allocations: 51.41 kB / 433.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.2829, allocations: 349.6 kB / 433.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2829, allocations: 29.7 kB / 433.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.2831, allocations: 303.8 kB / 433.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.2832, allocations: 75.39 kB / 433.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2833, allocations: 69.61 kB / 434 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2835, allocations: 350.7 kB / 434.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2836, allocations: 63.97 kB / 434.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.2839, allocations: 215.4 kB / 434.6 MB, free: 9.836 MB / 350.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.0009752/0.2848, allocations: 0.516 MB / 435.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2849, allocations: 4 kB / 435.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006667/0.2855, allocations: 355.5 kB / 435.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2855, allocations: 8 kB / 435.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2855, allocations: 4 kB / 435.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.2857, allocations: 41.53 kB / 435.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2859, allocations: 79.84 kB / 435.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.2874, allocations: 1.636 MB / 437.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2876, allocations: 8 kB / 437.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2876, allocations: 27.88 kB / 437.2 MB, free: 6.926 MB / 350.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.0001999/0.2878, allocations: 161.8 kB / 437.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.2878, allocations: 39.7 kB / 437.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.2879, allocations: 39.58 kB / 437.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.2879, allocations: 4 kB / 437.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2879, allocations: 3.938 kB / 437.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2879, allocations: 4.062 kB / 437.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.289, allocations: 0.7135 MB / 438.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.289, allocations: 0 / 438.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.2892, allocations: 35.98 kB / 438.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.2892, allocations: 24.84 kB / 438.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2893, allocations: 0 / 438.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.2904, allocations: 1.438 MB / 439.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2904, allocations: 0 / 439.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.291, allocations: 376.1 kB / 440.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.2911, allocations: 108.9 kB / 440.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.2911, allocations: 4 kB / 440.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2912, allocations: 4 kB / 440.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2913, allocations: 19.97 kB / 440.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2913, allocations: 4 kB / 440.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.2915, allocations: 243.2 kB / 440.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2915, allocations: 0 / 440.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.292, allocations: 64 kB / 440.5 MB, free: 3.391 MB / 350.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.0001159/0.2921, allocations: 103.2 kB / 440.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.2927, allocations: 306.3 kB / 440.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2927, allocations: 0 / 440.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.293, allocations: 175.9 kB / 441.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2933, allocations: 45.61 kB / 441.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2948, allocations: 0.8518 MB / 442 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.2952, allocations: 0.8146 MB / 442.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.2954, allocations: 39.28 kB / 442.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.2954, allocations: 31.42 kB / 442.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2954, allocations: 0 / 442.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Templates: time 0.007456/0.3029, allocations: 2.815 MB / 445.7 MB, free: 14.15 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches