Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001143/0.001143, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.586/1.586, allocations: 205.4 MB / 223.1 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.0008926/0.0008927, allocations: 96.08 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002893, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3097, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.4219, allocations: 79.63 MB / 455.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.4223, allocations: 79.95 kB / 455.5 MB, free: 0.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.4422, allocations: 7.964 MB / 463.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4422, allocations: 0 / 463.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.215e-05/0.4423, allocations: 12 kB / 463.5 MB, free: 8.852 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.001014/0.4433, allocations: 0.6546 MB / 464.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4433, allocations: 8.031 kB / 464.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.4435, allocations: 59.25 kB / 464.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.444, allocations: 367.8 kB / 464.6 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.4441, allocations: 33 kB / 464.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.4441, allocations: 43.95 kB / 464.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.4451, allocations: 488.2 kB / 465.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.4451, allocations: 3.938 kB / 465.1 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.4452, allocations: 20 kB / 465.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.4452, allocations: 8 kB / 465.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.4457, allocations: 250.1 kB / 465.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.4481, allocations: 2.796 MB / 468.2 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.4485, allocations: 166.2 kB / 468.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.4487, allocations: 85.05 kB / 468.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4487, allocations: 34.52 kB / 468.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.4488, allocations: 4 kB / 468.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001287/0.4501, allocations: 0.6278 MB / 469.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4501, allocations: 51.41 kB / 469.2 MB, free: 2.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.4504, allocations: 304.8 kB / 469.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4504, allocations: 29.7 kB / 469.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.4506, allocations: 302.9 kB / 469.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.4507, allocations: 71.03 kB / 469.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.4507, allocations: 4 kB / 469.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4508, allocations: 350.8 kB / 470.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.451, allocations: 71.86 kB / 470.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4512, allocations: 218.2 kB / 470.5 MB, free: 1.359 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.0006212/0.4518, allocations: 279.3 kB / 470.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4518, allocations: 0 / 470.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005461/0.4524, allocations: 352.2 kB / 471.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4524, allocations: 8 kB / 471.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4524, allocations: 8.062 kB / 471.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.4526, allocations: 40.78 kB / 471.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.4528, allocations: 75.89 kB / 471.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.4542, allocations: 1.468 MB / 472.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.4544, allocations: 19.98 kB / 472.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.4545, allocations: 20 kB / 472.7 MB, free: 14.95 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.0002448/0.4547, allocations: 174.1 kB / 472.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.4548, allocations: 35.61 kB / 472.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.751e-05/0.4548, allocations: 35.59 kB / 473 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4549, allocations: 11.89 kB / 473 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4549, allocations: 0 / 473 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4549, allocations: 0 / 473 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009596/0.4558, allocations: 0.6718 MB / 473.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4559, allocations: 4 kB / 473.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.456, allocations: 35.92 kB / 473.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.483e-05/0.4561, allocations: 28.83 kB / 473.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.4562, allocations: 4 kB / 473.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009261/0.4571, allocations: 1.324 MB / 475 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4571, allocations: 0 / 475 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.4577, allocations: 384.4 kB / 475.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.4577, allocations: 108.7 kB / 475.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4578, allocations: 3.953 kB / 475.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4579, allocations: 12 kB / 475.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.458, allocations: 11.98 kB / 475.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.458, allocations: 7.984 kB / 475.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000231/0.4582, allocations: 239.1 kB / 475.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4582, allocations: 0 / 475.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004179/0.4587, allocations: 68 kB / 475.9 MB, free: 11.56 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.0001515/0.4588, allocations: 107 kB / 476 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.4594, allocations: 311.8 kB / 476.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4594, allocations: 1.375 kB / 476.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.4596, allocations: 190.6 kB / 476.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4599, allocations: 36.3 kB / 476.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.4615, allocations: 1.04 MB / 477.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4619, allocations: 0.8265 MB / 478.4 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.4621, allocations: 43.27 kB / 478.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.4621, allocations: 35.42 kB / 478.4 MB, free: 8.891 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4621, allocations: 0 / 478.4 MB, free: 8.891 MB / 362.7 MB Notification: Performance of Templates: time 0.006211/0.4684, allocations: 2.443 MB / 480.9 MB, free: 6.453 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/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_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches