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.0009874/0.0009874, allocations: 185.2 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007931/0.0007931, allocations: 86.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004189, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2343, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3463, allocations: 100.6 MB / 476.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.3466, allocations: 91.95 kB / 476.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4414/0.788, allocations: 117.2 MB / 0.5797 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7881, allocations: 0 / 0.5797 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003432/0.7885, allocations: 116 kB / 0.5798 GB, free: 36.15 MB / 378.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.02846/0.8169, allocations: 6.992 MB / 0.5866 GB, free: 29.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.817, allocations: 8.031 kB / 0.5866 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.8325, allocations: 3.226 MB / 0.5898 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.8472, allocations: 6.486 MB / 0.5961 GB, free: 19.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005942/0.8478, allocations: 460.4 kB / 0.5966 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003341/0.8512, allocations: 0.6016 MB / 0.5971 GB, free: 18.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/0.894, allocations: 17.55 MB / 0.6143 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005162/0.8945, allocations: 91.14 kB / 0.6144 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003163/0.8977, allocations: 299.8 kB / 0.6147 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003294/0.901, allocations: 1.633 MB / 0.6162 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04284/0.9439, allocations: 15.15 MB / 0.631 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2631/1.207, allocations: 67.47 MB / 0.6969 GB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.225, allocations: 7.017 MB / 0.7038 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005592/1.23, allocations: 3.169 MB / 0.7069 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/1.255, allocations: 14.43 MB / 0.721 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/1.255, allocations: 64.94 kB / 0.721 GB, free: 24.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=289): time 5.57e-06/1.255, allocations: 0 / 0.721 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.072/1.327, allocations: 25.97 MB / 0.7464 GB, free: 16.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002555/1.33, allocations: 4.595 MB / 0.7509 GB, free: 11.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/1.34, allocations: 5.176 MB / 0.7559 GB, free: 9.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008898/1.341, allocations: 69.58 kB / 0.756 GB, free: 9.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.344, allocations: 4.184 MB / 0.7601 GB, free: 6.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.346, allocations: 1.242 MB / 0.7613 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008765/1.346, allocations: 179.3 kB / 0.7615 GB, free: 5.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004316/1.347, allocations: 0.6773 MB / 0.7621 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005612/1.353, allocations: 3.573 MB / 0.7656 GB, free: 1.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01472/1.367, allocations: 8.952 MB / 0.7744 GB, free: 8.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/1.385, allocations: 12.84 MB / 0.7869 GB, free: 11.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002077/1.385, allocations: 48 kB / 0.7869 GB, free: 11.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03403/1.419, allocations: 14.16 MB / 0.8008 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/1.419, allocations: 80 kB / 0.8008 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01665/1.436, allocations: 6.752 MB / 0.8074 GB, free: 9.027 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009657/1.446, allocations: 2.858 MB / 0.8102 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007669/1.453, allocations: 2.07 MB / 0.8123 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2173/1.671, allocations: 12.64 MB / 0.8246 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007594/1.678, allocations: 0.8292 MB / 0.8254 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/1.68, allocations: 0.5146 MB / 0.8259 GB, free: 105.6 MB / 458.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.005333/1.685, allocations: 2.735 MB / 0.8286 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009398/1.686, allocations: 488.5 kB / 0.829 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.699, allocations: 7.281 MB / 0.8362 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01165/1.711, allocations: 6.483 MB / 0.8425 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/1.711, allocations: 11.44 kB / 0.8425 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/1.711, allocations: 16.95 kB / 0.8425 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03149/1.743, allocations: 17.07 MB / 0.8592 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.743, allocations: 6.719 kB / 0.8592 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.745, allocations: 0.5766 MB / 0.8597 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007634/1.753, allocations: 2.894 MB / 0.8626 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007457/1.754, allocations: 92.67 kB / 0.8627 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.765, allocations: 13.71 MB / 0.8761 GB, free: 93.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002069/1.767, allocations: 4.426 MB / 0.8804 GB, free: 89.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/1.786, allocations: 11.26 MB / 0.8914 GB, free: 85.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.788, allocations: 0.5394 MB / 0.8919 GB, free: 84.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.79, allocations: 81.44 kB / 0.892 GB, free: 84.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/1.793, allocations: 359.8 kB / 0.8923 GB, free: 84.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/1.794, allocations: 241.3 kB / 0.8926 GB, free: 84.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004548/1.795, allocations: 101.2 kB / 0.8926 GB, free: 84.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006504/1.801, allocations: 3.213 MB / 0.8958 GB, free: 83.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.801, allocations: 0 / 0.8958 GB, free: 83.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009205/1.81, allocations: 1.734 MB / 0.8975 GB, free: 83.52 MB / 458.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.001079/1.811, allocations: 250.7 kB / 0.8977 GB, free: 83.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01641/1.828, allocations: 10.38 MB / 0.9079 GB, free: 75.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.828, allocations: 2.188 kB / 0.9079 GB, free: 75.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008507/1.836, allocations: 5.097 MB / 0.9128 GB, free: 71.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/1.846, allocations: 0.6233 MB / 0.9134 GB, free: 70.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/1.877, allocations: 18.71 MB / 0.9317 GB, free: 54.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006447/1.883, allocations: 4.303 MB / 0.9359 GB, free: 50.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.885, allocations: 431.3 kB / 0.9363 GB, free: 50.31 MB / 458.7 MB Notification: Performance of SimCode: time 8.71e-07/1.885, allocations: 0 / 0.9363 GB, free: 50.31 MB / 458.7 MB Notification: Performance of Templates: time 0.7272/2.612, allocations: 377.8 MB / 1.305 GB, free: 29.25 MB / 490.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