Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 90.44 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.117e-06, allocations: 0 / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 51.48 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4752, allocations: 101.9 MB / 496.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4755, allocations: 84.52 kB / 496.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5781/1.054, allocations: 120.4 MB / 0.6025 GB, free: 55.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002386/1.054, allocations: 121.5 kB / 0.6027 GB, free: 55.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.03127/1.085, allocations: 6.737 MB / 0.6092 GB, free: 53.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.085, allocations: 8.719 kB / 0.6092 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/1.101, allocations: 3.052 MB / 0.6122 GB, free: 52.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/1.119, allocations: 6.531 MB / 0.6186 GB, free: 52.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/1.12, allocations: 198.2 kB / 0.6188 GB, free: 52.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/1.122, allocations: 362.8 kB / 0.6191 GB, free: 52 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01544/1.138, allocations: 9.581 MB / 0.6285 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/1.166, allocations: 13.56 MB / 0.6417 GB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002693/1.166, allocations: 75.94 kB / 0.6418 GB, free: 48.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009041/1.167, allocations: 42.12 kB / 0.6419 GB, free: 48.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/1.17, allocations: 1.728 MB / 0.6435 GB, free: 48.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07903/1.249, allocations: 67.8 MB / 0.7098 GB, free: 16.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/1.255, allocations: 4.304 MB / 0.714 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/1.259, allocations: 3.48 MB / 0.7174 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02116/1.28, allocations: 14.8 MB / 0.7318 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.28, allocations: 68.31 kB / 0.7319 GB, free: 4.094 MB / 458.7 MB Notification: Performance of pre-optimization done (n=280): time 6.121e-06/1.28, allocations: 0 / 0.7319 GB, free: 4.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=307): time 0.0427/1.323, allocations: 18.99 MB / 0.7504 GB, free: 3.758 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/1.323, allocations: 154.5 kB / 0.7506 GB, free: 3.574 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1611/1.484, allocations: 3.907 MB / 0.7544 GB, free: 148.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009704/1.485, allocations: 29.58 kB / 0.7544 GB, free: 148.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002306/1.488, allocations: 3.957 MB / 0.7583 GB, free: 147.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.489, allocations: 1.162 MB / 0.7594 GB, free: 146.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/1.49, allocations: 0 / 0.7594 GB, free: 146.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003617/1.49, allocations: 0.6835 MB / 0.7601 GB, free: 146.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/1.494, allocations: 3.378 MB / 0.7634 GB, free: 146.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00561/1.5, allocations: 8.405 MB / 0.7716 GB, free: 139.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/1.506, allocations: 5.226 MB / 0.7767 GB, free: 139.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.145e-05/1.506, allocations: 50.56 kB / 0.7767 GB, free: 139.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02596/1.532, allocations: 12.77 MB / 0.7892 GB, free: 138.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/1.532, allocations: 5.656 kB / 0.7892 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01366/1.546, allocations: 6.46 MB / 0.7955 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008842/1.555, allocations: 2.679 MB / 0.7981 GB, free: 138.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007626/1.562, allocations: 2.062 MB / 0.8002 GB, free: 137.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/1.573, allocations: 11.98 MB / 0.8119 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/1.583, allocations: 0.5067 MB / 0.8123 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/1.586, allocations: 0.5316 MB / 0.8129 GB, free: 129.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 818 * Number of states: 0 () * Number of discrete variables: 66 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1108): * Single equations (assignments): 1087 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001816/1.587, allocations: 0.5711 MB / 0.8134 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009631/1.588, allocations: 442.3 kB / 0.8138 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.602, allocations: 6.834 MB / 0.8205 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01197/1.614, allocations: 6.112 MB / 0.8265 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.964e-05/1.614, allocations: 5.75 kB / 0.8265 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/1.614, allocations: 15.42 kB / 0.8265 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/1.645, allocations: 15.29 MB / 0.8414 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/1.645, allocations: 3.75 kB / 0.8415 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.648, allocations: 0.5211 MB / 0.842 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008199/1.656, allocations: 2.674 MB / 0.8446 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/1.656, allocations: 56.42 kB / 0.8446 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.668, allocations: 13.12 MB / 0.8574 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002085/1.671, allocations: 4.161 MB / 0.8615 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01823/1.689, allocations: 11.21 MB / 0.8725 GB, free: 97.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.69, allocations: 494.8 kB / 0.8729 GB, free: 97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.691, allocations: 27.94 kB / 0.873 GB, free: 96.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.694, allocations: 216.7 kB / 0.8732 GB, free: 96.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/1.695, allocations: 152.7 kB / 0.8733 GB, free: 96.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.695, allocations: 95.81 kB / 0.8734 GB, free: 96.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003631/1.699, allocations: 2.573 MB / 0.8759 GB, free: 94.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008288/1.707, allocations: 1.559 MB / 0.8774 GB, free: 92.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008479/1.708, allocations: 207.6 kB / 0.8776 GB, free: 92.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0167/1.725, allocations: 9.816 MB / 0.8872 GB, free: 83.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.725, allocations: 8.016 kB / 0.8872 GB, free: 83.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009278/1.734, allocations: 4.689 MB / 0.8918 GB, free: 79.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/1.738, allocations: 438.8 kB / 0.8922 GB, free: 79.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/1.763, allocations: 13.07 MB / 0.905 GB, free: 67.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005487/1.768, allocations: 4.766 MB / 0.9096 GB, free: 64.03 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/1.768, allocations: 0 / 0.9096 GB, free: 64.03 MB / 474.7 MB Notification: Performance of Templates: time 0.2908/2.059, allocations: 61.72 MB / 0.9699 GB, free: 128.8 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/HeatLosses/HeatLosses.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches