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.001368/0.001368, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.25 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09698, allocations: 50.53 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004029/0.101, allocations: 2.514 MB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1026, allocations: 0.6816 MB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1029, allocations: 4 kB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1031, allocations: 31.66 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1033, allocations: 71.34 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1036, allocations: 71.84 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.1039, allocations: 254.9 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1042, allocations: 115.4 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1043, allocations: 91.66 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1045, allocations: 111.5 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1046, allocations: 20 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.1047, allocations: 27.98 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.1047, allocations: 51.83 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1049, allocations: 119.4 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1052, allocations: 259.3 kB / 361.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1052, allocations: 4 kB / 361.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1052, allocations: 0 / 361.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1052, allocations: 0 / 361.9 MB, free: 9.715 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.001071/0.1063, allocations: 0.542 MB / 362.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1064, allocations: 12.03 kB / 362.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1065, allocations: 24.66 kB / 362.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1068, allocations: 231.6 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1068, allocations: 16.81 kB / 362.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.1069, allocations: 20.38 kB / 362.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.1073, allocations: 238.1 kB / 362.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1073, allocations: 0 / 362.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1074, allocations: 8 kB / 362.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1074, allocations: 4 kB / 362.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.1078, allocations: 153.7 kB / 363.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.1091, allocations: 0.8243 MB / 363.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.1095, allocations: 162.7 kB / 364.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1097, allocations: 84.7 kB / 364.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1097, allocations: 3.938 kB / 364.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1097, allocations: 34.56 kB / 364.2 MB, free: 7.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.1097, allocations: 0 / 364.2 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008736/0.1106, allocations: 341.7 kB / 364.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.1106, allocations: 55.41 kB / 364.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1108, allocations: 174.6 kB / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1108, allocations: 33.7 kB / 364.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.1109, allocations: 140.1 kB / 364.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.111, allocations: 59.25 kB / 365 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1111, allocations: 41.62 kB / 365 MB, free: 6.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1112, allocations: 330.8 kB / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1113, allocations: 51.97 kB / 365.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1115, allocations: 95.25 kB / 365.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.1118, allocations: 144.1 kB / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1119, allocations: 0 / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004815/0.1123, allocations: 224.6 kB / 365.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1124, allocations: 4 kB / 365.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1124, allocations: 4 kB / 365.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.1126, allocations: 36.77 kB / 365.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1127, allocations: 31.98 kB / 365.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.114, allocations: 1.477 MB / 367.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1142, allocations: 31.77 kB / 367.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1143, allocations: 8 kB / 367.4 MB, free: 3.688 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.0001267/0.1144, allocations: 133.7 kB / 367.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.1145, allocations: 19.8 kB / 367.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.1145, allocations: 25.94 kB / 367.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1145, allocations: 4 kB / 367.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1145, allocations: 0 / 367.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1145, allocations: 3.938 kB / 367.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.1153, allocations: 0.5185 MB / 368.1 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1153, allocations: 0 / 368.1 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1155, allocations: 23.98 kB / 368.2 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.1156, allocations: 36.83 kB / 368.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1156, allocations: 8 kB / 368.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1167, allocations: 1.461 MB / 369.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1167, allocations: 3.938 kB / 369.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.1173, allocations: 352.1 kB / 370 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.1174, allocations: 108.8 kB / 370.1 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1174, allocations: 4 kB / 370.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1177, allocations: 23.97 kB / 370.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.1177, allocations: 19.91 kB / 370.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1177, allocations: 12.06 kB / 370.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1178, allocations: 128.3 kB / 370.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1179, allocations: 0 / 370.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003286/0.1182, allocations: 55.91 kB / 370.4 MB, free: 0.5195 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.0001111/0.1183, allocations: 103.1 kB / 370.5 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.1189, allocations: 265.5 kB / 370.7 MB, free: 140 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1189, allocations: 0 / 370.7 MB, free: 140 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1444/0.2633, allocations: 193.1 kB / 370.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.2638, allocations: 28.77 kB / 370.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.2647, allocations: 459.3 kB / 371.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2648, allocations: 0.7328 MB / 372.1 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.2649, allocations: 18.47 kB / 372.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.265, allocations: 16.23 kB / 372.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.265, allocations: 0 / 372.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of Templates: time 0.006002/0.271, allocations: 2.425 MB / 374.6 MB, free: 19.26 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