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.00176/0.00176, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.707/1.707, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.00096/0.0009598, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.29e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09877, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4551, allocations: 100.3 MB / 470.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/0.4556, allocations: 81.77 kB / 470.4 MB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4872/0.9428, allocations: 119.3 MB / 0.5759 GB, free: 91.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.9428, allocations: 0 / 0.5759 GB, free: 91.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001742/0.943, allocations: 113.3 kB / 0.576 GB, free: 91.66 MB / 410.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.02398/0.967, allocations: 6.752 MB / 0.5826 GB, free: 89.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9671, allocations: 6.812 kB / 0.5826 GB, free: 89.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.9833, allocations: 3.48 MB / 0.586 GB, free: 88.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.002, allocations: 7.734 MB / 0.5936 GB, free: 86.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/1.002, allocations: 462.7 kB / 0.594 GB, free: 86.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/1.005, allocations: 0.5957 MB / 0.5946 GB, free: 86.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0386/1.044, allocations: 17.5 MB / 0.6117 GB, free: 69.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002547/1.044, allocations: 79.27 kB / 0.6118 GB, free: 69.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/1.046, allocations: 292.9 kB / 0.612 GB, free: 68.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/1.048, allocations: 1.636 MB / 0.6136 GB, free: 67.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03143/1.08, allocations: 14.98 MB / 0.6283 GB, free: 52.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3586/1.438, allocations: 67.55 MB / 0.6942 GB, free: 88.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01843/1.457, allocations: 6.97 MB / 0.7011 GB, free: 86.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004703/1.462, allocations: 3.131 MB / 0.7041 GB, free: 86.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/1.486, allocations: 14.55 MB / 0.7183 GB, free: 83.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/1.486, allocations: 70.19 kB / 0.7184 GB, free: 83.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 5.941e-06/1.486, allocations: 0 / 0.7184 GB, free: 83.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.0571/1.543, allocations: 21.26 MB / 0.7391 GB, free: 78.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002432/1.546, allocations: 4.584 MB / 0.7436 GB, free: 73.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008721/1.554, allocations: 4.479 MB / 0.748 GB, free: 72.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008457/1.555, allocations: 74.05 kB / 0.7481 GB, free: 72.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.558, allocations: 4.173 MB / 0.7521 GB, free: 68.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.559, allocations: 1.245 MB / 0.7534 GB, free: 68.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/1.56, allocations: 183.1 kB / 0.7535 GB, free: 67.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003402/1.56, allocations: 0.6822 MB / 0.7542 GB, free: 67.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/1.564, allocations: 3.42 MB / 0.7575 GB, free: 66.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/1.571, allocations: 8.334 MB / 0.7657 GB, free: 58.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007065/1.578, allocations: 5.208 MB / 0.7708 GB, free: 57.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/1.578, allocations: 48.75 kB / 0.7708 GB, free: 57.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.02741/1.605, allocations: 13.83 MB / 0.7843 GB, free: 50.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/1.606, allocations: 84.06 kB / 0.7844 GB, free: 50.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01356/1.619, allocations: 6.694 MB / 0.7909 GB, free: 45.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008555/1.628, allocations: 2.875 MB / 0.7937 GB, free: 43.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007017/1.635, allocations: 2.079 MB / 0.7958 GB, free: 41.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.645, allocations: 12.63 MB / 0.8081 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008527/1.654, allocations: 0.8277 MB / 0.8089 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/1.656, allocations: 0.5184 MB / 0.8094 GB, free: 28.41 MB / 426.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 () * 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.002412/1.658, allocations: 0.7671 MB / 0.8102 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.659, allocations: 493.7 kB / 0.8106 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.674, allocations: 7.226 MB / 0.8177 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01185/1.686, allocations: 6.428 MB / 0.824 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-05/1.686, allocations: 8 kB / 0.824 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.717e-05/1.686, allocations: 11.95 kB / 0.824 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03425/1.721, allocations: 17.03 MB / 0.8406 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.721, allocations: 8 kB / 0.8406 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/1.724, allocations: 0.5778 MB / 0.8412 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008635/1.732, allocations: 2.885 MB / 0.844 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006311/1.733, allocations: 91.94 kB / 0.8441 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2482/1.981, allocations: 13.7 MB / 0.8575 GB, free: 97.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002251/1.984, allocations: 4.441 MB / 0.8618 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/2.005, allocations: 12.11 MB / 0.8736 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/2.007, allocations: 0.5424 MB / 0.8742 GB, free: 91.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/2.008, allocations: 75 kB / 0.8742 GB, free: 91.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003377/2.012, allocations: 363.6 kB / 0.8746 GB, free: 91.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006826/2.012, allocations: 245.6 kB / 0.8748 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/2.013, allocations: 104.2 kB / 0.8749 GB, free: 91.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00462/2.017, allocations: 3.068 MB / 0.8779 GB, free: 91.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/2.017, allocations: 0 / 0.8779 GB, free: 91.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008038/2.025, allocations: 1.735 MB / 0.8796 GB, free: 91.19 MB / 442.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 () * 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.00072/2.026, allocations: 255.2 kB / 0.8799 GB, free: 91.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01629/2.042, allocations: 10.16 MB / 0.8898 GB, free: 89.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.042, allocations: 3.938 kB / 0.8898 GB, free: 89.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008703/2.051, allocations: 5.032 MB / 0.8947 GB, free: 87.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/2.054, allocations: 0.5809 MB / 0.8953 GB, free: 87.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/2.076, allocations: 13.26 MB / 0.9082 GB, free: 82.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004404/2.081, allocations: 4.412 MB / 0.9125 GB, free: 80.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00664/2.087, allocations: 2.576 MB / 0.915 GB, free: 80.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/2.089, allocations: 364.7 kB / 0.9154 GB, free: 80.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.781e-05/2.089, allocations: 0 / 0.9154 GB, free: 80.39 MB / 442.7 MB Notification: Performance of Templates: time 0.09168/2.18, allocations: 60.66 MB / 0.9746 GB, free: 34.92 MB / 442.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