Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001517, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 99.27 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003752, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3557, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4838, allocations: 79.63 MB / 454.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.4841, allocations: 71.95 kB / 454.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03205/0.5162, allocations: 7.982 MB / 462.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5163, allocations: 192 / 462.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.182e-05/0.5163, allocations: 8 kB / 462.2 MB, free: 8.938 MB / 346.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.001341/0.5177, allocations: 0.6643 MB / 462.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5177, allocations: 8.031 kB / 462.9 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.5179, allocations: 59.25 kB / 462.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.5187, allocations: 355.7 kB / 463.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.5187, allocations: 29 kB / 463.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.5188, allocations: 43.95 kB / 463.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.52, allocations: 484.2 kB / 463.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.52, allocations: 4 kB / 463.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.5201, allocations: 23.94 kB / 463.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5201, allocations: 12 kB / 463.9 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.5209, allocations: 250.1 kB / 464.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.5243, allocations: 2.804 MB / 466.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.525, allocations: 162.5 kB / 467.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.5252, allocations: 89.14 kB / 467.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5253, allocations: 34.52 kB / 467.2 MB, free: 3.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.277e-06/0.5253, allocations: 4 kB / 467.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001928/0.5272, allocations: 0.6262 MB / 467.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5273, allocations: 59.34 kB / 467.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.5278, allocations: 296.8 kB / 468.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.5278, allocations: 29.7 kB / 468.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.5281, allocations: 349.4 kB / 468.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.5282, allocations: 67.05 kB / 468.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.5282, allocations: 8 kB / 468.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5283, allocations: 326.8 kB / 468.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.5286, allocations: 71.91 kB / 469 MB, free: 1.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.529, allocations: 218.2 kB / 469.2 MB, free: 1.426 MB / 346.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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.53, allocations: 275.3 kB / 469.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.5301, allocations: 8 kB / 469.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009317/0.531, allocations: 336.2 kB / 469.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.531, allocations: 9.719 kB / 469.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5311, allocations: 4 kB / 469.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.5313, allocations: 32.84 kB / 469.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.5317, allocations: 75.91 kB / 469.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.5335, allocations: 1.476 MB / 471.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.5339, allocations: 27.95 kB / 471.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.5339, allocations: 20 kB / 471.5 MB, free: 15.02 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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.0003304/0.5343, allocations: 166.1 kB / 471.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.5343, allocations: 31.62 kB / 471.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.5345, allocations: 39.59 kB / 471.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5345, allocations: 11.88 kB / 471.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.5345, allocations: 4 kB / 471.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5345, allocations: 0 / 471.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.536, allocations: 0.656 MB / 472.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.536, allocations: 4 kB / 472.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.5363, allocations: 43.84 kB / 472.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.5365, allocations: 28.83 kB / 472.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5365, allocations: 7.984 kB / 472.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.5378, allocations: 1.332 MB / 473.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5378, allocations: 0 / 473.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.5387, allocations: 374.4 kB / 474.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.5388, allocations: 108.6 kB / 474.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.5389, allocations: 7.953 kB / 474.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.5391, allocations: 16.03 kB / 474.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.5392, allocations: 11.92 kB / 474.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.5392, allocations: 8 kB / 474.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003596/0.5396, allocations: 231.2 kB / 474.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5396, allocations: 0 / 474.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.5402, allocations: 68 kB / 474.6 MB, free: 11.64 MB / 362.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.0001689/0.5404, allocations: 107 kB / 474.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.5413, allocations: 317.4 kB / 475 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5413, allocations: 0 / 475 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.5416, allocations: 182.5 kB / 475.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.542, allocations: 40.3 kB / 475.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.5443, allocations: 1.07 MB / 476.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.5449, allocations: 0.8304 MB / 477.1 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.545, allocations: 31.42 kB / 477.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.545, allocations: 0 / 477.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of Templates: time 0.01313/0.5582, allocations: 6.042 MB / 483.2 MB, free: 2.934 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches