Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002375/0.002375, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.00109, allocations: 90.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.729e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09581, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5276, allocations: 100.3 MB / 469.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.528, allocations: 85.83 kB / 469.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8292/1.357, allocations: 119.3 MB / 0.575 GB, free: 91.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.357, allocations: 4 kB / 0.575 GB, free: 91.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003255/1.358, allocations: 123.4 kB / 0.5751 GB, free: 91.52 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.0465/1.404, allocations: 6.739 MB / 0.5817 GB, free: 89.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.404, allocations: 8.875 kB / 0.5817 GB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03616/1.44, allocations: 3.481 MB / 0.5851 GB, free: 88.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04473/1.485, allocations: 7.734 MB / 0.5927 GB, free: 86.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009083/1.486, allocations: 460.9 kB / 0.5931 GB, free: 86.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004757/1.491, allocations: 0.603 MB / 0.5937 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07181/1.563, allocations: 17.5 MB / 0.6108 GB, free: 69.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004299/1.563, allocations: 75.28 kB / 0.6109 GB, free: 69.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003329/1.567, allocations: 292 kB / 0.6111 GB, free: 69.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004562/1.571, allocations: 1.641 MB / 0.6127 GB, free: 67.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05425/1.625, allocations: 14.97 MB / 0.6274 GB, free: 52.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4093/2.035, allocations: 67.55 MB / 0.6933 GB, free: 87.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03198/2.067, allocations: 6.974 MB / 0.7001 GB, free: 86.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00766/2.075, allocations: 3.125 MB / 0.7032 GB, free: 86.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03916/2.114, allocations: 14.55 MB / 0.7174 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/2.114, allocations: 68.94 kB / 0.7175 GB, free: 82.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 7.334e-06/2.114, allocations: 0 / 0.7175 GB, free: 82.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.09888/2.213, allocations: 21.27 MB / 0.7382 GB, free: 78.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003643/2.217, allocations: 4.582 MB / 0.7427 GB, free: 73.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/2.228, allocations: 4.474 MB / 0.7471 GB, free: 71.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009845/2.229, allocations: 77.16 kB / 0.7472 GB, free: 71.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003569/2.232, allocations: 4.058 MB / 0.7511 GB, free: 68.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002195/2.235, allocations: 1.245 MB / 0.7523 GB, free: 67.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/2.236, allocations: 173.2 kB / 0.7525 GB, free: 67.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009607/2.237, allocations: 0.6866 MB / 0.7532 GB, free: 67.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009077/2.247, allocations: 3.418 MB / 0.7565 GB, free: 66.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/2.259, allocations: 8.342 MB / 0.7647 GB, free: 58.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/2.272, allocations: 5.217 MB / 0.7697 GB, free: 56.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001967/2.272, allocations: 49.56 kB / 0.7698 GB, free: 56.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.04441/2.316, allocations: 13.67 MB / 0.7831 GB, free: 51.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/2.316, allocations: 80 kB / 0.7832 GB, free: 51.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02394/2.34, allocations: 6.691 MB / 0.7898 GB, free: 45.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/2.357, allocations: 2.884 MB / 0.7926 GB, free: 43.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/2.37, allocations: 2.078 MB / 0.7946 GB, free: 41.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/2.388, allocations: 12.63 MB / 0.8069 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/2.402, allocations: 0.8201 MB / 0.8077 GB, free: 29.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/2.404, allocations: 0.5181 MB / 0.8082 GB, free: 28.75 MB / 426.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 () * 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.003453/2.407, allocations: 0.7721 MB / 0.809 GB, free: 27.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/2.409, allocations: 493.2 kB / 0.8095 GB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/2.436, allocations: 7.228 MB / 0.8165 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0236/2.459, allocations: 6.426 MB / 0.8228 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-05/2.459, allocations: 7.984 kB / 0.8228 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-05/2.459, allocations: 19.95 kB / 0.8228 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05573/2.515, allocations: 17.01 MB / 0.8394 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.475e-05/2.515, allocations: 12.16 kB / 0.8395 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005934/2.521, allocations: 0.5772 MB / 0.84 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01698/2.538, allocations: 2.889 MB / 0.8428 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.539, allocations: 87.94 kB / 0.8429 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3364/2.876, allocations: 13.7 MB / 0.8563 GB, free: 97.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003845/2.88, allocations: 4.431 MB / 0.8606 GB, free: 93.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03819/2.918, allocations: 12.11 MB / 0.8725 GB, free: 91.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.92, allocations: 0.5433 MB / 0.873 GB, free: 91.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002476/2.923, allocations: 78.11 kB / 0.8731 GB, free: 91.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007184/2.93, allocations: 368.1 kB / 0.8734 GB, free: 91.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/2.931, allocations: 236.1 kB / 0.8736 GB, free: 91.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008746/2.932, allocations: 102.6 kB / 0.8737 GB, free: 91.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008754/2.941, allocations: 3.069 MB / 0.8767 GB, free: 91.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.941, allocations: 0 / 0.8767 GB, free: 91.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01172/2.953, allocations: 1.734 MB / 0.8784 GB, free: 91.56 MB / 442.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 () * 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.001553/2.955, allocations: 258.2 kB / 0.8787 GB, free: 91.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02866/2.983, allocations: 10.18 MB / 0.8886 GB, free: 90.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/2.983, allocations: 0 / 0.8886 GB, free: 90.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01717/3, allocations: 5.052 MB / 0.8935 GB, free: 87.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/3.006, allocations: 0.5878 MB / 0.8941 GB, free: 87.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04025/3.047, allocations: 13.87 MB / 0.9077 GB, free: 82.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/3.057, allocations: 4.424 MB / 0.912 GB, free: 80.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/3.06, allocations: 427.7 kB / 0.9124 GB, free: 80.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/3.06, allocations: 0 / 0.9124 GB, free: 80.6 MB / 442.7 MB Notification: Performance of Templates: time 1.234/4.294, allocations: 355.1 MB / 1.259 GB, free: 99.19 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches