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.001131/0.001131, allocations: 183.2 kB / 18.04 MB, free: 3.781 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.355/1.355, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007641/0.0007641, allocations: 95.12 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 8 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 47.56 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3265, allocations: 100.6 MB / 477.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.3268, allocations: 87.95 kB / 477.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4356/0.7624, allocations: 117.2 MB / 0.581 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7624, allocations: 0 / 0.581 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.7627, allocations: 120 kB / 0.5811 GB, free: 36.02 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.02486/0.7876, allocations: 6.984 MB / 0.5879 GB, free: 28.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7876, allocations: 8.031 kB / 0.5879 GB, free: 28.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.8019, allocations: 3.238 MB / 0.5911 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.8145, allocations: 6.478 MB / 0.5974 GB, free: 19.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.8149, allocations: 460.4 kB / 0.5978 GB, free: 18.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.8175, allocations: 0.6055 MB / 0.5984 GB, free: 18.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03555/0.8531, allocations: 17.55 MB / 0.6156 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004214/0.8536, allocations: 83.22 kB / 0.6156 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/0.8557, allocations: 295.8 kB / 0.6159 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.8587, allocations: 1.641 MB / 0.6175 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03471/0.8934, allocations: 15.15 MB / 0.6323 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2888/1.182, allocations: 67.47 MB / 0.6982 GB, free: 30.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/1.198, allocations: 7.003 MB / 0.7051 GB, free: 29.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00425/1.203, allocations: 3.175 MB / 0.7082 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/1.222, allocations: 14.44 MB / 0.7222 GB, free: 24.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.222, allocations: 63.48 kB / 0.7223 GB, free: 24.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=289): time 5.43e-06/1.222, allocations: 0 / 0.7223 GB, free: 24.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.05777/1.28, allocations: 25.96 MB / 0.7477 GB, free: 15.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002151/1.282, allocations: 4.587 MB / 0.7521 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007205/1.289, allocations: 5.178 MB / 0.7572 GB, free: 9.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006782/1.29, allocations: 72.28 kB / 0.7573 GB, free: 9.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002065/1.292, allocations: 4.186 MB / 0.7614 GB, free: 6.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.293, allocations: 1.24 MB / 0.7626 GB, free: 5.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/1.294, allocations: 172 kB / 0.7627 GB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/1.294, allocations: 0.6864 MB / 0.7634 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.299, allocations: 3.574 MB / 0.7669 GB, free: 1.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/1.312, allocations: 9.016 MB / 0.7757 GB, free: 8.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/1.329, allocations: 12.84 MB / 0.7882 GB, free: 11.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/1.329, allocations: 48 kB / 0.7883 GB, free: 11.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.02724/1.356, allocations: 14.16 MB / 0.8021 GB, free: 15.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.356, allocations: 83.84 kB / 0.8022 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01311/1.369, allocations: 6.748 MB / 0.8088 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008522/1.378, allocations: 2.869 MB / 0.8116 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006712/1.385, allocations: 2.07 MB / 0.8136 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1966/1.581, allocations: 12.63 MB / 0.8259 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/1.589, allocations: 0.8225 MB / 0.8267 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.59, allocations: 0.5192 MB / 0.8272 GB, free: 105.8 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.004182/1.594, allocations: 2.737 MB / 0.8299 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006727/1.595, allocations: 484 kB / 0.8304 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.608, allocations: 7.285 MB / 0.8375 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01141/1.619, allocations: 6.481 MB / 0.8438 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.619, allocations: 11.88 kB / 0.8438 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/1.619, allocations: 13.97 kB / 0.8438 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/1.645, allocations: 17.08 MB / 0.8605 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.645, allocations: 7.375 kB / 0.8605 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.647, allocations: 0.5694 MB / 0.8611 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007082/1.654, allocations: 2.898 MB / 0.8639 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.655, allocations: 92.69 kB / 0.864 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.666, allocations: 13.72 MB / 0.8774 GB, free: 93.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001862/1.667, allocations: 4.435 MB / 0.8817 GB, free: 89.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.683, allocations: 11.25 MB / 0.8927 GB, free: 85.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.685, allocations: 0.534 MB / 0.8932 GB, free: 85.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/1.686, allocations: 78.05 kB / 0.8933 GB, free: 84.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.688, allocations: 372.5 kB / 0.8937 GB, free: 84.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005523/1.689, allocations: 242 kB / 0.8939 GB, free: 84.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.689, allocations: 100.8 kB / 0.894 GB, free: 84.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004483/1.694, allocations: 3.21 MB / 0.8971 GB, free: 83.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.694, allocations: 0 / 0.8971 GB, free: 83.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006689/1.7, allocations: 1.733 MB / 0.8988 GB, free: 83.67 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.0007102/1.701, allocations: 250.6 kB / 0.8991 GB, free: 83.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01676/1.718, allocations: 10.37 MB / 0.9092 GB, free: 75.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.718, allocations: 0 / 0.9092 GB, free: 75.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008238/1.726, allocations: 5.087 MB / 0.9142 GB, free: 71.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008802/1.735, allocations: 0.6141 MB / 0.9148 GB, free: 70.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.759, allocations: 18.06 MB / 0.9324 GB, free: 54.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004605/1.764, allocations: 4.304 MB / 0.9366 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006398/1.77, allocations: 2.575 MB / 0.9391 GB, free: 48.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009903/1.771, allocations: 363.3 kB / 0.9395 GB, free: 48.34 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/1.771, allocations: 0 / 0.9395 GB, free: 48.34 MB / 458.7 MB Notification: Performance of Templates: time 0.2886/2.06, allocations: 60.83 MB / 0.9989 GB, free: 97.41 MB / 458.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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches