Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001747/0.001747, allocations: 88.91 kB / 20.69 MB, free: 1.023 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.001581/0.001581, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 325 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.705e-05, allocations: 3.594 kB / 325 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005932/0.005959, allocations: 2.414 MB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.008224, allocations: 0.6483 MB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.008556, allocations: 3.156 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.008803, allocations: 34.41 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.009162, allocations: 77.42 kB / 328.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.009598, allocations: 64.73 kB / 328.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.01023, allocations: 278.4 kB / 328.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.01053, allocations: 74.47 kB / 328.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.01093, allocations: 144.8 kB / 328.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.01122, allocations: 81.84 kB / 328.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.018e-05/0.01129, allocations: 21.19 kB / 328.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.01143, allocations: 28.62 kB / 328.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.01152, allocations: 50.14 kB / 328.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.01172, allocations: 80.48 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.01237, allocations: 262.7 kB / 329.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01237, allocations: 4.906 kB / 329.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.01238, allocations: 0 / 329.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.01239, allocations: 4 kB / 329.2 MB, free: 13.89 MB / 302.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.001547/0.01393, allocations: 478.8 kB / 329.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.01398, allocations: 17.52 kB / 329.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.0142, allocations: 27.14 kB / 329.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.01484, allocations: 179.9 kB / 329.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.01488, allocations: 14.06 kB / 329.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.01495, allocations: 21.47 kB / 330 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.01574, allocations: 252.3 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.01577, allocations: 8.766 kB / 330.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.01582, allocations: 10.66 kB / 330.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.01583, allocations: 13.69 kB / 330.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/0.01654, allocations: 157.8 kB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.01857, allocations: 0.7003 MB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.01921, allocations: 142.6 kB / 331.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.01953, allocations: 80.62 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.01956, allocations: 2.969 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.01961, allocations: 35.91 kB / 331.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.01962, allocations: 0 / 331.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00145/0.02107, allocations: 247.7 kB / 331.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.02112, allocations: 53.69 kB / 331.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.02139, allocations: 170 kB / 331.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.02143, allocations: 30.86 kB / 331.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.0216, allocations: 150.6 kB / 332 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.02169, allocations: 62.58 kB / 332 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.02181, allocations: 35.25 kB / 332.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.02204, allocations: 326.3 kB / 332.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.02232, allocations: 56.92 kB / 332.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.02263, allocations: 86.48 kB / 332.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.02319, allocations: 146.3 kB / 332.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.0232, allocations: 0 / 332.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008698/0.02407, allocations: 215.1 kB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.02409, allocations: 5.312 kB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.0241, allocations: 1.062 kB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.0244, allocations: 40.42 kB / 332.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.02466, allocations: 42.23 kB / 333 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.02674, allocations: 1.332 MB / 334.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.02705, allocations: 23.91 kB / 334.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.02708, allocations: 9.516 kB / 334.3 MB, free: 9.77 MB / 302.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.0002887/0.02737, allocations: 142.5 kB / 334.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.02746, allocations: 22.52 kB / 334.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.02754, allocations: 25.23 kB / 334.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.02755, allocations: 2.219 kB / 334.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.02756, allocations: 1.156 kB / 334.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02756, allocations: 0 / 334.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.02873, allocations: 445.2 kB / 335 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.02874, allocations: 4 kB / 335 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.02898, allocations: 24.64 kB / 335 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.02916, allocations: 34.2 kB / 335 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.02919, allocations: 5.344 kB / 335 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.0311, allocations: 1.332 MB / 336.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.0311, allocations: 0 / 336.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.03219, allocations: 363.1 kB / 336.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.0323, allocations: 26.14 kB / 336.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.03234, allocations: 5.156 kB / 336.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.03268, allocations: 19.31 kB / 336.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.03278, allocations: 18.73 kB / 336.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.0328, allocations: 4.031 kB / 336.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.03296, allocations: 130.5 kB / 336.9 MB, free: 7.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.03296, allocations: 0 / 336.9 MB, free: 7.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006397/0.0336, allocations: 65.11 kB / 337 MB, free: 7.457 MB / 302.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.0001902/0.03379, allocations: 102.7 kB / 337.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008756/0.03467, allocations: 259.5 kB / 337.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03467, allocations: 4.25 kB / 337.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.03512, allocations: 185.8 kB / 337.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.03565, allocations: 25.89 kB / 337.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.0369, allocations: 407.2 kB / 337.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.03715, allocations: 125.8 kB / 338.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.03726, allocations: 12.05 kB / 338.1 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.03733, allocations: 20.52 kB / 338.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.03733, allocations: 0 / 338.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of Templates: time 0.009288/0.04662, allocations: 2.364 MB / 340.5 MB, free: 5.082 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.494861528277397]