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.001442/0.001442, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 66.59 kB / 306.9 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1153, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005763/0.1211, allocations: 2.556 MB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.123, allocations: 0.6855 MB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.1233, allocations: 4 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1235, allocations: 23.78 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1238, allocations: 67.52 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1241, allocations: 51.95 kB / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.1245, allocations: 250.8 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.1248, allocations: 91.3 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.125, allocations: 91.64 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1252, allocations: 107.5 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1253, allocations: 19.98 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1254, allocations: 16 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.1255, allocations: 43.83 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.1257, allocations: 111.5 kB / 361.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.126, allocations: 183.8 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.126, allocations: 0 / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.126, allocations: 4 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.126, allocations: 4 kB / 361.7 MB, free: 10.18 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.001345/0.1274, allocations: 0.5403 MB / 362.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1274, allocations: 12.03 kB / 362.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1276, allocations: 28.59 kB / 362.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.128, allocations: 231.6 kB / 362.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.128, allocations: 20.75 kB / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.1281, allocations: 16.38 kB / 362.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.1288, allocations: 242.1 kB / 362.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1288, allocations: 0 / 362.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.1289, allocations: 8 kB / 362.8 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1289, allocations: 4 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.1295, allocations: 157.6 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.1314, allocations: 0.8243 MB / 363.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.132, allocations: 158.7 kB / 363.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.1323, allocations: 80.83 kB / 364 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1324, allocations: 4 kB / 364 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1324, allocations: 30.56 kB / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.1324, allocations: 0 / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001257/0.1337, allocations: 345.3 kB / 364.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1337, allocations: 55.39 kB / 364.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.134, allocations: 168 kB / 364.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1341, allocations: 29.7 kB / 364.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1342, allocations: 156 kB / 364.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.1343, allocations: 47.27 kB / 364.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.1344, allocations: 49.56 kB / 364.9 MB, free: 6.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1346, allocations: 330.8 kB / 365.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.1348, allocations: 51.97 kB / 365.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.1351, allocations: 91.62 kB / 365.3 MB, free: 6.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.1355, allocations: 144.2 kB / 365.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1355, allocations: 0 / 365.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007492/0.1363, allocations: 216.6 kB / 365.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1363, allocations: 8 kB / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1364, allocations: 0 / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.1366, allocations: 36.83 kB / 365.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1369, allocations: 31.92 kB / 365.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.1386, allocations: 1.374 MB / 367.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.1389, allocations: 31.86 kB / 367.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.139, allocations: 8.062 kB / 367.2 MB, free: 4.277 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.0001876/0.1392, allocations: 134.8 kB / 367.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.1393, allocations: 19.8 kB / 367.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.1393, allocations: 21.88 kB / 367.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.1394, allocations: 11.88 kB / 367.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1394, allocations: 0 / 367.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1394, allocations: 0 / 367.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1405, allocations: 0.5263 MB / 367.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1406, allocations: 0 / 367.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1408, allocations: 27.92 kB / 367.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.141, allocations: 36.77 kB / 368 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.141, allocations: 0 / 368 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.1426, allocations: 1.364 MB / 369.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1426, allocations: 0 / 369.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.1436, allocations: 358.5 kB / 369.7 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.1437, allocations: 104.9 kB / 369.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1438, allocations: 0 / 369.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.1441, allocations: 23.97 kB / 369.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.1442, allocations: 19.98 kB / 369.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.1442, allocations: 15.98 kB / 369.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1444, allocations: 127.5 kB / 370 MB, free: 1.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1444, allocations: 4 kB / 370 MB, free: 1.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006233/0.1451, allocations: 59.84 kB / 370 MB, free: 1.207 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.0001616/0.1452, allocations: 95.25 kB / 370.1 MB, free: 1.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.1461, allocations: 274.3 kB / 370.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1461, allocations: 0 / 370.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.1465, allocations: 190.6 kB / 370.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.1471, allocations: 28.23 kB / 370.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1484, allocations: 0.5533 MB / 371.1 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1526/0.301, allocations: 0.7285 MB / 371.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.3011, allocations: 18.34 kB / 371.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3011, allocations: 0 / 371.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of Templates: time 0.006389/0.3075, allocations: 3.141 MB / 375 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches