Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001875/0.001875, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001995/0.001995, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.561e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.006522/0.006558, allocations: 2.521 MB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.008445, allocations: 0.67 MB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.008665, allocations: 7.938 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.008894, allocations: 35.66 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.009183, allocations: 79.27 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.009525, allocations: 59.91 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.01008, allocations: 274.6 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.01033, allocations: 72.78 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.01066, allocations: 151.7 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.01088, allocations: 75.78 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.01095, allocations: 23.94 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.01108, allocations: 31.92 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.01117, allocations: 51.83 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.01134, allocations: 83.83 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.01192, allocations: 267.1 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01192, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01192, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.01193, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.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.001386/0.01332, allocations: 0.5661 MB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.01336, allocations: 8.031 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.01359, allocations: 44.73 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.01404, allocations: 184.7 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.01408, allocations: 16.88 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.01414, allocations: 20.38 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.01487, allocations: 254.7 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.01489, allocations: 8.141 kB / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.01493, allocations: 12.36 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.01495, allocations: 11.94 kB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.01553, allocations: 141.9 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.01768, allocations: 0.8283 MB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.01828, allocations: 158.1 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.01853, allocations: 71.66 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.01856, allocations: 4 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.01861, allocations: 37.39 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.01861, allocations: 0 / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001284/0.01989, allocations: 253 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.01995, allocations: 51.41 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.02029, allocations: 234.6 kB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.02033, allocations: 29.7 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.02054, allocations: 203.1 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.02063, allocations: 59.55 kB / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.02077, allocations: 47.36 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003793/0.02115, allocations: 0.5001 MB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.02134, allocations: 43.92 kB / 280.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.02163, allocations: 114.3 kB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.02208, allocations: 156 kB / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02208, allocations: 0 / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008468/0.02293, allocations: 213 kB / 280.9 MB, free: 8.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.02295, allocations: 8.125 kB / 280.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.02296, allocations: 4 kB / 280.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.02327, allocations: 39.66 kB / 280.9 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.02349, allocations: 35.86 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.026, allocations: 1.865 MB / 282.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.02619, allocations: 19.88 kB / 282.9 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.02622, allocations: 12.03 kB / 282.9 MB, free: 6.816 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 0.0002361/0.02645, allocations: 172.6 kB / 283 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.02654, allocations: 27.78 kB / 283.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.02662, allocations: 25.8 kB / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02663, allocations: 0 / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.02663, allocations: 4 kB / 283.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02664, allocations: 0 / 283.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.02783, allocations: 0.5047 MB / 283.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.02784, allocations: 7.984 kB / 283.6 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.02805, allocations: 20 kB / 283.6 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.02827, allocations: 43.78 kB / 283.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.02829, allocations: 4 kB / 283.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.03095, allocations: 1.865 MB / 285.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03095, allocations: 0 / 285.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009837/0.03194, allocations: 397.4 kB / 285.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.03204, allocations: 23.89 kB / 286 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.03208, allocations: 7.984 kB / 286 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.03233, allocations: 8 kB / 286 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.03244, allocations: 23.95 kB / 286 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.03246, allocations: 4 kB / 286 MB, free: 3.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.03266, allocations: 168.8 kB / 286.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03266, allocations: 4.031 kB / 286.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000612/0.03327, allocations: 71.72 kB / 286.2 MB, free: 3.25 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 0.0001953/0.03347, allocations: 103.2 kB / 286.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008285/0.0343, allocations: 315.1 kB / 286.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.0343, allocations: 0 / 286.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.03479, allocations: 261.6 kB / 286.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.03532, allocations: 23.98 kB / 286.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.03655, allocations: 426.5 kB / 287.3 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.03675, allocations: 125.2 kB / 287.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.03686, allocations: 13.48 kB / 287.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.03693, allocations: 16.5 kB / 287.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03693, allocations: 0 / 287.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of Templates: time 0.0106/0.04753, allocations: 2.426 MB / 289.9 MB, free: 15.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_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.443339271005243]