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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 196.7 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000807/0.000807, allocations: 107.2 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002034/0.0002034, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1962, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.309, allocations: 102.8 MB / 0.5002 GB, free: 4.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.3093, allocations: 95.94 kB / 0.5002 GB, free: 4.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4503/0.7597, allocations: 120.7 MB / 0.6181 GB, free: 8.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7597, allocations: 0 / 0.6181 GB, free: 8.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000329/0.76, allocations: 120 kB / 0.6182 GB, free: 8.641 MB / 394.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.03333/0.7934, allocations: 7.265 MB / 0.6253 GB, free: 1.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7934, allocations: 12.03 kB / 0.6253 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/0.8102, allocations: 3.39 MB / 0.6286 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/0.8258, allocations: 5.763 MB / 0.6343 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006713/0.8265, allocations: 460.4 kB / 0.6347 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003848/0.8304, allocations: 0.6094 MB / 0.6353 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/0.8749, allocations: 17.56 MB / 0.6524 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004003/0.8754, allocations: 79.22 kB / 0.6525 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/0.8779, allocations: 291.8 kB / 0.6528 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00291/0.8808, allocations: 1.637 MB / 0.6544 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03523/0.9161, allocations: 15.15 MB / 0.6692 GB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2692/1.185, allocations: 67.41 MB / 0.735 GB, free: 39.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/1.2, allocations: 7.02 MB / 0.7419 GB, free: 38.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/1.204, allocations: 3.157 MB / 0.745 GB, free: 37.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/1.222, allocations: 14.43 MB / 0.759 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.222, allocations: 70.88 kB / 0.7591 GB, free: 30.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 5.921e-06/1.222, allocations: 0 / 0.7591 GB, free: 30.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=321): time 0.06176/1.284, allocations: 25.79 MB / 0.7843 GB, free: 21.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002206/1.286, allocations: 4.582 MB / 0.7888 GB, free: 17.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008672/1.295, allocations: 5.145 MB / 0.7938 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006932/1.296, allocations: 65.7 kB / 0.7939 GB, free: 14.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.298, allocations: 4.175 MB / 0.7979 GB, free: 10.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001473/1.299, allocations: 1.245 MB / 0.7991 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007495/1.3, allocations: 181.5 kB / 0.7993 GB, free: 9.164 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003703/1.3, allocations: 0.6704 MB / 0.8 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.305, allocations: 3.574 MB / 0.8035 GB, free: 5.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007251/1.312, allocations: 8.526 MB / 0.8118 GB, free: 11.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/1.329, allocations: 12.83 MB / 0.8243 GB, free: 13.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/1.33, allocations: 48 kB / 0.8244 GB, free: 13.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03239/1.362, allocations: 14.15 MB / 0.8382 GB, free: 1.902 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/1.362, allocations: 80 kB / 0.8383 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2304/1.593, allocations: 6.787 MB / 0.8449 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008615/1.601, allocations: 2.859 MB / 0.8477 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006816/1.608, allocations: 2.075 MB / 0.8497 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/1.619, allocations: 12.65 MB / 0.8621 GB, free: 96.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00871/1.628, allocations: 0.8212 MB / 0.8629 GB, free: 96.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/1.63, allocations: 0.5171 MB / 0.8634 GB, free: 96.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1071 * 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.006757/1.637, allocations: 2.739 MB / 0.866 GB, free: 96.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/1.638, allocations: 482.9 kB / 0.8665 GB, free: 96.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/1.654, allocations: 7.284 MB / 0.8736 GB, free: 96.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01354/1.667, allocations: 6.479 MB / 0.8799 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-05/1.667, allocations: 7.812 kB / 0.88 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-05/1.668, allocations: 17.58 kB / 0.88 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03738/1.705, allocations: 17.06 MB / 0.8966 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/1.705, allocations: 7.031 kB / 0.8966 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/1.708, allocations: 0.5817 MB / 0.8972 GB, free: 93.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008161/1.716, allocations: 2.892 MB / 0.9 GB, free: 93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008007/1.717, allocations: 92.33 kB / 0.9001 GB, free: 92.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/1.729, allocations: 13.72 MB / 0.9135 GB, free: 83.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002434/1.732, allocations: 4.443 MB / 0.9179 GB, free: 79.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02788/1.76, allocations: 11.26 MB / 0.9288 GB, free: 75.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.761, allocations: 0.5266 MB / 0.9294 GB, free: 75.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.763, allocations: 80.64 kB / 0.9294 GB, free: 75.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/1.767, allocations: 366.5 kB / 0.9298 GB, free: 75.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/1.768, allocations: 238.6 kB / 0.93 GB, free: 75.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004207/1.768, allocations: 100.5 kB / 0.9301 GB, free: 75.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006737/1.775, allocations: 3.183 MB / 0.9332 GB, free: 72.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.775, allocations: 4 kB / 0.9332 GB, free: 72.65 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008945/1.784, allocations: 1.731 MB / 0.9349 GB, free: 70.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 252 * 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.001104/1.785, allocations: 258.3 kB / 0.9352 GB, free: 70.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01722/1.802, allocations: 10.36 MB / 0.9453 GB, free: 61.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.802, allocations: 3.844 kB / 0.9453 GB, free: 61.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008678/1.811, allocations: 5.086 MB / 0.9502 GB, free: 57.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009563/1.82, allocations: 0.6187 MB / 0.9509 GB, free: 57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/1.848, allocations: 18.03 MB / 0.9685 GB, free: 40.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006457/1.855, allocations: 4.278 MB / 0.9726 GB, free: 36.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007172/1.862, allocations: 2.566 MB / 0.9751 GB, free: 33.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.863, allocations: 359.3 kB / 0.9755 GB, free: 33.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/1.863, allocations: 0 / 0.9755 GB, free: 33.43 MB / 474.7 MB Notification: Performance of Templates: time 0.2906/2.154, allocations: 60.73 MB / 1.035 GB, free: 108.6 MB / 490.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/jenkins1/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