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.00103/0.00103, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001075/0.001075, allocations: 165.5 kB / 25.32 MB, free: 9.465 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.9561/0.9561, allocations: 158.6 MB / 187.2 MB, free: 2.523 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.934e-06/1.934e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.931e-05, allocations: 2.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00315/0.00318, allocations: 2.505 MB / 253.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004308, allocations: 0.6396 MB / 254.2 MB, free: 452 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004431, allocations: 4 kB / 254.2 MB, free: 448 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.004579, allocations: 35.64 kB / 254.2 MB, free: 412 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.004722, allocations: 79.28 kB / 254.3 MB, free: 332 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.005008, allocations: 59.91 kB / 254.3 MB, free: 272 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.005293, allocations: 282.6 kB / 254.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.005472, allocations: 63.95 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.005679, allocations: 151.7 kB / 254.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005813, allocations: 79.78 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.005846, allocations: 24 kB / 254.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.005928, allocations: 24 kB / 254.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.005969, allocations: 55.75 kB / 255 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.006045, allocations: 87.81 kB / 255.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.00634, allocations: 175.4 kB / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.006345, allocations: 3.938 kB / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.006348, allocations: 0 / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.006355, allocations: 0 / 255.3 MB, free: 15.34 MB / 250.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.0007396/0.007094, allocations: 0.5508 MB / 255.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.007138, allocations: 15.92 kB / 255.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.007296, allocations: 52.72 kB / 255.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.00755, allocations: 172.1 kB / 256 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.007576, allocations: 20.88 kB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.007612, allocations: 20.38 kB / 256.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.007932, allocations: 227.4 kB / 256.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.007945, allocations: 192 / 256.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.007971, allocations: 16.38 kB / 256.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.007982, allocations: 7.938 kB / 256.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.008128, allocations: 82.88 kB / 256.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.009086, allocations: 0.7775 MB / 257.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.009343, allocations: 126.8 kB / 257.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.009413, allocations: 51.66 kB / 257.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.009427, allocations: 0 / 257.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.009455, allocations: 41.33 kB / 257.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.009456, allocations: 0 / 257.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004505/0.009907, allocations: 181.1 kB / 257.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.009962, allocations: 63.33 kB / 257.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01011, allocations: 214.6 kB / 257.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.01013, allocations: 29.7 kB / 257.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.01022, allocations: 203.1 kB / 258.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.01026, allocations: 51.55 kB / 258.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.01031, allocations: 47.36 kB / 258.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.01043, allocations: 0.4923 MB / 258.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.01048, allocations: 23.98 kB / 258.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.01055, allocations: 82.34 kB / 258.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.01066, allocations: 113.3 kB / 258.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01067, allocations: 4 kB / 258.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000228/0.01089, allocations: 165 kB / 259.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01091, allocations: 11.94 kB / 259.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01092, allocations: 0 / 259.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.01111, allocations: 35.59 kB / 259.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.0112, allocations: 40.05 kB / 259.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.01225, allocations: 1.795 MB / 260.9 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.01234, allocations: 23.86 kB / 261 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01235, allocations: 8 kB / 261 MB, free: 9.219 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 0.0001082/0.01246, allocations: 164.5 kB / 261.1 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.01249, allocations: 31.88 kB / 261.2 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.01252, allocations: 17.81 kB / 261.2 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01252, allocations: 4 kB / 261.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01253, allocations: 0 / 261.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.01253, allocations: 3.984 kB / 261.2 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.01298, allocations: 440.9 kB / 261.6 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01299, allocations: 0 / 261.6 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.01308, allocations: 23.98 kB / 261.6 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.0132, allocations: 35.66 kB / 261.7 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01321, allocations: 4 kB / 261.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009872/0.0142, allocations: 1.799 MB / 263.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0142, allocations: 4 kB / 263.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.01451, allocations: 318.1 kB / 263.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.01456, allocations: 27.89 kB / 263.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.01457, allocations: 0 / 263.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.01465, allocations: 20.05 kB / 263.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.01471, allocations: 15.97 kB / 263.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01472, allocations: 8 kB / 263.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.01479, allocations: 160.7 kB / 264 MB, free: 5.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01479, allocations: 0 / 264 MB, free: 5.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.01501, allocations: 67.78 kB / 264.1 MB, free: 5.898 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.923e-05/0.01511, allocations: 99.19 kB / 264.2 MB, free: 5.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.01547, allocations: 272.5 kB / 264.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01547, allocations: 0 / 264.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.01561, allocations: 232.9 kB / 264.7 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01584, allocations: 23.98 kB / 264.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.01675, allocations: 422.6 kB / 265.1 MB, free: 4.797 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.156e-05/0.01681, allocations: 75.98 kB / 265.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.197e-05/0.01687, allocations: 17.48 kB / 265.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.01691, allocations: 16.5 kB / 265.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01692, allocations: 0 / 265.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of Templates: time 0.005104/0.02202, allocations: 2.55 MB / 267.8 MB, free: 2.141 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.8633314198814332]