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.001574/0.001574, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009164/0.0009165, allocations: 90.88 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.78e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 51.49 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3902/0.5068, allocations: 102 MB / 497.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5072, allocations: 86.47 kB / 497.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5632/1.07, allocations: 121.8 MB / 0.6046 GB, free: 75.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.07, allocations: 0 / 0.6046 GB, free: 75.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002994/1.071, allocations: 116.8 kB / 0.6047 GB, free: 75.82 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.03748/1.108, allocations: 7.027 MB / 0.6115 GB, free: 73.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.108, allocations: 10.58 kB / 0.6116 GB, free: 73.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01984/1.128, allocations: 3.639 MB / 0.6151 GB, free: 73.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/1.147, allocations: 6.527 MB / 0.6215 GB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005217/1.148, allocations: 196.2 kB / 0.6217 GB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/1.151, allocations: 365.7 kB / 0.622 GB, free: 72.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01967/1.171, allocations: 9.238 MB / 0.631 GB, free: 72.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03189/1.203, allocations: 13.24 MB / 0.644 GB, free: 66.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/1.203, allocations: 75.36 kB / 0.644 GB, free: 66.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00304/1.206, allocations: 40.66 kB / 0.6441 GB, free: 66.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/1.209, allocations: 1.642 MB / 0.6457 GB, free: 66.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07579/1.285, allocations: 66.33 MB / 0.7105 GB, free: 34.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00591/1.291, allocations: 4.871 MB / 0.7152 GB, free: 31.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/1.295, allocations: 2.953 MB / 0.7181 GB, free: 28.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02054/1.315, allocations: 13.38 MB / 0.7312 GB, free: 16.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.315, allocations: 60.56 kB / 0.7312 GB, free: 16.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=280): time 5.591e-06/1.315, allocations: 3.938 kB / 0.7312 GB, free: 16.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=307): time 0.3121/1.627, allocations: 18.97 MB / 0.7498 GB, free: 87.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.628, allocations: 163.7 kB / 0.7499 GB, free: 87.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/1.633, allocations: 3.855 MB / 0.7537 GB, free: 87.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000806/1.634, allocations: 27.91 kB / 0.7537 GB, free: 86.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/1.636, allocations: 4.249 MB / 0.7579 GB, free: 85.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.638, allocations: 1.166 MB / 0.759 GB, free: 84.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/1.638, allocations: 0 / 0.759 GB, free: 84.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003801/1.638, allocations: 0.6827 MB / 0.7597 GB, free: 84.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/1.642, allocations: 3.258 MB / 0.7628 GB, free: 84.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/1.648, allocations: 8.292 MB / 0.7709 GB, free: 78.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006812/1.655, allocations: 5.045 MB / 0.7759 GB, free: 77.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.655, allocations: 51.72 kB / 0.7759 GB, free: 77.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03001/1.685, allocations: 12.73 MB / 0.7884 GB, free: 77.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/1.685, allocations: 86.09 kB / 0.7884 GB, free: 77.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01305/1.698, allocations: 6.444 MB / 0.7947 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009967/1.708, allocations: 2.837 MB / 0.7975 GB, free: 75.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007519/1.716, allocations: 2.11 MB / 0.7996 GB, free: 75.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.727, allocations: 12.17 MB / 0.8114 GB, free: 67.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009698/1.737, allocations: 0.6539 MB / 0.8121 GB, free: 67.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001943/1.739, allocations: 0.5267 MB / 0.8126 GB, free: 66.94 MB / 458.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.001728/1.741, allocations: 0.581 MB / 0.8132 GB, free: 66.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000929/1.742, allocations: 443.5 kB / 0.8136 GB, free: 66.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.754, allocations: 6.879 MB / 0.8203 GB, free: 64.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01116/1.765, allocations: 6.181 MB / 0.8263 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/1.765, allocations: 7.188 kB / 0.8263 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.081e-05/1.766, allocations: 15.05 kB / 0.8264 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04054/1.806, allocations: 15.25 MB / 0.8413 GB, free: 57.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/1.806, allocations: 3.562 kB / 0.8413 GB, free: 57.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/1.81, allocations: 0.5545 MB / 0.8418 GB, free: 57.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008742/1.819, allocations: 2.833 MB / 0.8446 GB, free: 56.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009733/1.82, allocations: 49.86 kB / 0.8446 GB, free: 56.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.832, allocations: 13.38 MB / 0.8577 GB, free: 48.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001986/1.834, allocations: 4.242 MB / 0.8618 GB, free: 43.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/1.851, allocations: 11.11 MB / 0.8727 GB, free: 37.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.852, allocations: 494 kB / 0.8731 GB, free: 37.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009349/1.853, allocations: 41.5 kB / 0.8732 GB, free: 37.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.856, allocations: 312.5 kB / 0.8735 GB, free: 36.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/1.857, allocations: 221.6 kB / 0.8737 GB, free: 36.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/1.857, allocations: 91.02 kB / 0.8738 GB, free: 36.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003625/1.861, allocations: 2.527 MB / 0.8762 GB, free: 34.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.861, allocations: 4 kB / 0.8762 GB, free: 34.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008149/1.869, allocations: 1.559 MB / 0.8778 GB, free: 32.91 MB / 458.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.000671/1.869, allocations: 205 kB / 0.878 GB, free: 32.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01564/1.885, allocations: 9.666 MB / 0.8874 GB, free: 24.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.885, allocations: 0.875 kB / 0.8874 GB, free: 24.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008399/1.894, allocations: 4.876 MB / 0.8922 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.897, allocations: 452.2 kB / 0.8926 GB, free: 19.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.918, allocations: 12.86 MB / 0.9052 GB, free: 8.078 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004607/1.922, allocations: 4.386 MB / 0.9094 GB, free: 4.367 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0064/1.929, allocations: 2.591 MB / 0.912 GB, free: 1.781 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.93, allocations: 347.3 kB / 0.9123 GB, free: 1.441 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/1.93, allocations: 0 / 0.9123 GB, free: 1.441 MB / 458.7 MB Notification: Performance of Templates: time 0.3639/2.294, allocations: 53.91 MB / 0.9649 GB, free: 84.02 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