Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 181.3 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 98.44 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 11.94 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 50.4 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3669, allocations: 102.1 MB / 0.4918 GB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.3673, allocations: 97.19 kB / 0.4919 GB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4793/0.8467, allocations: 120.5 MB / 0.6096 GB, free: 2.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.8467, allocations: 0 / 0.6096 GB, free: 2.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003659/0.8471, allocations: 119.9 kB / 0.6097 GB, free: 2.195 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.03128/0.8784, allocations: 7.023 MB / 0.6165 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8784, allocations: 12.03 kB / 0.6165 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.8952, allocations: 3.471 MB / 0.6199 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/0.9146, allocations: 7.32 MB / 0.6271 GB, free: 216 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/0.9153, allocations: 460 kB / 0.6275 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003468/0.9187, allocations: 0.6051 MB / 0.6281 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04406/0.9628, allocations: 17.71 MB / 0.6454 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003581/0.9632, allocations: 75.34 kB / 0.6455 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002103/0.9653, allocations: 299.8 kB / 0.6458 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002845/0.9682, allocations: 1.637 MB / 0.6474 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2507/1.219, allocations: 15.34 MB / 0.6623 GB, free: 69.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07473/1.294, allocations: 67.48 MB / 0.7282 GB, free: 30.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/1.31, allocations: 7.023 MB / 0.7351 GB, free: 28.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.33, allocations: 14.51 MB / 0.7493 GB, free: 20.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.331, allocations: 65.22 kB / 0.7493 GB, free: 20.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 6.352e-06/1.331, allocations: 0 / 0.7493 GB, free: 20.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.06249/1.393, allocations: 26.06 MB / 0.7748 GB, free: 8.859 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00238/1.396, allocations: 4.617 MB / 0.7793 GB, free: 4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007293/1.403, allocations: 4.585 MB / 0.7838 GB, free: 204 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009981/1.404, allocations: 73.7 kB / 0.7838 GB, free: 124 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004349/1.408, allocations: 4.196 MB / 0.7879 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/1.41, allocations: 1.243 MB / 0.7892 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007574/1.411, allocations: 175 kB / 0.7893 GB, free: 11.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005364/1.412, allocations: 0.6816 MB / 0.79 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006404/1.418, allocations: 3.573 MB / 0.7935 GB, free: 7.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.43, allocations: 8.492 MB / 0.8018 GB, free: 13.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.44, allocations: 5.309 MB / 0.807 GB, free: 9.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001815/1.44, allocations: 48 kB / 0.807 GB, free: 8.977 MB / 458.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03421/1.474, allocations: 14.18 MB / 0.8208 GB, free: 13.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.475, allocations: 76 kB / 0.8209 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01515/1.49, allocations: 6.748 MB / 0.8275 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009628/1.5, allocations: 2.881 MB / 0.8303 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007832/1.507, allocations: 2.07 MB / 0.8323 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2191/1.727, allocations: 12.86 MB / 0.8449 GB, free: 99.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008302/1.735, allocations: 0.8156 MB / 0.8457 GB, free: 99.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/1.737, allocations: 0.5187 MB / 0.8462 GB, free: 99.27 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.004821/1.741, allocations: 2.744 MB / 0.8489 GB, free: 99.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008774/1.742, allocations: 480.3 kB / 0.8493 GB, free: 99.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.755, allocations: 7.288 MB / 0.8565 GB, free: 98.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01179/1.767, allocations: 6.468 MB / 0.8628 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.514e-05/1.767, allocations: 6.562 kB / 0.8628 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-05/1.767, allocations: 16.97 kB / 0.8628 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/1.798, allocations: 17.07 MB / 0.8795 GB, free: 97.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/1.798, allocations: 9.719 kB / 0.8795 GB, free: 97.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.801, allocations: 0.5705 MB / 0.88 GB, free: 97.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00787/1.809, allocations: 2.895 MB / 0.8829 GB, free: 96.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006107/1.809, allocations: 99.8 kB / 0.883 GB, free: 96.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.821, allocations: 13.96 MB / 0.8966 GB, free: 87.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002074/1.823, allocations: 4.47 MB / 0.901 GB, free: 83.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/1.842, allocations: 12.19 MB / 0.9129 GB, free: 78.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/1.843, allocations: 0.5382 MB / 0.9134 GB, free: 78.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.845, allocations: 73.62 kB / 0.9134 GB, free: 78.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.848, allocations: 368.6 kB / 0.9138 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/1.849, allocations: 244.7 kB / 0.914 GB, free: 78.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.849, allocations: 101.9 kB / 0.9141 GB, free: 78.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005074/1.854, allocations: 3.179 MB / 0.9172 GB, free: 77.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.854, allocations: 0 / 0.9172 GB, free: 77.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007634/1.862, allocations: 1.733 MB / 0.9189 GB, free: 76.92 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.0006998/1.862, allocations: 255.1 kB / 0.9192 GB, free: 76.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01569/1.878, allocations: 10.37 MB / 0.9293 GB, free: 70.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.878, allocations: 3.844 kB / 0.9293 GB, free: 70.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008868/1.887, allocations: 5.081 MB / 0.9343 GB, free: 66.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.89, allocations: 0.5852 MB / 0.9348 GB, free: 65.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.914, allocations: 17.98 MB / 0.9524 GB, free: 49.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003854/1.918, allocations: 4.408 MB / 0.9567 GB, free: 46.72 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005936/1.924, allocations: 2.565 MB / 0.9592 GB, free: 45.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.925, allocations: 365.2 kB / 0.9596 GB, free: 44.77 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/1.925, allocations: 4 kB / 0.9596 GB, free: 44.76 MB / 474.7 MB Notification: Performance of Templates: time 0.2821/2.207, allocations: 60.49 MB / 1.019 GB, free: 90.85 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches