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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000927/0.000927, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 167.7 kB / 25.7 MB, free: 8.438 MB / 18.57 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 0.882/0.882, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.11e-05, allocations: 2.312 kB / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004/0.004031, allocations: 2.487 MB / 254 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.005424, allocations: 0.6512 MB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005555, allocations: 4 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.005708, allocations: 39.64 kB / 254.7 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.005887, allocations: 71.28 kB / 254.8 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.006168, allocations: 63.84 kB / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.006504, allocations: 282.6 kB / 255.1 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.006681, allocations: 78.52 kB / 255.2 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.006902, allocations: 147.7 kB / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.007053, allocations: 83.7 kB / 255.4 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.00709, allocations: 20 kB / 255.4 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.007168, allocations: 24 kB / 255.4 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.00722, allocations: 55.81 kB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.007315, allocations: 79.83 kB / 255.6 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.007615, allocations: 179.3 kB / 255.7 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.007617, allocations: 4 kB / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007619, allocations: 0 / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.007625, allocations: 0 / 255.7 MB, free: 3.035 MB / 234.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.0006927/0.008317, allocations: 440.3 kB / 256.2 MB, free: 2.578 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.008357, allocations: 11.98 kB / 256.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.008511, allocations: 48.78 kB / 256.2 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.008727, allocations: 153.4 kB / 256.4 MB, free: 2.344 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.008748, allocations: 20.88 kB / 256.4 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.008788, allocations: 20.38 kB / 256.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.009109, allocations: 213.7 kB / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.009122, allocations: 192 / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.009145, allocations: 12.38 kB / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.009155, allocations: 7.938 kB / 256.7 MB, free: 2.051 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.009303, allocations: 61.41 kB / 256.7 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.01026, allocations: 0.5767 MB / 257.3 MB, free: 1.379 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.01049, allocations: 98.52 kB / 257.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.01055, allocations: 32.84 kB / 257.4 MB, free: 1.238 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.01057, allocations: 4 kB / 257.4 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.0106, allocations: 42.55 kB / 257.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.0106, allocations: 0 / 257.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004404/0.01104, allocations: 146.3 kB / 257.6 MB, free: 1.031 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.01107, allocations: 59.34 kB / 257.7 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.0112, allocations: 159.2 kB / 257.8 MB, free: 0.793 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.01123, allocations: 29.7 kB / 257.8 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.01131, allocations: 140.3 kB / 258 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.01135, allocations: 55.47 kB / 258 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.01142, allocations: 45.69 kB / 258.1 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01152, allocations: 330.8 kB / 258.4 MB, free: 184 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.01156, allocations: 19.92 kB / 258.4 MB, free: 164 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.01162, allocations: 52.27 kB / 258.5 MB, free: 96 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.01176, allocations: 92.08 kB / 258.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.01176, allocations: 3.938 kB / 258.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002348/0.012, allocations: 133.9 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01201, allocations: 8 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01202, allocations: 0 / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.0122, allocations: 20.84 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01232, allocations: 39.92 kB / 258.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008813/0.0132, allocations: 1.217 MB / 260 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.01326, allocations: 19.98 kB / 260 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.01327, allocations: 11.98 kB / 260 MB, free: 14.44 MB / 250.7 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 7.289e-05/0.01334, allocations: 121.8 kB / 260.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.01337, allocations: 15.98 kB / 260.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.01339, allocations: 25.75 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.0134, allocations: 4 kB / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.0134, allocations: 0 / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.0134, allocations: 0 / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.0137, allocations: 311.4 kB / 260.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0137, allocations: 0 / 260.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.01378, allocations: 19.98 kB / 260.5 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.01385, allocations: 32.83 kB / 260.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.01386, allocations: 0 / 260.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000558/0.01442, allocations: 1.206 MB / 261.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01442, allocations: 4.031 kB / 261.7 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.01462, allocations: 235.9 kB / 262 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.01465, allocations: 15.84 kB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.01467, allocations: 15.92 kB / 262 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.01474, allocations: 8 kB / 262 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.01478, allocations: 23.89 kB / 262 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01479, allocations: 4 kB / 262 MB, free: 12.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.056e-05/0.01482, allocations: 38.45 kB / 262.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01482, allocations: 4.031 kB / 262.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.015, allocations: 63.84 kB / 262.1 MB, free: 12.16 MB / 250.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 (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 9.272e-05/0.0151, allocations: 84.34 kB / 262.2 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01531, allocations: 193.9 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.01531, allocations: 4 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.01541, allocations: 163.3 kB / 262.6 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.01558, allocations: 36.17 kB / 262.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.01623, allocations: 412.7 kB / 263 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.01627, allocations: 79.98 kB / 263.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.01633, allocations: 17.48 kB / 263.1 MB, free: 11.1 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.01641, allocations: 79.34 kB / 263.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01641, allocations: 0 / 263.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of Templates: time 0.004398/0.02081, allocations: 2.536 MB / 265.7 MB, free: 8.516 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.751976501662284]