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.002173/0.002173, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.893/1.893, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001073/0.001073, allocations: 86.92 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003824, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.4919, allocations: 100.4 MB / 474.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4922, allocations: 99.94 kB / 475 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7298/1.222, allocations: 119.2 MB / 0.5803 GB, free: 34.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.222, allocations: 0 / 0.5803 GB, free: 34.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003143/1.222, allocations: 116 kB / 0.5804 GB, free: 34.51 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.04726/1.27, allocations: 7.066 MB / 0.5873 GB, free: 27.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.27, allocations: 8.031 kB / 0.5874 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/1.299, allocations: 3.464 MB / 0.5907 GB, free: 23.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03677/1.336, allocations: 7.765 MB / 0.5983 GB, free: 16.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005561/1.336, allocations: 464 kB / 0.5988 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003239/1.34, allocations: 0.6012 MB / 0.5994 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06045/1.4, allocations: 17.71 MB / 0.6166 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/1.4, allocations: 75.28 kB / 0.6167 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/1.402, allocations: 291.8 kB / 0.617 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004726/1.407, allocations: 1.641 MB / 0.6186 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06178/1.469, allocations: 15.35 MB / 0.6336 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4154/1.884, allocations: 67.56 MB / 0.6996 GB, free: 31.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0307/1.915, allocations: 7.023 MB / 0.7064 GB, free: 30.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03657/1.952, allocations: 14.54 MB / 0.7206 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/1.952, allocations: 71.25 kB / 0.7207 GB, free: 25.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=289): time 6.913e-06/1.952, allocations: 0 / 0.7207 GB, free: 25.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.1208/2.073, allocations: 26.21 MB / 0.7463 GB, free: 16.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003637/2.076, allocations: 4.618 MB / 0.7508 GB, free: 11.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/2.088, allocations: 4.62 MB / 0.7553 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009129/2.089, allocations: 67.64 kB / 0.7554 GB, free: 10.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003628/2.093, allocations: 4.063 MB / 0.7593 GB, free: 7.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002207/2.095, allocations: 1.245 MB / 0.7605 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/2.097, allocations: 174.6 kB / 0.7607 GB, free: 6.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008733/2.098, allocations: 0.6819 MB / 0.7614 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/2.108, allocations: 3.571 MB / 0.7649 GB, free: 2.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01791/2.126, allocations: 8.631 MB / 0.7733 GB, free: 9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/2.142, allocations: 5.316 MB / 0.7785 GB, free: 4.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002075/2.142, allocations: 52 kB / 0.7785 GB, free: 4.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.05141/2.194, allocations: 13.99 MB / 0.7922 GB, free: 9.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/2.194, allocations: 80 kB / 0.7923 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02741/2.221, allocations: 6.747 MB / 0.7989 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01809/2.239, allocations: 2.885 MB / 0.8017 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/2.253, allocations: 2.07 MB / 0.8037 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/2.276, allocations: 12.87 MB / 0.8163 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3215/2.598, allocations: 0.8185 MB / 0.8171 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/2.6, allocations: 0.5175 MB / 0.8176 GB, free: 111.4 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.008273/2.609, allocations: 2.74 MB / 0.8202 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/2.61, allocations: 491.3 kB / 0.8207 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02644/2.637, allocations: 7.28 MB / 0.8278 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02343/2.66, allocations: 6.476 MB / 0.8342 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/2.66, allocations: 9.531 kB / 0.8342 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.575e-05/2.66, allocations: 25.58 kB / 0.8342 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05497/2.715, allocations: 17.05 MB / 0.8508 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.664e-05/2.715, allocations: 14.08 kB / 0.8509 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00538/2.721, allocations: 0.5761 MB / 0.8514 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01571/2.737, allocations: 2.891 MB / 0.8542 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/2.738, allocations: 95.12 kB / 0.8543 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/2.76, allocations: 13.96 MB / 0.868 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003324/2.763, allocations: 4.473 MB / 0.8723 GB, free: 96.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/2.797, allocations: 12.2 MB / 0.8842 GB, free: 91.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/2.799, allocations: 0.54 MB / 0.8848 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002141/2.801, allocations: 83.2 kB / 0.8848 GB, free: 90.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006667/2.808, allocations: 358.5 kB / 0.8852 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/2.809, allocations: 242 kB / 0.8854 GB, free: 90.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005452/2.81, allocations: 102.8 kB / 0.8855 GB, free: 90.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009717/2.819, allocations: 3.209 MB / 0.8887 GB, free: 89.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.819, allocations: 0 / 0.8887 GB, free: 89.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01175/2.831, allocations: 1.74 MB / 0.8904 GB, free: 89.55 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.001485/2.833, allocations: 253.3 kB / 0.8906 GB, free: 89.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02905/2.862, allocations: 10.38 MB / 0.9007 GB, free: 82.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/2.862, allocations: 4 kB / 0.9007 GB, free: 82.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01661/2.878, allocations: 5.093 MB / 0.9057 GB, free: 78.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005363/2.884, allocations: 0.5794 MB / 0.9063 GB, free: 77.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04138/2.925, allocations: 18.64 MB / 0.9245 GB, free: 61.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.935, allocations: 4.425 MB / 0.9288 GB, free: 57.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/2.938, allocations: 430.9 kB / 0.9292 GB, free: 57.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.542e-06/2.938, allocations: 0 / 0.9292 GB, free: 57.55 MB / 458.7 MB Notification: Performance of Templates: time 1.197/4.135, allocations: 355.1 MB / 1.276 GB, free: 58.77 MB / 490.7 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