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.0009248/0.0009248, allocations: 84 kB / 21.19 MB, free: 3.395 MB / 18.57 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.0008381/0.0008381, allocations: 145.1 kB / 24.54 MB, free: 44 kB / 18.57 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 0.9069/0.9069, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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 1.283e-06/1.283e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.481e-05, allocations: 6.25 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002642/0.002657, allocations: 2.548 MB / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.003579, allocations: 0.6311 MB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.0037, allocations: 4 kB / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.003881, allocations: 39.58 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.004003, allocations: 71.34 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.004306, allocations: 75.7 kB / 271.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.004588, allocations: 270.7 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.004755, allocations: 75.88 kB / 271.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.004893, allocations: 151.7 kB / 271.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.005002, allocations: 75.78 kB / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.005031, allocations: 24 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.005094, allocations: 24 kB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.005129, allocations: 55.81 kB / 272 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.005191, allocations: 83.77 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.005409, allocations: 183.3 kB / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005411, allocations: 0 / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005411, allocations: 0 / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005416, allocations: 0 / 272.3 MB, free: 2.133 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.0005866/0.006003, allocations: 0.5508 MB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.006042, allocations: 16.02 kB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.006164, allocations: 44.73 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.006353, allocations: 169.9 kB / 273 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.006369, allocations: 20.88 kB / 273.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.006402, allocations: 16.38 kB / 273.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.006705, allocations: 235.3 kB / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.006718, allocations: 192 / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.006738, allocations: 16.38 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.006749, allocations: 7.938 kB / 273.3 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.006892, allocations: 82.88 kB / 273.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.007719, allocations: 0.7813 MB / 274.2 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.007959, allocations: 123.2 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.008024, allocations: 47.66 kB / 274.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.008037, allocations: 4 kB / 274.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.008063, allocations: 41.39 kB / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.008065, allocations: 0 / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004242/0.008489, allocations: 188.7 kB / 274.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.008515, allocations: 59.41 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.008627, allocations: 214.5 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.008644, allocations: 29.7 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.008721, allocations: 195 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.008753, allocations: 55.61 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.008801, allocations: 47.36 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.008918, allocations: 0.4962 MB / 275.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.008963, allocations: 23.98 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.009031, allocations: 81.53 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.009142, allocations: 113 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009144, allocations: 0 / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002091/0.009353, allocations: 169 kB / 276 MB, free: 14.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.00937, allocations: 11.98 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009375, allocations: 0 / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.009545, allocations: 31.8 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.009627, allocations: 43.86 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008126/0.01044, allocations: 1.795 MB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.01051, allocations: 27.88 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01052, allocations: 4 kB / 278 MB, free: 12.02 MB / 266.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 8.32e-05/0.0106, allocations: 168.6 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.01063, allocations: 23.84 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.01065, allocations: 17.81 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.01065, allocations: 4 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01065, allocations: 0 / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01066, allocations: 3.984 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.01101, allocations: 444.7 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01102, allocations: 0 / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.01109, allocations: 27.92 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.332e-05/0.01117, allocations: 39.66 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01118, allocations: 0 / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007005/0.01188, allocations: 1.807 MB / 280.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01188, allocations: 4 kB / 280.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.01213, allocations: 319.3 kB / 280.8 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.01216, allocations: 23.89 kB / 280.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.01217, allocations: 4 kB / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.01224, allocations: 16.05 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.01229, allocations: 19.97 kB / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.0123, allocations: 0 / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.01236, allocations: 160.8 kB / 281 MB, free: 8.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01236, allocations: 0 / 281 MB, free: 8.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.01256, allocations: 67.83 kB / 281.1 MB, free: 8.691 MB / 266.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 7.123e-05/0.01263, allocations: 99.23 kB / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01291, allocations: 280.6 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01291, allocations: 0 / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.01303, allocations: 228.2 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01323, allocations: 22.34 kB / 281.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.01389, allocations: 418.5 kB / 282.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.01394, allocations: 79.98 kB / 282.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.01398, allocations: 13.48 kB / 282.2 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01402, allocations: 16.5 kB / 282.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01402, allocations: 0 / 282.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of Templates: time 0.004737/0.01876, allocations: 2.542 MB / 284.8 MB, free: 4.957 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] 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","",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.6799296727404]