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.001059/0.00106, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.533/1.533, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0008003/0.0008001, allocations: 90.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.017e-05, allocations: 4 kB / 322.4 MB, free: 17.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08332, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2972/0.3806, allocations: 79.53 MB / 449.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3809, allocations: 74.2 kB / 449.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0187/0.3996, allocations: 7.959 MB / 457.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3996, allocations: 0 / 457.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.3997, allocations: 8 kB / 457.6 MB, free: 6.945 MB / 330.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.0008165/0.4005, allocations: 0.6127 MB / 458.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4006, allocations: 12.03 kB / 458.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.4007, allocations: 55.34 kB / 458.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.4011, allocations: 352.5 kB / 458.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4012, allocations: 31.56 kB / 458.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.4013, allocations: 49.73 kB / 458.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.4019, allocations: 473.2 kB / 459.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.402, allocations: 4 kB / 459.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.402, allocations: 17.62 kB / 459.2 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.402, allocations: 12 kB / 459.2 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.4024, allocations: 227 kB / 459.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.4047, allocations: 2.809 MB / 462.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.4051, allocations: 150.7 kB / 462.4 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4052, allocations: 61.91 kB / 462.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.4054, allocations: 89.03 kB / 462.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.4054, allocations: 38.52 kB / 462.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/0.4054, allocations: 0 / 462.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001105/0.4065, allocations: 0.5519 MB / 463.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.4066, allocations: 55.34 kB / 463.2 MB, free: 1.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.4069, allocations: 298.8 kB / 463.4 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.407, allocations: 31.78 kB / 463.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.4072, allocations: 298.9 kB / 463.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.4072, allocations: 71.09 kB / 463.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.4072, allocations: 4 kB / 463.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4074, allocations: 354.8 kB / 464.2 MB, free: 156 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4075, allocations: 63.89 kB / 464.3 MB, free: 92 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4078, allocations: 203.9 kB / 464.5 MB, free: 15.82 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.0006217/0.4084, allocations: 270.5 kB / 464.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4084, allocations: 0 / 464.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004955/0.4089, allocations: 338.9 kB / 465 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4089, allocations: 8 kB / 465.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4089, allocations: 8 kB / 465.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.4091, allocations: 32.84 kB / 465.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4093, allocations: 75.91 kB / 465.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.4106, allocations: 1.46 MB / 466.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4108, allocations: 23.91 kB / 466.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.4108, allocations: 24.06 kB / 466.7 MB, free: 13.43 MB / 346.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 () * 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.0001111/0.4109, allocations: 129.4 kB / 466.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.411, allocations: 39.56 kB / 466.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.4111, allocations: 39.33 kB / 466.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4111, allocations: 0 / 466.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4111, allocations: 4 kB / 466.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4111, allocations: 3.938 kB / 466.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.412, allocations: 0.6443 MB / 467.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.412, allocations: 0 / 467.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.4122, allocations: 31.98 kB / 467.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.4123, allocations: 28.78 kB / 467.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4123, allocations: 4 kB / 467.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008582/0.4132, allocations: 1.324 MB / 468.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4132, allocations: 0 / 468.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.4136, allocations: 365.6 kB / 469.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.4137, allocations: 108.6 kB / 469.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4137, allocations: 3.953 kB / 469.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4139, allocations: 16.03 kB / 469.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.4139, allocations: 7.984 kB / 469.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.414, allocations: 11.94 kB / 469.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.4142, allocations: 233.2 kB / 469.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4142, allocations: 0 / 469.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.4146, allocations: 68 kB / 469.7 MB, free: 10.14 MB / 346.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 () * 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.0001245/0.4147, allocations: 103 kB / 469.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.4152, allocations: 300.1 kB / 470.1 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4152, allocations: 0 / 470.1 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.4155, allocations: 174.6 kB / 470.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4157, allocations: 41.48 kB / 470.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4169, allocations: 0.6354 MB / 471 MB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.4174, allocations: 0.8265 MB / 471.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.4175, allocations: 39.27 kB / 471.8 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.4176, allocations: 35.42 kB / 471.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4176, allocations: 3.938 kB / 471.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of Templates: time 0.006042/0.4236, allocations: 2.455 MB / 474.3 MB, free: 5.449 MB / 346.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