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.0007791/0.0007792, allocations: 99.12 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008742/0.0008742, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001979/0.0001979, allocations: 4 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08515, allocations: 51.53 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002295/0.08748, allocations: 2.12 MB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.08839, allocations: 0.6509 MB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.0885, allocations: 4 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.08861, allocations: 19.78 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.08873, allocations: 59.52 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.08893, allocations: 51.89 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.08918, allocations: 238.9 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.08935, allocations: 81.27 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.08946, allocations: 79.72 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.08959, allocations: 95.53 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.08962, allocations: 16 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.0897, allocations: 16 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.08974, allocations: 35.84 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.0898, allocations: 65.58 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.09, allocations: 183.7 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.09001, allocations: 0 / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09002, allocations: 0 / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.09003, allocations: 0 / 362.3 MB, free: 9.914 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.0007909/0.09083, allocations: 0.5262 MB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.09086, allocations: 8.031 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.873e-05/0.09097, allocations: 27.72 kB / 362.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.0912, allocations: 224.3 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.09122, allocations: 16.44 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.09126, allocations: 27.94 kB / 363.1 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.09168, allocations: 233.8 kB / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.0917, allocations: 0 / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.09173, allocations: 12 kB / 363.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.09175, allocations: 7.984 kB / 363.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.09212, allocations: 169.6 kB / 363.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.0933, allocations: 0.8283 MB / 364.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.09367, allocations: 166.5 kB / 364.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.09385, allocations: 76.83 kB / 364.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.09388, allocations: 4 kB / 364.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.09391, allocations: 42.55 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.09391, allocations: 0 / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008005/0.09472, allocations: 353.3 kB / 365 MB, free: 7.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.09476, allocations: 55.41 kB / 365.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.09491, allocations: 175.2 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.09494, allocations: 33.7 kB / 365.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.09503, allocations: 148.1 kB / 365.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.09508, allocations: 55.2 kB / 365.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.0951, allocations: 4 kB / 365.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.0952, allocations: 322.8 kB / 365.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.09535, allocations: 56.34 kB / 365.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.09552, allocations: 104.9 kB / 366 MB, free: 6.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.09567, allocations: 63.91 kB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.09568, allocations: 0 / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004276/0.09611, allocations: 222.2 kB / 366.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.09614, allocations: 10.84 kB / 366.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.09615, allocations: 4 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.09633, allocations: 36.83 kB / 366.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.09649, allocations: 31.98 kB / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.09756, allocations: 1.378 MB / 367.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.09774, allocations: 39.91 kB / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.09776, allocations: 8 kB / 367.7 MB, free: 4.078 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 ($PRE.onOffController.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.09788, allocations: 138.8 kB / 367.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.09793, allocations: 15.81 kB / 367.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.09798, allocations: 25.86 kB / 367.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.09799, allocations: 0 / 367.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.09799, allocations: 0 / 367.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.098, allocations: 0 / 367.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.0987, allocations: 0.5264 MB / 368.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.09872, allocations: 0 / 368.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.09887, allocations: 35.98 kB / 368.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.09899, allocations: 40.72 kB / 368.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.09901, allocations: 11.94 kB / 368.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009472/0.09997, allocations: 1.355 MB / 369.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.09998, allocations: 3.938 kB / 369.9 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.1006, allocations: 370.8 kB / 370.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1007, allocations: 96.94 kB / 370.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1007, allocations: 8 kB / 370.3 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.1009, allocations: 28.03 kB / 370.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.101, allocations: 19.92 kB / 370.4 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.101, allocations: 7.984 kB / 370.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.064e-05/0.1011, allocations: 123.2 kB / 370.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1011, allocations: 0 / 370.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.1014, allocations: 59.84 kB / 370.6 MB, free: 0.9922 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001077/0.1015, allocations: 99.25 kB / 370.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.102, allocations: 270.4 kB / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.102, allocations: 0 / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.1023, allocations: 206.8 kB / 371.1 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1026, allocations: 28.12 kB / 371.2 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1482/0.2508, allocations: 0.5554 MB / 371.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.251, allocations: 0.7386 MB / 372.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.2511, allocations: 13.95 kB / 372.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.2512, allocations: 15.22 kB / 372.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2512, allocations: 3.969 kB / 372.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005279/0.2565, allocations: 2.111 MB / 374.6 MB, free: 18.58 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