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.002385/0.002384, allocations: 177.7 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.122e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.335, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.4994, allocations: 99.65 MB / 462 MB, free: 2.629 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4998, allocations: 88.89 kB / 462.1 MB, free: 2.543 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7662/1.266, allocations: 116.8 MB / 0.5653 GB, free: 77.52 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.297e-06/1.266, allocations: 4 kB / 0.5653 GB, free: 77.52 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003418/1.266, allocations: 115.3 kB / 0.5654 GB, free: 77.41 MB / 395.1 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.04698/1.313, allocations: 6.745 MB / 0.572 GB, free: 70.61 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.314, allocations: 8.031 kB / 0.572 GB, free: 70.6 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02846/1.342, allocations: 3.476 MB / 0.5754 GB, free: 67.11 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0303/1.372, allocations: 7.715 MB / 0.5829 GB, free: 59.39 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/1.373, allocations: 196 kB / 0.5831 GB, free: 59.2 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003634/1.377, allocations: 363.8 kB / 0.5834 GB, free: 58.85 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0235/1.4, allocations: 9.235 MB / 0.5925 GB, free: 49.61 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03489/1.435, allocations: 13.24 MB / 0.6054 GB, free: 35.07 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/1.435, allocations: 79.27 kB / 0.6055 GB, free: 35 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002827/1.438, allocations: 40 kB / 0.6055 GB, free: 34.96 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00452/1.443, allocations: 1.641 MB / 0.6071 GB, free: 33.32 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.438/1.881, allocations: 66.39 MB / 0.6719 GB, free: 52.25 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/1.891, allocations: 4.869 MB / 0.6767 GB, free: 51.28 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006841/1.898, allocations: 2.949 MB / 0.6796 GB, free: 51.24 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03781/1.936, allocations: 13.4 MB / 0.6927 GB, free: 48.18 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.078e-05/1.936, allocations: 75.22 kB / 0.6927 GB, free: 48.14 MB / 411.1 MB Notification: Performance of pre-optimization done (n=280): time 8.336e-06/1.936, allocations: 1.188 kB / 0.6927 GB, free: 48.14 MB / 411.1 MB Notification: Performance of matching and sorting (n=307): time 0.07577/2.012, allocations: 19.13 MB / 0.7114 GB, free: 42.21 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/2.012, allocations: 165.5 kB / 0.7116 GB, free: 42.05 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009627/2.022, allocations: 3.889 MB / 0.7154 GB, free: 40.63 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009235/2.023, allocations: 31.95 kB / 0.7154 GB, free: 40.6 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003563/2.026, allocations: 4.193 MB / 0.7195 GB, free: 37.25 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00218/2.029, allocations: 1.17 MB / 0.7206 GB, free: 36.39 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/2.03, allocations: 0 / 0.7206 GB, free: 36.39 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0008916/2.031, allocations: 0.6849 MB / 0.7213 GB, free: 35.91 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0083/2.04, allocations: 3.26 MB / 0.7245 GB, free: 34.8 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/2.051, allocations: 8.283 MB / 0.7326 GB, free: 26.92 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/2.063, allocations: 5.045 MB / 0.7375 GB, free: 25.44 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002234/2.063, allocations: 53.41 kB / 0.7376 GB, free: 25.44 MB / 411.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.04099/2.104, allocations: 12.63 MB / 0.7499 GB, free: 15.43 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/2.105, allocations: 84 kB / 0.75 GB, free: 15.35 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0228/2.128, allocations: 6.439 MB / 0.7563 GB, free: 10.22 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/2.143, allocations: 2.839 MB / 0.759 GB, free: 8.273 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/2.156, allocations: 2.103 MB / 0.7611 GB, free: 6.457 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/2.175, allocations: 12.18 MB / 0.773 GB, free: 10.88 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/2.188, allocations: 0.6491 MB / 0.7736 GB, free: 10.45 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002743/2.191, allocations: 0.5281 MB / 0.7741 GB, free: 9.941 MB / 427.1 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.003961/2.195, allocations: 0.5766 MB / 0.7747 GB, free: 9.363 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/2.197, allocations: 454.1 kB / 0.7751 GB, free: 8.914 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02691/2.224, allocations: 6.883 MB / 0.7818 GB, free: 3.645 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0243/2.248, allocations: 6.182 MB / 0.7879 GB, free: 13.72 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-05/2.248, allocations: 4 kB / 0.7879 GB, free: 13.71 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/2.248, allocations: 19.94 kB / 0.7879 GB, free: 13.7 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05644/2.305, allocations: 15.27 MB / 0.8028 GB, free: 14.32 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/2.305, allocations: 4 kB / 0.8028 GB, free: 14.32 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005994/2.311, allocations: 0.5461 MB / 0.8033 GB, free: 13.77 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01712/2.328, allocations: 2.835 MB / 0.8061 GB, free: 10.9 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.329, allocations: 51.94 kB / 0.8062 GB, free: 10.85 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02574/2.355, allocations: 13.38 MB / 0.8192 GB, free: 12.81 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004572/2.36, allocations: 4.262 MB / 0.8234 GB, free: 8.18 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3397/2.699, allocations: 11.1 MB / 0.8342 GB, free: 134.4 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/2.701, allocations: 494.6 kB / 0.8347 GB, free: 134.3 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.703, allocations: 27.73 kB / 0.8347 GB, free: 134.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006329/2.709, allocations: 322.1 kB / 0.835 GB, free: 134.3 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/2.711, allocations: 217.8 kB / 0.8352 GB, free: 134.3 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005409/2.711, allocations: 94.22 kB / 0.8353 GB, free: 134.3 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.006118/2.717, allocations: 2.549 MB / 0.8378 GB, free: 134.1 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.62e-07/2.717, allocations: 0 / 0.8378 GB, free: 134.1 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.01224/2.73, allocations: 1.564 MB / 0.8394 GB, free: 134.1 MB / 475.1 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.001413/2.731, allocations: 204.2 kB / 0.8395 GB, free: 134.1 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.02861/2.76, allocations: 9.676 MB / 0.849 GB, free: 132.7 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/2.76, allocations: 1.031 kB / 0.849 GB, free: 132.7 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01736/2.777, allocations: 4.896 MB / 0.8538 GB, free: 131.5 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/2.782, allocations: 450.2 kB / 0.8542 GB, free: 131.5 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/2.82, allocations: 13.52 MB / 0.8674 GB, free: 128.3 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/2.83, allocations: 4.401 MB / 0.8717 GB, free: 127.4 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/2.833, allocations: 411.8 kB / 0.8721 GB, free: 127.4 MB / 475.1 MB Notification: Performance of SimCode: time 1.353e-06/2.833, allocations: 0 / 0.8721 GB, free: 127.4 MB / 475.1 MB Notification: Performance of Templates: time 1.199/4.031, allocations: 351.1 MB / 1.215 GB, free: 123.9 MB / 475.1 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