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.001087/0.001087, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008852/0.000885, allocations: 103.8 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002039/0.0002039, allocations: 11.98 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2088, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3187, allocations: 102.7 MB / 0.5002 GB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.319, allocations: 91.94 kB / 0.5002 GB, free: 3.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4373/0.7563, allocations: 124.2 MB / 0.6215 GB, free: 3.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7563, allocations: 0 / 0.6215 GB, free: 3.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003114/0.7566, allocations: 112 kB / 0.6217 GB, free: 3.633 MB / 394.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.03196/0.7886, allocations: 7.339 MB / 0.6288 GB, free: 12.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7887, allocations: 8.031 kB / 0.6288 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.8048, allocations: 3.631 MB / 0.6324 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.8213, allocations: 6.572 MB / 0.6388 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/0.8218, allocations: 456 kB / 0.6392 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.8243, allocations: 0.6051 MB / 0.6398 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03977/0.8641, allocations: 17.71 MB / 0.6571 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.8645, allocations: 79.28 kB / 0.6572 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002491/0.867, allocations: 295.8 kB / 0.6575 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/0.8696, allocations: 1.645 MB / 0.6591 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2207/1.09, allocations: 15.35 MB / 0.6741 GB, free: 76.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06667/1.157, allocations: 67.48 MB / 0.74 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/1.172, allocations: 7.019 MB / 0.7468 GB, free: 36.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/1.19, allocations: 14.52 MB / 0.761 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.19, allocations: 66.28 kB / 0.7611 GB, free: 29.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 5.52e-06/1.19, allocations: 0 / 0.7611 GB, free: 29.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=321): time 0.06787/1.258, allocations: 26.04 MB / 0.7865 GB, free: 20.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002762/1.261, allocations: 4.615 MB / 0.791 GB, free: 15.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008668/1.27, allocations: 4.578 MB / 0.7955 GB, free: 11.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009991/1.271, allocations: 76.91 kB / 0.7955 GB, free: 11.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.273, allocations: 4.171 MB / 0.7996 GB, free: 7.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.275, allocations: 1.239 MB / 0.8008 GB, free: 6.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/1.275, allocations: 179.2 kB / 0.801 GB, free: 6.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003794/1.276, allocations: 0.6786 MB / 0.8017 GB, free: 5.844 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/1.281, allocations: 3.574 MB / 0.8051 GB, free: 2.875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009351/1.29, allocations: 8.529 MB / 0.8135 GB, free: 9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00902/1.299, allocations: 5.314 MB / 0.8187 GB, free: 4.547 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.299, allocations: 52 kB / 0.8187 GB, free: 4.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.02908/1.328, allocations: 14.16 MB / 0.8325 GB, free: 8.684 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/1.328, allocations: 76 kB / 0.8326 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01423/1.343, allocations: 6.747 MB / 0.8392 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.231/1.574, allocations: 2.88 MB / 0.842 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006701/1.581, allocations: 2.081 MB / 0.844 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.591, allocations: 12.87 MB / 0.8566 GB, free: 93.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007772/1.599, allocations: 0.8218 MB / 0.8574 GB, free: 93.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.6, allocations: 0.5213 MB / 0.8579 GB, free: 93.92 MB / 474.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.004901/1.605, allocations: 2.729 MB / 0.8606 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007825/1.606, allocations: 495.5 kB / 0.8611 GB, free: 93.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.618, allocations: 7.273 MB / 0.8682 GB, free: 93.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0107/1.629, allocations: 6.483 MB / 0.8745 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/1.629, allocations: 6.844 kB / 0.8745 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/1.629, allocations: 13.5 kB / 0.8745 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.656, allocations: 17.05 MB / 0.8912 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/1.656, allocations: 9.438 kB / 0.8912 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.659, allocations: 0.5755 MB / 0.8917 GB, free: 92.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007749/1.666, allocations: 2.897 MB / 0.8946 GB, free: 91.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003956/1.667, allocations: 88.17 kB / 0.8947 GB, free: 91.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.678, allocations: 13.97 MB / 0.9083 GB, free: 82.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002175/1.68, allocations: 4.468 MB / 0.9127 GB, free: 78.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.698, allocations: 12.19 MB / 0.9246 GB, free: 73.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.7, allocations: 0.5384 MB / 0.9251 GB, free: 72.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/1.701, allocations: 77.98 kB / 0.9252 GB, free: 72.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003897/1.705, allocations: 368.6 kB / 0.9255 GB, free: 72.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/1.705, allocations: 239.2 kB / 0.9257 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004205/1.706, allocations: 100.4 kB / 0.9258 GB, free: 72.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006633/1.712, allocations: 3.182 MB / 0.9289 GB, free: 71.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.712, allocations: 0 / 0.9289 GB, free: 71.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008608/1.721, allocations: 1.736 MB / 0.9306 GB, free: 71.6 MB / 474.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.001015/1.722, allocations: 259.4 kB / 0.9309 GB, free: 71.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01656/1.739, allocations: 10.37 MB / 0.941 GB, free: 63.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.739, allocations: 4 kB / 0.941 GB, free: 63.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008353/1.747, allocations: 5.083 MB / 0.946 GB, free: 59.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/1.751, allocations: 0.5747 MB / 0.9465 GB, free: 58.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.778, allocations: 17.98 MB / 0.9641 GB, free: 42.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006671/1.785, allocations: 4.4 MB / 0.9684 GB, free: 39.65 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006464/1.792, allocations: 2.565 MB / 0.9709 GB, free: 38.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.793, allocations: 365.1 kB / 0.9712 GB, free: 37.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.793, allocations: 0 / 0.9712 GB, free: 37.69 MB / 474.7 MB Notification: Performance of Templates: time 0.2993/2.092, allocations: 60.51 MB / 1.03 GB, free: 101 MB / 490.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