Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001427/0.001427, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001456/0.001456, allocations: 187.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 47.91 kB / 370.9 MB, free: 9.449 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2491, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004195/0.2533, allocations: 2.527 MB / 425.6 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001251/0.2546, allocations: 0.6545 MB / 426.3 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.2547, allocations: 4 kB / 426.3 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.2549, allocations: 31.64 kB / 426.3 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.255, allocations: 71.3 kB / 426.4 MB, free: 11.37 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.2553, allocations: 75.84 kB / 426.5 MB, free: 11.3 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000326/0.2556, allocations: 266.8 kB / 426.7 MB, free: 11.04 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2558, allocations: 76.73 kB / 426.8 MB, free: 10.95 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.256, allocations: 99.66 kB / 426.9 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.2561, allocations: 111.5 kB / 427 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.2562, allocations: 20 kB / 427 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.2563, allocations: 24 kB / 427.1 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2563, allocations: 51.83 kB / 427.1 MB, free: 10.65 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.2565, allocations: 119.4 kB / 427.2 MB, free: 10.54 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.2569, allocations: 260.2 kB / 427.5 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2569, allocations: 0 / 427.5 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.2569, allocations: 0 / 427.5 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.153e-06/0.2569, allocations: 0 / 427.5 MB, free: 10.29 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.001053/0.2579, allocations: 497.5 kB / 428 MB, free: 9.773 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.258, allocations: 12.03 kB / 428 MB, free: 9.762 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.2581, allocations: 24.8 kB / 428 MB, free: 9.738 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.2585, allocations: 170.6 kB / 428.2 MB, free: 9.547 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2585, allocations: 16.81 kB / 428.2 MB, free: 9.527 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.2586, allocations: 24.38 kB / 428.2 MB, free: 9.504 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.2591, allocations: 230.1 kB / 428.4 MB, free: 9.266 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2591, allocations: 4 kB / 428.4 MB, free: 9.262 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.2591, allocations: 8 kB / 428.4 MB, free: 9.254 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2591, allocations: 4 kB / 428.4 MB, free: 9.25 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.2595, allocations: 153.7 kB / 428.6 MB, free: 9.102 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.261, allocations: 0.7859 MB / 429.4 MB, free: 8.258 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.2614, allocations: 150.6 kB / 429.5 MB, free: 8.102 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.2616, allocations: 76.75 kB / 429.6 MB, free: 8.023 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2616, allocations: 0 / 429.6 MB, free: 8.023 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.2617, allocations: 38.56 kB / 429.6 MB, free: 7.977 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.2617, allocations: 3.938 kB / 429.6 MB, free: 7.973 MB / 334.1 MB
Notification: Performance of matching and sorting (n=16): time 0.0009815/0.2627, allocations: 261.7 kB / 429.9 MB, free: 7.711 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2627, allocations: 55.41 kB / 430 MB, free: 7.645 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.263, allocations: 171.3 kB / 430.1 MB, free: 7.465 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.263, allocations: 29.7 kB / 430.2 MB, free: 7.43 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.2632, allocations: 156.3 kB / 430.3 MB, free: 7.273 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.2632, allocations: 55.66 kB / 430.4 MB, free: 7.219 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.2633, allocations: 37.7 kB / 430.4 MB, free: 7.176 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001681/0.2635, allocations: 330.8 kB / 430.7 MB, free: 6.844 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2636, allocations: 47.97 kB / 430.8 MB, free: 6.797 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2639, allocations: 96.25 kB / 430.9 MB, free: 6.688 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.2642, allocations: 136.2 kB / 431 MB, free: 6.539 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2642, allocations: 0 / 431 MB, free: 6.539 MB / 334.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005248/0.2647, allocations: 225.1 kB / 431.2 MB, free: 6.312 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2647, allocations: 8 kB / 431.2 MB, free: 6.305 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2647, allocations: 4 kB / 431.2 MB, free: 6.301 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.2649, allocations: 36.78 kB / 431.3 MB, free: 6.262 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2651, allocations: 35.97 kB / 431.3 MB, free: 6.227 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.2665, allocations: 1.363 MB / 432.7 MB, free: 4.746 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.2668, allocations: 47.84 kB / 432.7 MB, free: 4.699 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2668, allocations: 4 kB / 432.7 MB, free: 4.695 MB / 334.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.0001526/0.267, allocations: 136.3 kB / 432.8 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.267, allocations: 15.91 kB / 432.9 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.2671, allocations: 25.8 kB / 432.9 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2671, allocations: 4 kB / 432.9 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2671, allocations: 4 kB / 432.9 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2671, allocations: 3.938 kB / 432.9 MB, free: 4.496 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.2679, allocations: 494.1 kB / 433.4 MB, free: 3.961 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2679, allocations: 4 kB / 433.4 MB, free: 3.957 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.2681, allocations: 27.97 kB / 433.4 MB, free: 3.93 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.2682, allocations: 28.84 kB / 433.4 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2682, allocations: 4 kB / 433.4 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.2695, allocations: 1.366 MB / 434.8 MB, free: 2.418 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2695, allocations: 3.938 kB / 434.8 MB, free: 2.414 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.2702, allocations: 344.1 kB / 435.1 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.2702, allocations: 35.94 kB / 435.2 MB, free: 2.023 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.2703, allocations: 8.125 kB / 435.2 MB, free: 2.016 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2705, allocations: 15.98 kB / 435.2 MB, free: 2 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.2705, allocations: 23.94 kB / 435.2 MB, free: 1.977 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2706, allocations: 4 kB / 435.2 MB, free: 1.973 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001184/0.2707, allocations: 131.2 kB / 435.4 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2707, allocations: 0 / 435.4 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003339/0.271, allocations: 63.83 kB / 435.4 MB, free: 1.781 MB / 334.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.000131/0.2711, allocations: 107.2 kB / 435.5 MB, free: 1.668 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005833/0.2717, allocations: 254.5 kB / 435.8 MB, free: 1.406 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2717, allocations: 0 / 435.8 MB, free: 1.406 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.272, allocations: 190.8 kB / 436 MB, free: 1.207 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.2723, allocations: 27.92 kB / 436 MB, free: 1.18 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.2732, allocations: 478.6 kB / 436.5 MB, free: 0.6875 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.2737, allocations: 0.736 MB / 437.2 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.284e-05/0.2737, allocations: 9.484 kB / 437.2 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.2738, allocations: 19.44 kB / 437.2 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.2738, allocations: 7.938 kB / 437.2 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of Templates: time 0.006677/0.2805, allocations: 2.564 MB / 439.8 MB, free: 13.35 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.602577654644847]