Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 59.91 kB / 378.7 MB, free: 2.805 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2325, allocations: 53.37 MB / 432.1 MB, free: 7.105 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004146/0.2366, allocations: 2.547 MB / 434.7 MB, free: 4.551 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001255/0.2379, allocations: 0.6857 MB / 435.3 MB, free: 3.859 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.238, allocations: 7.938 kB / 435.3 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.2382, allocations: 39.64 kB / 435.4 MB, free: 3.812 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.2383, allocations: 67.34 kB / 435.5 MB, free: 3.746 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2385, allocations: 63.92 kB / 435.5 MB, free: 3.684 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003546/0.2389, allocations: 270.8 kB / 435.8 MB, free: 3.418 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2391, allocations: 75.7 kB / 435.9 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2392, allocations: 99.69 kB / 435.9 MB, free: 3.246 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.2394, allocations: 115.4 kB / 436.1 MB, free: 3.133 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2394, allocations: 27.94 kB / 436.1 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.2395, allocations: 20 kB / 436.1 MB, free: 3.086 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.2395, allocations: 47.84 kB / 436.2 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2397, allocations: 119.5 kB / 436.3 MB, free: 2.922 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00033/0.24, allocations: 252.8 kB / 436.5 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.24, allocations: 0 / 436.5 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.062e-06/0.24, allocations: 4 kB / 436.5 MB, free: 2.676 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.288e-06/0.24, allocations: 3.938 kB / 436.5 MB, free: 2.672 MB / 334.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.00099/0.241, allocations: 489.6 kB / 437 MB, free: 2.164 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.241, allocations: 12.03 kB / 437 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2411, allocations: 24.8 kB / 437 MB, free: 2.129 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2415, allocations: 177.6 kB / 437.2 MB, free: 1.934 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2415, allocations: 12.81 kB / 437.2 MB, free: 1.918 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.2415, allocations: 24.38 kB / 437.2 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.242, allocations: 230.2 kB / 437.5 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.242, allocations: 3.938 kB / 437.5 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.242, allocations: 15.98 kB / 437.5 MB, free: 1.641 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2421, allocations: 4 kB / 437.5 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.2425, allocations: 153.7 kB / 437.6 MB, free: 1.488 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.2438, allocations: 0.7859 MB / 438.4 MB, free: 0.6445 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.2443, allocations: 150.6 kB / 438.6 MB, free: 500 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.2445, allocations: 68.83 kB / 438.6 MB, free: 428 kB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2445, allocations: 0 / 438.6 MB, free: 428 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2445, allocations: 34.56 kB / 438.7 MB, free: 384 kB / 334.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.2445, allocations: 3.938 kB / 438.7 MB, free: 380 kB / 334.1 MB
Notification: Performance of matching and sorting (n=16): time 0.0009121/0.2454, allocations: 262.2 kB / 438.9 MB, free: 108 kB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2455, allocations: 59.41 kB / 439 MB, free: 36 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2457, allocations: 172.1 kB / 439.2 MB, free: 15.85 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.2457, allocations: 37.7 kB / 439.2 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2458, allocations: 148.3 kB / 439.3 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.2459, allocations: 59.53 kB / 439.4 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.246, allocations: 33.72 kB / 439.4 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001678/0.2461, allocations: 334.8 kB / 439.8 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.2463, allocations: 51.97 kB / 439.8 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.2465, allocations: 99.81 kB / 439.9 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2468, allocations: 140.2 kB / 440.1 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2468, allocations: 3.938 kB / 440.1 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005168/0.2473, allocations: 224.6 kB / 440.3 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2474, allocations: 4 kB / 440.3 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2474, allocations: 0 / 440.3 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.2476, allocations: 32.95 kB / 440.3 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2477, allocations: 43.92 kB / 440.4 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.2491, allocations: 1.362 MB / 441.7 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2493, allocations: 35.84 kB / 441.8 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2494, allocations: 4 kB / 441.8 MB, free: 13.08 MB / 350.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.0001409/0.2495, allocations: 129.8 kB / 441.9 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.2496, allocations: 19.91 kB / 441.9 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.2496, allocations: 25.86 kB / 441.9 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2496, allocations: 4 kB / 441.9 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2496, allocations: 0 / 441.9 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2496, allocations: 3.938 kB / 441.9 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.2505, allocations: 0.4941 MB / 442.4 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2505, allocations: 0 / 442.4 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.2506, allocations: 23.98 kB / 442.5 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.2507, allocations: 32.84 kB / 442.5 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2508, allocations: 7.984 kB / 442.5 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.2521, allocations: 1.366 MB / 443.9 MB, free: 10.8 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2521, allocations: 3.938 kB / 443.9 MB, free: 10.8 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/0.2528, allocations: 355.4 kB / 444.2 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.2528, allocations: 27.86 kB / 444.2 MB, free: 10.41 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2529, allocations: 7.938 kB / 444.2 MB, free: 10.4 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2531, allocations: 23.97 kB / 444.3 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2531, allocations: 15.97 kB / 444.3 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2532, allocations: 4 kB / 444.3 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001204/0.2533, allocations: 127.5 kB / 444.4 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.2533, allocations: 4.062 kB / 444.4 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003411/0.2536, allocations: 63.89 kB / 444.5 MB, free: 10.16 MB / 350.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.0001253/0.2537, allocations: 103.2 kB / 444.6 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005775/0.2543, allocations: 246.5 kB / 444.8 MB, free: 9.801 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2543, allocations: 4.25 kB / 444.8 MB, free: 9.797 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.2546, allocations: 190.5 kB / 445 MB, free: 9.598 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.255, allocations: 39.86 kB / 445 MB, free: 9.559 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.2558, allocations: 459.3 kB / 445.5 MB, free: 9.082 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2562, allocations: 0.7359 MB / 446.2 MB, free: 8.32 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.851e-05/0.2563, allocations: 17.48 kB / 446.2 MB, free: 8.305 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.2563, allocations: 15.44 kB / 446.3 MB, free: 8.289 MB / 350.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.2563, allocations: 0 / 446.3 MB, free: 8.289 MB / 350.1 MB
Notification: Performance of Templates: time 0.006642/0.263, allocations: 2.565 MB / 448.8 MB, free: 5.75 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.622235025279224]