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.001075/0.001075, allocations: 181.2 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.478/1.478, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008631/0.0008631, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2916, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1/0.3917, allocations: 78.31 MB / 454.1 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.392, allocations: 71.95 kB / 454.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.4026, allocations: 3.873 MB / 458.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4027, allocations: 0 / 458.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4027, allocations: 8 kB / 458.1 MB, free: 14.39 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009078/0.4036, allocations: 0.5029 MB / 458.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.4037, allocations: 8.031 kB / 458.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.4039, allocations: 27.72 kB / 458.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.4042, allocations: 225.1 kB / 458.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.4043, allocations: 20.39 kB / 458.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.4043, allocations: 27.94 kB / 458.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.4048, allocations: 229.8 kB / 459.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4049, allocations: 0 / 459.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.4049, allocations: 8 kB / 459.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4049, allocations: 8 kB / 459.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.4054, allocations: 165.7 kB / 459.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.4069, allocations: 0.8254 MB / 460.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.4073, allocations: 166.5 kB / 460.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.4074, allocations: 4 kB / 460.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4074, allocations: 30.56 kB / 460.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.096e-06/0.4074, allocations: 0 / 460.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009244/0.4084, allocations: 367.4 kB / 460.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.4084, allocations: 55.34 kB / 460.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4086, allocations: 157.8 kB / 460.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4086, allocations: 33.7 kB / 460.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4087, allocations: 136.2 kB / 461 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.4088, allocations: 59.27 kB / 461.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-06/0.4088, allocations: 4 kB / 461.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4089, allocations: 322.8 kB / 461.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4091, allocations: 60.34 kB / 461.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.4093, allocations: 96.17 kB / 461.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4094, allocations: 66.11 kB / 461.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4094, allocations: 0 / 461.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004457/0.4099, allocations: 222.2 kB / 461.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4099, allocations: 4 kB / 461.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4099, allocations: 0 / 461.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.4101, allocations: 36.78 kB / 461.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4103, allocations: 35.97 kB / 461.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.4116, allocations: 1.374 MB / 463.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.4119, allocations: 39.88 kB / 463.3 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4119, allocations: 4 kB / 463.3 MB, free: 8.715 MB / 346.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 () * Number of clocked 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 0.0001401/0.412, allocations: 137.7 kB / 463.5 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.4121, allocations: 15.81 kB / 463.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.4122, allocations: 25.86 kB / 463.5 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4122, allocations: 0 / 463.5 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4122, allocations: 4 kB / 463.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4122, allocations: 0 / 463.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.4129, allocations: 0.5339 MB / 464 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4129, allocations: 0 / 464 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.4131, allocations: 31.98 kB / 464.1 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.4132, allocations: 32.84 kB / 464.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4132, allocations: 11.94 kB / 464.1 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.4143, allocations: 1.367 MB / 465.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4143, allocations: 4 kB / 465.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.4149, allocations: 368 kB / 465.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/0.415, allocations: 100.9 kB / 465.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.415, allocations: 7.938 kB / 466 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.4152, allocations: 28.03 kB / 466 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.4153, allocations: 19.97 kB / 466 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4153, allocations: 4 kB / 466 MB, free: 5.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.4154, allocations: 128.3 kB / 466.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4154, allocations: 0 / 466.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.4157, allocations: 55.84 kB / 466.2 MB, free: 5.621 MB / 346.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) * Number of clocked states: 0 () * 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.000168/0.4159, allocations: 111.2 kB / 466.3 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.4165, allocations: 272.1 kB / 466.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4165, allocations: 4.188 kB / 466.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.4167, allocations: 198.6 kB / 466.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.417, allocations: 30.53 kB / 466.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.4179, allocations: 0.556 MB / 467.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4182, allocations: 0.7401 MB / 468.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.975e-05/0.4183, allocations: 13.55 kB / 468.1 MB, free: 3.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.4184, allocations: 19.42 kB / 468.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of SimCode: time 3.326e-06/0.4184, allocations: 0 / 468.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of Templates: time 0.00515/0.4235, allocations: 2.168 MB / 470.3 MB, free: 1.465 MB / 346.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