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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.77 kB / 306.3 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09259, allocations: 50.54 MB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003351/0.09598, allocations: 2.555 MB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.097, allocations: 0.6739 MB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.09712, allocations: 4 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.09726, allocations: 23.77 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.09739, allocations: 59.55 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.0976, allocations: 59.88 kB / 360.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.09785, allocations: 250.9 kB / 360.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.09803, allocations: 91.28 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.09814, allocations: 99.58 kB / 360.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.09828, allocations: 103.5 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.09832, allocations: 16 kB / 360.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.09841, allocations: 19.98 kB / 360.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.09845, allocations: 43.83 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.09856, allocations: 111.4 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.0988, allocations: 251.3 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09881, allocations: 0 / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.09882, allocations: 0 / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.09883, allocations: 7.938 kB / 361.1 MB, free: 10.11 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.0009401/0.09978, allocations: 0.5445 MB / 361.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.09983, allocations: 8.031 kB / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.09996, allocations: 28.66 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1002, allocations: 235.8 kB / 361.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1003, allocations: 16.81 kB / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1003, allocations: 16.38 kB / 362 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.1007, allocations: 234.1 kB / 362.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1007, allocations: 4 kB / 362.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.1008, allocations: 8 kB / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1008, allocations: 8 kB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.1012, allocations: 153.7 kB / 362.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1024, allocations: 0.8165 MB / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.1028, allocations: 170.6 kB / 363.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.103, allocations: 84.75 kB / 363.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.103, allocations: 8 kB / 363.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.103, allocations: 30.56 kB / 363.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.103, allocations: 0 / 363.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008621/0.1039, allocations: 341.5 kB / 363.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1039, allocations: 55.41 kB / 363.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1041, allocations: 172 kB / 364 MB, free: 6.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1041, allocations: 29.7 kB / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1043, allocations: 148 kB / 364.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.1043, allocations: 47.27 kB / 364.3 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.1044, allocations: 49.55 kB / 364.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1045, allocations: 334.8 kB / 364.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1047, allocations: 55.95 kB / 364.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1048, allocations: 80.27 kB / 364.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.1052, allocations: 144.2 kB / 364.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1052, allocations: 4 kB / 364.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004388/0.1056, allocations: 220.8 kB / 365.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1056, allocations: 8 kB / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1056, allocations: 0 / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.1058, allocations: 36.78 kB / 365.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.106, allocations: 35.97 kB / 365.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.107, allocations: 1.367 MB / 366.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1072, allocations: 35.78 kB / 366.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1073, allocations: 8 kB / 366.6 MB, free: 4.191 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.0001199/0.1074, allocations: 142.8 kB / 366.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.1074, allocations: 15.81 kB / 366.8 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.1075, allocations: 25.86 kB / 366.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1075, allocations: 4 kB / 366.8 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1075, allocations: 4 kB / 366.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1075, allocations: 0 / 366.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.1082, allocations: 0.5186 MB / 367.3 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1082, allocations: 3.984 kB / 367.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1084, allocations: 27.98 kB / 367.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.1085, allocations: 32.78 kB / 367.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1085, allocations: 0 / 367.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009954/0.1095, allocations: 1.364 MB / 368.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1096, allocations: 0 / 368.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.1102, allocations: 352 kB / 369.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.1103, allocations: 96.94 kB / 369.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1103, allocations: 11.98 kB / 369.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1105, allocations: 19.98 kB / 369.2 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.1106, allocations: 19.91 kB / 369.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1106, allocations: 8.062 kB / 369.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.1107, allocations: 135.5 kB / 369.4 MB, free: 1.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1107, allocations: 0 / 369.4 MB, free: 1.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.111, allocations: 67.78 kB / 369.4 MB, free: 1.125 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.0001163/0.1112, allocations: 99.19 kB / 369.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.1117, allocations: 269.2 kB / 369.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1117, allocations: 0 / 369.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.112, allocations: 190.6 kB / 370 MB, free: 0.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1124, allocations: 27.98 kB / 370 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.168/0.2804, allocations: 0.5238 MB / 370.5 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2806, allocations: 0.7311 MB / 371.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.2807, allocations: 18.5 kB / 371.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.2808, allocations: 15.72 kB / 371.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2808, allocations: 0 / 371.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006024/0.2868, allocations: 2.21 MB / 373.5 MB, free: 19.53 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches