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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009573/0.0009574, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008999/0.0008999, allocations: 93.38 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002002/0.0002003, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1907, allocations: 51.28 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08643/0.2771, allocations: 80.21 MB / 489.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.2773, allocations: 71.97 kB / 489.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.2874, allocations: 3.976 MB / 493.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2875, allocations: 7.984 kB / 493.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2875, allocations: 4 kB / 493.6 MB, free: 7.195 MB / 362.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.0006895/0.2882, allocations: 0.5147 MB / 494.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2882, allocations: 8.031 kB / 494.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2883, allocations: 28.66 kB / 494.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.2886, allocations: 229.6 kB / 494.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2886, allocations: 12.81 kB / 494.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.2887, allocations: 20.38 kB / 494.4 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.2891, allocations: 242.1 kB / 494.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2891, allocations: 0 / 494.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.2891, allocations: 12 kB / 494.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2892, allocations: 4 kB / 494.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.2895, allocations: 165.7 kB / 494.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.2908, allocations: 0.8244 MB / 495.7 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.2911, allocations: 170.5 kB / 495.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.2913, allocations: 88.81 kB / 495.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2913, allocations: 4 kB / 495.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2914, allocations: 30.56 kB / 496 MB, free: 4.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.2914, allocations: 0 / 496 MB, free: 4.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008016/0.2922, allocations: 351.2 kB / 496.3 MB, free: 4.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.2922, allocations: 59.41 kB / 496.4 MB, free: 4.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2924, allocations: 175.1 kB / 496.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2924, allocations: 29.7 kB / 496.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.2925, allocations: 140.2 kB / 496.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.2925, allocations: 51.27 kB / 496.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.2925, allocations: 4 kB / 496.8 MB, free: 3.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2927, allocations: 334.8 kB / 497.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2928, allocations: 51.97 kB / 497.1 MB, free: 3.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.293, allocations: 94.77 kB / 497.2 MB, free: 3.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.2933, allocations: 145.8 kB / 497.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2933, allocations: 0 / 497.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004705/0.2938, allocations: 222.2 kB / 497.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2938, allocations: 7.938 kB / 497.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2938, allocations: 7.938 kB / 497.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.294, allocations: 36.77 kB / 497.6 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2941, allocations: 35.92 kB / 497.7 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2952, allocations: 1.367 MB / 499 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2954, allocations: 39.91 kB / 499.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.2954, allocations: 11.98 kB / 499.1 MB, free: 1.309 MB / 362.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 () * Number of clocked 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.0001173/0.2955, allocations: 130.8 kB / 499.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.2956, allocations: 15.81 kB / 499.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.2956, allocations: 25.86 kB / 499.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2956, allocations: 4 kB / 499.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2956, allocations: 0 / 499.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2956, allocations: 4 kB / 499.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.2963, allocations: 0.5264 MB / 499.8 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2964, allocations: 8 kB / 499.8 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2965, allocations: 27.92 kB / 499.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.2966, allocations: 32.84 kB / 499.9 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2966, allocations: 3.938 kB / 499.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009792/0.2976, allocations: 1.364 MB / 0.4895 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2976, allocations: 8.016 kB / 0.4895 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.2982, allocations: 363.3 kB / 0.4898 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.2983, allocations: 104.9 kB / 0.4899 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2983, allocations: 0 / 0.4899 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2985, allocations: 31.98 kB / 0.49 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.2986, allocations: 19.97 kB / 0.49 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2986, allocations: 7.938 kB / 0.49 GB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.539e-05/0.2987, allocations: 135.2 kB / 0.4901 GB, free: 14.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2987, allocations: 0 / 0.4901 GB, free: 14.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.299, allocations: 55.84 kB / 0.4902 GB, free: 14.22 MB / 378.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) * 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.0001193/0.2991, allocations: 107.2 kB / 0.4903 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004792/0.2996, allocations: 270.7 kB / 0.4905 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2996, allocations: 0 / 0.4905 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.2999, allocations: 202.5 kB / 0.4907 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3003, allocations: 44.98 kB / 0.4908 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.301, allocations: 0.5481 MB / 0.4913 GB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3012, allocations: 0.7361 MB / 0.492 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.3013, allocations: 17.55 kB / 0.492 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.3014, allocations: 15.44 kB / 0.4921 GB, free: 12.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3014, allocations: 0 / 0.4921 GB, free: 12.21 MB / 378.7 MB Notification: Performance of Templates: time 0.004742/0.3061, allocations: 2.197 MB / 0.4942 GB, free: 10.04 MB / 378.7 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","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches