Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008248/0.0008247, allocations: 86.69 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.979e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.08887, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4233, allocations: 99.87 MB / 463 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4235, allocations: 87.27 kB / 463 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5165/0.94, allocations: 116.8 MB / 0.5662 GB, free: 91.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.9401, allocations: 0 / 0.5662 GB, free: 91.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004685/0.9406, allocations: 111.9 kB / 0.5663 GB, free: 91.61 MB / 410.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/0.9719, allocations: 6.748 MB / 0.5729 GB, free: 89.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9719, allocations: 10.78 kB / 0.5729 GB, free: 89.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/0.9891, allocations: 3.477 MB / 0.5763 GB, free: 88.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/1.009, allocations: 7.715 MB / 0.5838 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/1.01, allocations: 196.1 kB / 0.584 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/1.013, allocations: 362.4 kB / 0.5844 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01778/1.031, allocations: 9.236 MB / 0.5934 GB, free: 85.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/1.057, allocations: 13.24 MB / 0.6063 GB, free: 74.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003549/1.058, allocations: 82.94 kB / 0.6064 GB, free: 74.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002618/1.06, allocations: 40 kB / 0.6064 GB, free: 74.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/1.063, allocations: 1.634 MB / 0.608 GB, free: 73.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06613/1.129, allocations: 66.39 MB / 0.6729 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/1.134, allocations: 4.877 MB / 0.6776 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/1.138, allocations: 2.953 MB / 0.6805 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02024/1.158, allocations: 13.41 MB / 0.6936 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/1.158, allocations: 68.5 kB / 0.6937 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=280): time 5.57e-06/1.158, allocations: 0 / 0.6937 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of matching and sorting (n=307): time 0.2637/1.422, allocations: 19.12 MB / 0.7124 GB, free: 96.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.422, allocations: 157.4 kB / 0.7125 GB, free: 96.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/1.428, allocations: 3.9 MB / 0.7163 GB, free: 96.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009916/1.429, allocations: 28.89 kB / 0.7163 GB, free: 96.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002845/1.432, allocations: 4.256 MB / 0.7205 GB, free: 93.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.434, allocations: 1.172 MB / 0.7216 GB, free: 93.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/1.434, allocations: 6.156 kB / 0.7216 GB, free: 93.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004005/1.435, allocations: 0.6814 MB / 0.7223 GB, free: 92.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/1.438, allocations: 3.26 MB / 0.7255 GB, free: 92.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/1.444, allocations: 8.287 MB / 0.7336 GB, free: 86.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005697/1.45, allocations: 5.052 MB / 0.7385 GB, free: 84.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.599e-05/1.45, allocations: 55.73 kB / 0.7386 GB, free: 84.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02146/1.471, allocations: 12.73 MB / 0.751 GB, free: 81.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/1.471, allocations: 83.5 kB / 0.7511 GB, free: 81.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01127/1.483, allocations: 6.436 MB / 0.7574 GB, free: 79.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008418/1.491, allocations: 2.843 MB / 0.7601 GB, free: 78.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007186/1.498, allocations: 2.102 MB / 0.7622 GB, free: 78.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/1.508, allocations: 12.18 MB / 0.7741 GB, free: 68.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0091/1.517, allocations: 0.649 MB / 0.7747 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/1.519, allocations: 0.5289 MB / 0.7752 GB, free: 67.94 MB / 426.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.001595/1.521, allocations: 0.577 MB / 0.7758 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009841/1.522, allocations: 454.1 kB / 0.7762 GB, free: 66.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.538, allocations: 6.891 MB / 0.783 GB, free: 61.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02056/1.558, allocations: 6.172 MB / 0.789 GB, free: 56.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.101e-05/1.558, allocations: 4 kB / 0.789 GB, free: 56.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/1.558, allocations: 16.98 kB / 0.789 GB, free: 56.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05012/1.609, allocations: 15.27 MB / 0.8039 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/1.609, allocations: 7.688 kB / 0.8039 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005398/1.614, allocations: 0.5504 MB / 0.8045 GB, free: 44.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.63, allocations: 2.83 MB / 0.8072 GB, free: 41.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009552/1.631, allocations: 55.89 kB / 0.8073 GB, free: 41.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/1.652, allocations: 13.39 MB / 0.8204 GB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003162/1.655, allocations: 4.247 MB / 0.8245 GB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02992/1.685, allocations: 11.11 MB / 0.8354 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.687, allocations: 494.8 kB / 0.8358 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/1.688, allocations: 31.97 kB / 0.8359 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005924/1.694, allocations: 319.3 kB / 0.8362 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009586/1.695, allocations: 217.5 kB / 0.8364 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004078/1.696, allocations: 95.94 kB / 0.8365 GB, free: 10.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005986/1.702, allocations: 2.552 MB / 0.839 GB, free: 7.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.702, allocations: 0 / 0.839 GB, free: 7.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01499/1.717, allocations: 1.558 MB / 0.8405 GB, free: 6.312 MB / 426.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.001127/1.718, allocations: 203.4 kB / 0.8407 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2451/1.963, allocations: 9.66 MB / 0.8501 GB, free: 99.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.963, allocations: 1.344 kB / 0.8501 GB, free: 99.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01058/1.974, allocations: 4.881 MB / 0.8549 GB, free: 98.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.977, allocations: 450.2 kB / 0.8553 GB, free: 98.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/2.002, allocations: 12.88 MB / 0.8679 GB, free: 95.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006161/2.008, allocations: 4.402 MB / 0.8722 GB, free: 94.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007581/2.016, allocations: 2.59 MB / 0.8747 GB, free: 94.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/2.017, allocations: 341.3 kB / 0.875 GB, free: 94.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/2.017, allocations: 0 / 0.875 GB, free: 94.11 MB / 442.7 MB Notification: Performance of Templates: time 0.08377/2.101, allocations: 53.97 MB / 0.9277 GB, free: 78.14 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/HeatLosses/HeatLosses.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches