Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009729/0.0009728, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 90.61 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.299e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1274, allocations: 50.41 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4803, allocations: 78.73 MB / 466.2 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4806, allocations: 67.97 kB / 466.2 MB, free: 80 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.4907, allocations: 3.902 MB / 470.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4907, allocations: 0 / 470.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4907, allocations: 4 kB / 470.1 MB, free: 12.16 MB / 346.7 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.0007113/0.4915, allocations: 494.9 kB / 470.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4915, allocations: 12.03 kB / 470.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.4916, allocations: 23.72 kB / 470.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4919, allocations: 222.7 kB / 470.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4919, allocations: 4 kB / 470.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.492, allocations: 12 kB / 470.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000245/0.4922, allocations: 124.8 kB / 471 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.4926, allocations: 181.7 kB / 471.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4926, allocations: 0 / 471.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4926, allocations: 3.984 kB / 471.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4927, allocations: 4 kB / 471.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.4938, allocations: 0.7656 MB / 472 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.4941, allocations: 134.7 kB / 472.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.4942, allocations: 60.8 kB / 472.2 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.4942, allocations: 8 kB / 472.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4943, allocations: 42.42 kB / 472.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.4943, allocations: 0 / 472.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003548/0.4946, allocations: 148.5 kB / 472.4 MB, free: 9.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.4947, allocations: 51.41 kB / 472.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4948, allocations: 141.3 kB / 472.5 MB, free: 9.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.4948, allocations: 25.7 kB / 472.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.4949, allocations: 156.1 kB / 472.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.4949, allocations: 43.27 kB / 472.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.495, allocations: 0 / 472.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.4951, allocations: 330.8 kB / 473.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.4951, allocations: 36.38 kB / 473.1 MB, free: 8.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.4952, allocations: 66.05 kB / 473.2 MB, free: 8.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.4953, allocations: 41.08 kB / 473.2 MB, free: 8.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4953, allocations: 0 / 473.2 MB, free: 8.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002724/0.4956, allocations: 167.6 kB / 473.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4956, allocations: 8 kB / 473.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4956, allocations: 3.938 kB / 473.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.4958, allocations: 32.94 kB / 473.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.496, allocations: 35.97 kB / 473.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009971/0.497, allocations: 1.315 MB / 474.8 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.4972, allocations: 35.84 kB / 474.8 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4972, allocations: 4 kB / 474.8 MB, free: 7.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001051/0.4973, allocations: 105 kB / 474.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.4973, allocations: 23.83 kB / 475 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.4974, allocations: 16.75 kB / 475 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4974, allocations: 0 / 475 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4974, allocations: 7.984 kB / 475 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4974, allocations: 0 / 475 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.4979, allocations: 443.7 kB / 475.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4979, allocations: 0 / 475.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4981, allocations: 43.91 kB / 475.5 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.4982, allocations: 24.84 kB / 475.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4982, allocations: 0 / 475.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009146/0.4991, allocations: 1.307 MB / 476.8 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4992, allocations: 0 / 476.8 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.4996, allocations: 305.5 kB / 477.1 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.4997, allocations: 104.9 kB / 477.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.4997, allocations: 0 / 477.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.4999, allocations: 36 kB / 477.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.5, allocations: 19.97 kB / 477.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.5, allocations: 7.953 kB / 477.2 MB, free: 4.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.5001, allocations: 107.3 kB / 477.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5001, allocations: 3.938 kB / 477.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.5004, allocations: 55.84 kB / 477.4 MB, free: 4.332 MB / 346.7 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) * 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.0001557/0.5006, allocations: 99.25 kB / 477.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.5009, allocations: 217.6 kB / 477.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5009, allocations: 0 / 477.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.5011, allocations: 165.7 kB / 477.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5014, allocations: 25.73 kB / 477.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.5019, allocations: 277.5 kB / 478.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5022, allocations: 0.7436 MB / 478.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.788e-05/0.5023, allocations: 9.219 kB / 478.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.5024, allocations: 15.44 kB / 478.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5024, allocations: 0 / 478.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of Templates: time 0.004591/0.507, allocations: 1.866 MB / 480.8 MB, free: 0.875 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches