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.001015/0.001015, allocations: 180 kB / 17.01 MB, free: 5.125 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.502/1.502, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.000842/0.000842, allocations: 100.8 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 47.56 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.3511, allocations: 100.4 MB / 476.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.3515, allocations: 91.95 kB / 476.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5112/0.8627, allocations: 119.2 MB / 0.5816 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.8627, allocations: 0 / 0.5816 GB, free: 34.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003998/0.8631, allocations: 116 kB / 0.5817 GB, free: 34.41 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.03075/0.8939, allocations: 7.062 MB / 0.5886 GB, free: 27.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.894, allocations: 12.03 kB / 0.5886 GB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.9101, allocations: 3.479 MB / 0.592 GB, free: 23.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02191/0.9321, allocations: 7.754 MB / 0.5996 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/0.9329, allocations: 456 kB / 0.6 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004318/0.9372, allocations: 0.609 MB / 0.6006 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/0.9831, allocations: 17.7 MB / 0.6179 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005213/0.9837, allocations: 83.28 kB / 0.618 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003848/0.9876, allocations: 295.8 kB / 0.6182 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003646/0.9912, allocations: 1.637 MB / 0.6198 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04042/1.032, allocations: 15.36 MB / 0.6348 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3591/1.391, allocations: 67.56 MB / 0.7008 GB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/1.41, allocations: 7.016 MB / 0.7077 GB, free: 30.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03005/1.441, allocations: 14.54 MB / 0.7219 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.441, allocations: 67.91 kB / 0.7219 GB, free: 25.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=289): time 7.203e-06/1.441, allocations: 0 / 0.7219 GB, free: 25.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.07486/1.516, allocations: 26.21 MB / 0.7475 GB, free: 16.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002708/1.518, allocations: 4.62 MB / 0.752 GB, free: 11.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00804/1.526, allocations: 4.614 MB / 0.7565 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008986/1.527, allocations: 78.69 kB / 0.7566 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002474/1.53, allocations: 4.182 MB / 0.7607 GB, free: 7.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.532, allocations: 1.239 MB / 0.7619 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/1.532, allocations: 174 kB / 0.7621 GB, free: 6.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/1.533, allocations: 0.6755 MB / 0.7627 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00519/1.538, allocations: 3.572 MB / 0.7662 GB, free: 2.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/1.551, allocations: 8.704 MB / 0.7747 GB, free: 9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.561, allocations: 5.326 MB / 0.7799 GB, free: 4.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002804/1.562, allocations: 52 kB / 0.78 GB, free: 4.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03803/1.6, allocations: 14.15 MB / 0.7938 GB, free: 8.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003307/1.6, allocations: 78.66 kB / 0.7939 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01736/1.618, allocations: 6.744 MB / 0.8005 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009895/1.627, allocations: 2.881 MB / 0.8033 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008893/1.636, allocations: 2.07 MB / 0.8053 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.652, allocations: 12.88 MB / 0.8179 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2722/1.924, allocations: 0.8102 MB / 0.8187 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003504/1.928, allocations: 0.5192 MB / 0.8192 GB, free: 111 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.01138/1.939, allocations: 2.738 MB / 0.8218 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.941, allocations: 490.8 kB / 0.8223 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02135/1.962, allocations: 7.281 MB / 0.8294 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02163/1.984, allocations: 6.476 MB / 0.8357 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.584e-05/1.984, allocations: 3.5 kB / 0.8357 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/1.984, allocations: 22.02 kB / 0.8358 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05817/2.042, allocations: 17.06 MB / 0.8524 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-05/2.042, allocations: 7.188 kB / 0.8524 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004413/2.047, allocations: 0.5831 MB / 0.853 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/2.061, allocations: 2.885 MB / 0.8558 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/2.062, allocations: 96.16 kB / 0.8559 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/2.081, allocations: 13.96 MB / 0.8695 GB, free: 99.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00353/2.084, allocations: 4.462 MB / 0.8739 GB, free: 95.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02905/2.113, allocations: 12.21 MB / 0.8858 GB, free: 90.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/2.116, allocations: 0.5475 MB / 0.8864 GB, free: 90.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/2.119, allocations: 84.09 kB / 0.8864 GB, free: 90.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005714/2.124, allocations: 358.7 kB / 0.8868 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/2.126, allocations: 244.4 kB / 0.887 GB, free: 90.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007096/2.126, allocations: 98.52 kB / 0.8871 GB, free: 90.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009087/2.135, allocations: 3.209 MB / 0.8902 GB, free: 89.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.136, allocations: 0 / 0.8902 GB, free: 89.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01496/2.15, allocations: 1.737 MB / 0.8919 GB, free: 89.17 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.001687/2.152, allocations: 256.8 kB / 0.8922 GB, free: 89.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02562/2.178, allocations: 10.36 MB / 0.9023 GB, free: 82.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/2.178, allocations: 4 kB / 0.9023 GB, free: 82.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01289/2.191, allocations: 5.083 MB / 0.9073 GB, free: 78.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/2.196, allocations: 0.5754 MB / 0.9078 GB, free: 77.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04184/2.238, allocations: 18 MB / 0.9254 GB, free: 61.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007316/2.245, allocations: 4.423 MB / 0.9297 GB, free: 58.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006717/2.252, allocations: 2.581 MB / 0.9322 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/2.253, allocations: 367.3 kB / 0.9326 GB, free: 56.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/2.253, allocations: 0 / 0.9326 GB, free: 56.05 MB / 458.7 MB Notification: Performance of Templates: time 0.3486/2.602, allocations: 60.61 MB / 0.9918 GB, free: 102.8 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/jenkins/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