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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 347.6 MB, free: 9.578 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 49.15 MB / 396.8 MB, free: 9.508 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004962/0.3272, allocations: 2.485 MB / 399.3 MB, free: 7.781 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001675/0.3288, allocations: 0.6577 MB / 399.9 MB, free: 7.309 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.329, allocations: 7.062 kB / 399.9 MB, free: 7.305 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.3292, allocations: 33.53 kB / 400 MB, free: 7.285 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3294, allocations: 69.91 kB / 400 MB, free: 7.234 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3297, allocations: 64.25 kB / 400.1 MB, free: 7.199 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003306/0.33, allocations: 261.9 kB / 400.4 MB, free: 7.07 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.3302, allocations: 81.69 kB / 400.4 MB, free: 7.027 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3304, allocations: 100.8 kB / 400.5 MB, free: 6.98 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3306, allocations: 114.3 kB / 400.7 MB, free: 6.922 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.3306, allocations: 20.22 kB / 400.7 MB, free: 6.922 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.3307, allocations: 28.78 kB / 400.7 MB, free: 6.918 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.3308, allocations: 51.23 kB / 400.8 MB, free: 6.883 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3309, allocations: 118.8 kB / 400.9 MB, free: 6.812 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000391/0.3313, allocations: 258 kB / 401.1 MB, free: 6.715 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3313, allocations: 0 / 401.1 MB, free: 6.715 MB / 318.1 MB
Notification: Performance of FrontEnd: time 2.034e-06/0.3313, allocations: 3.938 kB / 401.1 MB, free: 6.711 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 9.458e-06/0.3313, allocations: 0 / 401.1 MB, free: 6.711 MB / 318.1 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.0009452/0.3322, allocations: 484.2 kB / 401.6 MB, free: 6.344 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3323, allocations: 14.53 kB / 401.6 MB, free: 6.34 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3324, allocations: 39.41 kB / 401.6 MB, free: 6.316 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3327, allocations: 176.9 kB / 401.8 MB, free: 6.148 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3328, allocations: 17.27 kB / 401.8 MB, free: 6.141 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.3328, allocations: 23.06 kB / 401.9 MB, free: 6.133 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.3333, allocations: 236.2 kB / 402.1 MB, free: 6.008 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3333, allocations: 0 / 402.1 MB, free: 6.008 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3333, allocations: 10.19 kB / 402.1 MB, free: 6 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3333, allocations: 6.578 kB / 402.1 MB, free: 6 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3338, allocations: 155 kB / 402.3 MB, free: 5.953 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3351, allocations: 0.7713 MB / 403 MB, free: 5.391 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.3355, allocations: 147.5 kB / 403.2 MB, free: 5.324 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.3357, allocations: 80.09 kB / 403.3 MB, free: 5.289 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3357, allocations: 9.109 kB / 403.3 MB, free: 5.281 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3358, allocations: 41.72 kB / 403.3 MB, free: 5.234 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3358, allocations: 0 / 403.3 MB, free: 5.234 MB / 318.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001062/0.3368, allocations: 256 kB / 403.6 MB, free: 5.129 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3369, allocations: 54.22 kB / 403.6 MB, free: 5.066 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3371, allocations: 181 kB / 403.8 MB, free: 4.93 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3371, allocations: 26.7 kB / 403.8 MB, free: 4.898 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3372, allocations: 150.6 kB / 404 MB, free: 4.766 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3372, allocations: 60.33 kB / 404 MB, free: 4.719 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.3373, allocations: 41.38 kB / 404.1 MB, free: 4.688 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 6.308e-05/0.3374, allocations: 331.7 kB / 404.4 MB, free: 4.363 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3375, allocations: 49.52 kB / 404.4 MB, free: 4.352 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.3377, allocations: 90.41 kB / 404.5 MB, free: 4.293 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.338, allocations: 146.1 kB / 404.7 MB, free: 4.207 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.338, allocations: 0 / 404.7 MB, free: 4.207 MB / 318.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004674/0.3385, allocations: 223.2 kB / 404.9 MB, free: 4.094 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3385, allocations: 6.859 kB / 404.9 MB, free: 4.094 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3385, allocations: 1.188 kB / 404.9 MB, free: 4.094 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.3387, allocations: 37.89 kB / 404.9 MB, free: 4.074 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3389, allocations: 31.41 kB / 405 MB, free: 4.074 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.3399, allocations: 1.365 MB / 406.3 MB, free: 2.746 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.3401, allocations: 37.83 kB / 406.4 MB, free: 2.727 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3401, allocations: 5.25 kB / 406.4 MB, free: 2.727 MB / 318.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (19):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.3402, allocations: 135.3 kB / 406.5 MB, free: 2.594 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.3403, allocations: 17.53 kB / 406.5 MB, free: 2.586 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.3403, allocations: 23.77 kB / 406.5 MB, free: 2.566 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3403, allocations: 1.25 kB / 406.5 MB, free: 2.566 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3403, allocations: 0 / 406.5 MB, free: 2.566 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3403, allocations: 6.891 kB / 406.5 MB, free: 2.562 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.3411, allocations: 0.4987 MB / 407 MB, free: 2.188 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3411, allocations: 0 / 407 MB, free: 2.188 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3413, allocations: 24.2 kB / 407.1 MB, free: 2.188 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.3414, allocations: 32.86 kB / 407.1 MB, free: 2.172 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3414, allocations: 1.875 kB / 407.1 MB, free: 2.172 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/0.3423, allocations: 1.357 MB / 408.5 MB, free: 0.8555 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3423, allocations: 9.719 kB / 408.5 MB, free: 0.8477 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.3429, allocations: 354.7 kB / 408.8 MB, free: 0.625 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.343, allocations: 27.25 kB / 408.8 MB, free: 0.6094 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.343, allocations: 2.344 kB / 408.8 MB, free: 0.6094 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3432, allocations: 25.17 kB / 408.9 MB, free: 0.6016 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.3433, allocations: 18.84 kB / 408.9 MB, free: 0.5977 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3433, allocations: 4.25 kB / 408.9 MB, free: 0.5977 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 9.728e-05/0.3434, allocations: 127.5 kB / 409 MB, free: 0.5078 MB / 318.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 0 / 409 MB, free: 0.5078 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0004063/0.3438, allocations: 57.27 kB / 409.1 MB, free: 0.4961 MB / 318.1 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 (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001041/0.3439, allocations: 106.5 kB / 409.2 MB, free: 408 kB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006468/0.3446, allocations: 262.1 kB / 409.4 MB, free: 240 kB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3446, allocations: 1.375 kB / 409.4 MB, free: 240 kB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000276/0.3448, allocations: 183.2 kB / 409.6 MB, free: 104 kB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3452, allocations: 40.48 kB / 409.6 MB, free: 80 kB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3463, allocations: 457.3 kB / 410.1 MB, free: 15.76 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.3469, allocations: 0.737 MB / 410.8 MB, free: 15.06 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 9.689e-05/0.347, allocations: 16.11 kB / 410.8 MB, free: 15.05 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.3471, allocations: 15.69 kB / 410.9 MB, free: 15.05 MB / 334.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.3471, allocations: 0 / 410.9 MB, free: 15.05 MB / 334.1 MB
Notification: Performance of Templates: time 0.008024/0.3551, allocations: 2.573 MB / 413.4 MB, free: 14.25 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.693494483828545]