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.001431/0.001431, allocations: 201 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000826/0.0008259, allocations: 95.61 kB / 297.5 MB, free: 6.855 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002257, allocations: 11.98 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08956/0.2829, allocations: 80.89 MB / 490.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2831, allocations: 71.95 kB / 490.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.3019, allocations: 8.003 MB / 498.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3019, allocations: 0 / 498.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.3019, allocations: 8 kB / 498.3 MB, free: 2.422 MB / 362.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.000863/0.3028, allocations: 0.6549 MB / 499 MB, free: 1.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3029, allocations: 8.031 kB / 499 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.303, allocations: 68.27 kB / 499.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.3035, allocations: 380.7 kB / 499.4 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.3036, allocations: 33.38 kB / 499.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.3036, allocations: 36.38 kB / 499.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.3044, allocations: 491.9 kB / 500 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.3044, allocations: 4.125 kB / 500 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.3044, allocations: 23.94 kB / 0.4883 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3045, allocations: 8 kB / 0.4883 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.3049, allocations: 250.2 kB / 0.4885 GB, free: 332 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.3071, allocations: 2.805 MB / 0.4913 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.3075, allocations: 162.6 kB / 0.4914 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3076, allocations: 72.88 kB / 0.4915 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3078, allocations: 81.11 kB / 0.4916 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3078, allocations: 38.44 kB / 0.4916 GB, free: 12.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.3078, allocations: 0 / 0.4916 GB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.309, allocations: 0.632 MB / 0.4922 GB, free: 12.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.3091, allocations: 51.41 kB / 0.4923 GB, free: 12.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.3094, allocations: 349.5 kB / 0.4926 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3095, allocations: 29.7 kB / 0.4926 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.3096, allocations: 310.9 kB / 0.4929 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.3097, allocations: 63.11 kB / 0.493 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.3097, allocations: 4 kB / 0.493 GB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3099, allocations: 350.8 kB / 0.4933 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.31, allocations: 63.97 kB / 0.4934 GB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.3102, allocations: 229 kB / 0.4936 GB, free: 10.78 MB / 378.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.0009055/0.3111, allocations: 0.5209 MB / 0.4941 GB, free: 10.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3111, allocations: 0 / 0.4941 GB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005558/0.3117, allocations: 369.2 kB / 0.4945 GB, free: 9.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3117, allocations: 8 kB / 0.4945 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3117, allocations: 4 kB / 0.4945 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.3119, allocations: 32.84 kB / 0.4945 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.3121, allocations: 79.84 kB / 0.4946 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.3133, allocations: 1.456 MB / 0.496 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.3135, allocations: 23.92 kB / 0.496 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3135, allocations: 16 kB / 0.4961 GB, free: 8.051 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.3137, allocations: 173.7 kB / 0.4962 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3138, allocations: 43.45 kB / 0.4963 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.3139, allocations: 39.59 kB / 0.4963 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3139, allocations: 0 / 0.4963 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3139, allocations: 4 kB / 0.4963 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3139, allocations: 0 / 0.4963 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/0.3148, allocations: 0.66 MB / 0.4969 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3148, allocations: 7.938 kB / 0.497 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.315, allocations: 31.98 kB / 0.497 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-05/0.315, allocations: 20.84 kB / 0.497 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3151, allocations: 12 kB / 0.497 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009153/0.316, allocations: 1.324 MB / 0.4983 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.316, allocations: 0 / 0.4983 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.3165, allocations: 368.5 kB / 0.4987 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.3166, allocations: 104.6 kB / 0.4988 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3167, allocations: 8.031 kB / 0.4988 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3168, allocations: 12 kB / 0.4988 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.3168, allocations: 19.86 kB / 0.4988 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3169, allocations: 8 kB / 0.4988 GB, free: 4.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.3171, allocations: 231.2 kB / 0.499 GB, free: 4.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3171, allocations: 0 / 0.499 GB, free: 4.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.3175, allocations: 71.98 kB / 0.4991 GB, free: 4.684 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.3176, allocations: 107.2 kB / 0.4992 GB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.3182, allocations: 319.7 kB / 0.4995 GB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3182, allocations: 0 / 0.4995 GB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.3184, allocations: 182.7 kB / 0.4997 GB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3188, allocations: 41.48 kB / 0.4997 GB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3202, allocations: 1.042 MB / 0.5007 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3206, allocations: 0.8187 MB / 0.5015 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.3207, allocations: 43.25 kB / 0.5016 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.3208, allocations: 31.44 kB / 0.5016 GB, free: 2.023 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3208, allocations: 0 / 0.5016 GB, free: 2.023 MB / 378.7 MB Notification: Performance of Templates: time 0.1509/0.4717, allocations: 2.462 MB / 0.504 GB, free: 95.4 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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