Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001755/0.001755, 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.002104/0.002104, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 56.56 kB / 379 MB, free: 2.676 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2514, allocations: 53.38 MB / 432.4 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00414/0.2555, allocations: 2.545 MB / 434.9 MB, free: 4.41 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001399/0.2569, allocations: 0.6935 MB / 435.6 MB, free: 3.711 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2571, allocations: 7.938 kB / 435.6 MB, free: 3.703 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2572, allocations: 27.66 kB / 435.7 MB, free: 3.676 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2574, allocations: 71.41 kB / 435.7 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2577, allocations: 71.84 kB / 435.8 MB, free: 3.535 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003215/0.258, allocations: 258.8 kB / 436.1 MB, free: 3.281 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.2582, allocations: 71.89 kB / 436.1 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.2583, allocations: 103.6 kB / 436.2 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2585, allocations: 111.5 kB / 436.3 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.2585, allocations: 24 kB / 436.4 MB, free: 2.973 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.2586, allocations: 28 kB / 436.4 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2586, allocations: 51.81 kB / 436.4 MB, free: 2.895 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2588, allocations: 115.5 kB / 436.6 MB, free: 2.781 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2591, allocations: 253.8 kB / 436.8 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2591, allocations: 0 / 436.8 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.462e-06/0.2591, allocations: 0 / 436.8 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.011e-06/0.2591, allocations: 4 kB / 436.8 MB, free: 2.535 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.001028/0.2602, allocations: 485.5 kB / 437.3 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2602, allocations: 12.03 kB / 437.3 MB, free: 2.02 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.2603, allocations: 28.78 kB / 437.3 MB, free: 1.992 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2607, allocations: 170.6 kB / 437.5 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2608, allocations: 16.81 kB / 437.5 MB, free: 1.781 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.2608, allocations: 28.38 kB / 437.5 MB, free: 1.754 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.2613, allocations: 226.2 kB / 437.8 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2613, allocations: 0 / 437.8 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2613, allocations: 8 kB / 437.8 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.2613, allocations: 7.938 kB / 437.8 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.2618, allocations: 161.6 kB / 437.9 MB, free: 1.352 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2633, allocations: 0.7898 MB / 438.7 MB, free: 0.5039 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.2637, allocations: 150.5 kB / 438.9 MB, free: 356 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2639, allocations: 72.77 kB / 438.9 MB, free: 280 kB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.2639, allocations: 4 kB / 438.9 MB, free: 276 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.264, allocations: 38.56 kB / 439 MB, free: 228 kB / 334.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.264, allocations: 0 / 439 MB, free: 228 kB / 334.1 MB
Notification: Performance of matching and sorting (n=16): time 0.0008783/0.2648, allocations: 261.2 kB / 439.2 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.2649, allocations: 59.39 kB / 439.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2651, allocations: 168.1 kB / 439.5 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2651, allocations: 29.7 kB / 439.5 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.2652, allocations: 156.2 kB / 439.6 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.2653, allocations: 63.44 kB / 439.7 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2654, allocations: 33.72 kB / 439.7 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001736/0.2655, allocations: 338.8 kB / 440.1 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2657, allocations: 47.97 kB / 440.1 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2659, allocations: 93.94 kB / 440.2 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.2662, allocations: 140.2 kB / 440.3 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2662, allocations: 0 / 440.3 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.000493/0.2667, allocations: 224.9 kB / 440.6 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2667, allocations: 4 kB / 440.6 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2667, allocations: 0 / 440.6 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.2669, allocations: 36.83 kB / 440.6 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.2671, allocations: 35.92 kB / 440.6 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.2685, allocations: 1.37 MB / 442 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.2687, allocations: 31.81 kB / 442 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2687, allocations: 4 kB / 442 MB, free: 12.95 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.0001745/0.2689, allocations: 129.9 kB / 442.2 MB, free: 12.81 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.2689, allocations: 19.89 kB / 442.2 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.269, allocations: 25.75 kB / 442.2 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.269, allocations: 4 kB / 442.2 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.269, allocations: 4 kB / 442.2 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.269, allocations: 3.938 kB / 442.2 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008682/0.2698, allocations: 0.4981 MB / 442.7 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2699, allocations: 0 / 442.7 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.27, allocations: 23.98 kB / 442.7 MB, free: 12.18 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.2701, allocations: 32.83 kB / 442.8 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2702, allocations: 7.938 kB / 442.8 MB, free: 12.13 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.2715, allocations: 1.358 MB / 444.1 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2715, allocations: 3.938 kB / 444.1 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.2722, allocations: 355 kB / 444.5 MB, free: 10.3 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.2722, allocations: 31.84 kB / 444.5 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2723, allocations: 7.938 kB / 444.5 MB, free: 10.26 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2725, allocations: 20.03 kB / 444.5 MB, free: 10.24 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2725, allocations: 23.97 kB / 444.6 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.2725, allocations: 0 / 444.6 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001164/0.2727, allocations: 131.5 kB / 444.7 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2727, allocations: 0 / 444.7 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003369/0.273, allocations: 59.89 kB / 444.8 MB, free: 10.03 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.0001307/0.2731, allocations: 103.2 kB / 444.9 MB, free: 9.918 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005905/0.2737, allocations: 258.4 kB / 445.1 MB, free: 9.652 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2737, allocations: 0 / 445.1 MB, free: 9.652 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000301/0.274, allocations: 186.6 kB / 445.3 MB, free: 9.457 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2743, allocations: 41.98 kB / 445.3 MB, free: 9.418 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.2752, allocations: 459.4 kB / 445.8 MB, free: 8.941 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.2757, allocations: 0.7359 MB / 446.5 MB, free: 8.18 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 8.227e-05/0.2757, allocations: 17.48 kB / 446.5 MB, free: 8.164 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2758, allocations: 15.44 kB / 446.6 MB, free: 8.148 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2758, allocations: 0 / 446.6 MB, free: 8.148 MB / 350.1 MB
Notification: Performance of Templates: time 0.006694/0.2825, allocations: 2.565 MB / 449.1 MB, free: 5.605 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.540854340419173]