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.00145/0.00145, allocations: 175.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 97.92 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.598e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4901, allocations: 101.4 MB / 488.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.4905, allocations: 83.95 kB / 488.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.532/1.023, allocations: 118 MB / 0.5927 GB, free: 97.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.023, allocations: 0 / 0.5927 GB, free: 97.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000347/1.023, allocations: 114.4 kB / 0.5928 GB, free: 97.04 MB / 426.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.03216/1.055, allocations: 6.73 MB / 0.5994 GB, free: 94.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/1.055, allocations: 10.66 kB / 0.5994 GB, free: 94.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/1.073, allocations: 3.468 MB / 0.6028 GB, free: 94.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/1.093, allocations: 7.281 MB / 0.6099 GB, free: 91.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004718/1.094, allocations: 199.4 kB / 0.6101 GB, free: 91.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00342/1.097, allocations: 365.6 kB / 0.6105 GB, free: 91.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01724/1.114, allocations: 9.234 MB / 0.6195 GB, free: 86.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02848/1.143, allocations: 13.24 MB / 0.6324 GB, free: 71.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005162/1.143, allocations: 79.28 kB / 0.6325 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003548/1.147, allocations: 40 kB / 0.6325 GB, free: 71.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00286/1.15, allocations: 1.637 MB / 0.6341 GB, free: 69.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07467/1.224, allocations: 66.33 MB / 0.6989 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007036/1.232, allocations: 4.872 MB / 0.7036 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004804/1.236, allocations: 2.955 MB / 0.7065 GB, free: 9.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2908/1.527, allocations: 13.38 MB / 0.7196 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/1.527, allocations: 63.33 kB / 0.7197 GB, free: 103.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 6.492e-06/1.527, allocations: 2.25 kB / 0.7197 GB, free: 103.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=307): time 0.04376/1.571, allocations: 18.97 MB / 0.7382 GB, free: 100.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/1.571, allocations: 166.5 kB / 0.7383 GB, free: 100.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006009/1.577, allocations: 3.861 MB / 0.7421 GB, free: 99.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008296/1.578, allocations: 25.7 kB / 0.7421 GB, free: 99.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/1.58, allocations: 4.247 MB / 0.7463 GB, free: 97.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.582, allocations: 1.166 MB / 0.7474 GB, free: 96.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/1.583, allocations: 3.938 kB / 0.7474 GB, free: 96.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003837/1.583, allocations: 0.6775 MB / 0.7481 GB, free: 96.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/1.587, allocations: 3.259 MB / 0.7513 GB, free: 94.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006089/1.593, allocations: 8.294 MB / 0.7594 GB, free: 87.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00647/1.6, allocations: 5.045 MB / 0.7643 GB, free: 85.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.734e-05/1.6, allocations: 51.22 kB / 0.7643 GB, free: 85.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02541/1.625, allocations: 12.73 MB / 0.7768 GB, free: 81.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/1.625, allocations: 85.16 kB / 0.7769 GB, free: 81.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01469/1.64, allocations: 6.45 MB / 0.7832 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/1.649, allocations: 2.838 MB / 0.7859 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/1.657, allocations: 2.101 MB / 0.788 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/1.667, allocations: 12.18 MB / 0.7999 GB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009422/1.676, allocations: 0.6554 MB / 0.8005 GB, free: 68.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.678, allocations: 0.5267 MB / 0.801 GB, free: 67.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 818 * 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 (1108): * Single equations (assignments): 1087 * 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.00186/1.68, allocations: 0.5707 MB / 0.8016 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.682, allocations: 446.3 kB / 0.802 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.695, allocations: 6.882 MB / 0.8087 GB, free: 61.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01131/1.706, allocations: 6.179 MB / 0.8148 GB, free: 56.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/1.707, allocations: 4 kB / 0.8148 GB, free: 56.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/1.707, allocations: 18.06 kB / 0.8148 GB, free: 56.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02979/1.736, allocations: 15.25 MB / 0.8297 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/1.736, allocations: 12.03 kB / 0.8297 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/1.739, allocations: 0.55 MB / 0.8302 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007801/1.747, allocations: 2.83 MB / 0.833 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008252/1.748, allocations: 47.94 kB / 0.833 GB, free: 40.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/1.759, allocations: 13.37 MB / 0.8461 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001874/1.761, allocations: 4.259 MB / 0.8503 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.778, allocations: 11.1 MB / 0.8611 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.78, allocations: 495.2 kB / 0.8616 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.781, allocations: 23.98 kB / 0.8616 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/1.784, allocations: 315.4 kB / 0.8619 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/1.785, allocations: 224.6 kB / 0.8621 GB, free: 9.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/1.785, allocations: 87.95 kB / 0.8622 GB, free: 9.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003562/1.789, allocations: 2.524 MB / 0.8647 GB, free: 6.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.789, allocations: 0 / 0.8647 GB, free: 6.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008406/1.797, allocations: 1.563 MB / 0.8662 GB, free: 5.004 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (253): * Single equations (assignments): 238 * 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.0007145/1.798, allocations: 205.8 kB / 0.8664 GB, free: 4.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01628/1.814, allocations: 9.664 MB / 0.8758 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.814, allocations: 192 / 0.8758 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2455/2.06, allocations: 4.877 MB / 0.8806 GB, free: 105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/2.064, allocations: 453.3 kB / 0.881 GB, free: 105 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/2.093, allocations: 12.87 MB / 0.8936 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009261/2.103, allocations: 4.401 MB / 0.8979 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007216/2.11, allocations: 2.583 MB / 0.9004 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/2.111, allocations: 344.5 kB / 0.9007 GB, free: 100.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/2.111, allocations: 0 / 0.9007 GB, free: 100.7 MB / 458.7 MB Notification: Performance of Templates: time 0.08772/2.199, allocations: 53.89 MB / 0.9534 GB, free: 85.44 MB / 458.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