Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 208.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 227.7 MB / 247.7 MB, free: 10.41 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.55 kB / 307.9 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.108, allocations: 50.53 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.0041/0.1121, allocations: 2.503 MB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1134, allocations: 0.6855 MB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1135, allocations: 4 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.1137, allocations: 31.64 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1138, allocations: 63.42 kB / 361.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1141, allocations: 67.84 kB / 361.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1144, allocations: 266.8 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1147, allocations: 107.4 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1148, allocations: 91.72 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.115, allocations: 119.4 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.115, allocations: 20 kB / 362.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.1151, allocations: 24 kB / 362.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.1152, allocations: 51.83 kB / 362.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1153, allocations: 119.4 kB / 362.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.1157, allocations: 259.3 kB / 362.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1157, allocations: 0 / 362.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1157, allocations: 0 / 362.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1157, allocations: 0 / 362.8 MB, free: 9.562 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.001039/0.1168, allocations: 0.5498 MB / 363.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1168, allocations: 8.031 kB / 363.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1169, allocations: 28.66 kB / 363.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1172, allocations: 232.3 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1173, allocations: 20.81 kB / 363.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.1173, allocations: 20.38 kB / 363.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.1178, allocations: 230.2 kB / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1178, allocations: 0 / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1178, allocations: 8 kB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1179, allocations: 8 kB / 363.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.1183, allocations: 161.6 kB / 364.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1196, allocations: 0.8127 MB / 364.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1201, allocations: 169.1 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.1203, allocations: 76.83 kB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1203, allocations: 7.938 kB / 365.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1203, allocations: 30.56 kB / 365.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1203, allocations: 0 / 365.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000878/0.1212, allocations: 343.2 kB / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1212, allocations: 51.41 kB / 365.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1214, allocations: 178.6 kB / 365.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1215, allocations: 29.7 kB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1216, allocations: 152.1 kB / 365.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.1216, allocations: 51.27 kB / 365.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.1217, allocations: 41.61 kB / 366 MB, free: 6.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1219, allocations: 326.8 kB / 366.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.1221, allocations: 51.97 kB / 366.3 MB, free: 5.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1223, allocations: 102.4 kB / 366.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.1226, allocations: 150.7 kB / 366.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1226, allocations: 0 / 366.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004587/0.1231, allocations: 210.1 kB / 366.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1231, allocations: 10.97 kB / 366.8 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1231, allocations: 3.938 kB / 366.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.1233, allocations: 40.95 kB / 366.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1235, allocations: 39.92 kB / 366.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1248, allocations: 1.465 MB / 368.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1249, allocations: 27.8 kB / 368.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.125, allocations: 12 kB / 368.4 MB, free: 3.527 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.0001278/0.1251, allocations: 133.9 kB / 368.5 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1252, allocations: 15.81 kB / 368.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.1252, allocations: 21.88 kB / 368.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1252, allocations: 0 / 368.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1252, allocations: 0 / 368.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1252, allocations: 11.92 kB / 368.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.126, allocations: 0.5107 MB / 369.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.126, allocations: 4 kB / 369.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1262, allocations: 31.92 kB / 369.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.1263, allocations: 32.83 kB / 369.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1263, allocations: 4 kB / 369.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.1275, allocations: 1.474 MB / 370.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1275, allocations: 3.938 kB / 370.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.1282, allocations: 350.6 kB / 371 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.1283, allocations: 100.9 kB / 371.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1283, allocations: 7.984 kB / 371.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1285, allocations: 24.05 kB / 371.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.1286, allocations: 23.91 kB / 371.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1286, allocations: 0 / 371.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1287, allocations: 132.3 kB / 371.3 MB, free: 432 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1287, allocations: 0 / 371.3 MB, free: 432 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003215/0.129, allocations: 55.91 kB / 371.3 MB, free: 376 kB / 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.0001194/0.1292, allocations: 107.2 kB / 371.4 MB, free: 256 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1376/0.2668, allocations: 254.7 kB / 371.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.2668, allocations: 0 / 371.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.2672, allocations: 202.5 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.2677, allocations: 30.84 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.2686, allocations: 486.3 kB / 372.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.2688, allocations: 0.7317 MB / 373.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.2688, allocations: 17.58 kB / 373.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2688, allocations: 3.125 kB / 373.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of Templates: time 0.005719/0.2745, allocations: 3.151 MB / 376.3 MB, free: 18.89 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches