Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 172.3 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.518/1.518, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009802/0.0009802, allocations: 90.66 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.263e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.454, allocations: 78.21 MB / 448.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4543, allocations: 69.22 kB / 448.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.4647, allocations: 3.872 MB / 452.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4648, allocations: 4 kB / 452.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4648, allocations: 4 kB / 452.2 MB, free: 11.68 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007299/0.4655, allocations: 0.4906 MB / 452.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4656, allocations: 12.03 kB / 452.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.4657, allocations: 24.48 kB / 452.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.4659, allocations: 214.1 kB / 452.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.466, allocations: 20.27 kB / 452.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.466, allocations: 23.62 kB / 452.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.4664, allocations: 219.5 kB / 453.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4664, allocations: 0 / 453.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.4664, allocations: 10.62 kB / 453.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4664, allocations: 6.078 kB / 453.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.4667, allocations: 127.5 kB / 453.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.4679, allocations: 0.8264 MB / 454.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.4682, allocations: 146.3 kB / 454.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4684, allocations: 70.25 kB / 454.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4684, allocations: 0 / 454.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4684, allocations: 30.84 kB / 454.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.4684, allocations: 4 kB / 454.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003646/0.4688, allocations: 168.4 kB / 454.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.4688, allocations: 51.41 kB / 454.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.469, allocations: 157.8 kB / 454.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.469, allocations: 29.7 kB / 454.8 MB, free: 9.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.4691, allocations: 143.6 kB / 454.9 MB, free: 9.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.4691, allocations: 52.83 kB / 455 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.4692, allocations: 2.75 kB / 455 MB, free: 9.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4693, allocations: 332 kB / 455.3 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.4694, allocations: 37.69 kB / 455.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-05/0.4695, allocations: 77.11 kB / 455.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.4695, allocations: 41.8 kB / 455.4 MB, free: 8.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4696, allocations: 4 kB / 455.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002993/0.4699, allocations: 192.4 kB / 455.6 MB, free: 8.465 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4699, allocations: 4 kB / 455.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4699, allocations: 4 kB / 455.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.4701, allocations: 31.03 kB / 455.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4702, allocations: 38.22 kB / 455.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.4713, allocations: 1.362 MB / 457.1 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4715, allocations: 31.89 kB / 457.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4715, allocations: 15.45 kB / 457.1 MB, free: 6.934 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 7.671e-05/0.4716, allocations: 104.5 kB / 457.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.4716, allocations: 15.81 kB / 457.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.4717, allocations: 28.14 kB / 457.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4717, allocations: 8 kB / 457.3 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4717, allocations: 7.938 kB / 457.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4717, allocations: 0 / 457.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.4723, allocations: 0.4932 MB / 457.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4723, allocations: 0 / 457.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.4725, allocations: 35.91 kB / 457.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.4726, allocations: 32.11 kB / 457.8 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4726, allocations: 11.62 kB / 457.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/0.4736, allocations: 1.351 MB / 459.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4737, allocations: 4.062 kB / 459.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4741, allocations: 317 kB / 459.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.4741, allocations: 104.6 kB / 459.6 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4742, allocations: 3.562 kB / 459.6 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4744, allocations: 35.59 kB / 459.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.4745, allocations: 15.97 kB / 459.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4745, allocations: 3.312 kB / 459.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.4746, allocations: 126.6 kB / 459.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4746, allocations: 0 / 459.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.4749, allocations: 55.47 kB / 459.9 MB, free: 4.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001225/0.475, allocations: 102.8 kB / 460 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.4753, allocations: 238.6 kB / 460.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4754, allocations: 0 / 460.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.4755, allocations: 177 kB / 460.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4758, allocations: 35.31 kB / 460.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4763, allocations: 288.9 kB / 460.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.4766, allocations: 0.7402 MB / 461.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.503e-05/0.4767, allocations: 13.33 kB / 461.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.4767, allocations: 15.44 kB / 461.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4767, allocations: 7.938 kB / 461.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of Templates: time 0.004956/0.4817, allocations: 2.182 MB / 463.6 MB, free: 484 kB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches