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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002531, allocations: 179.7 kB / 8.153 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 213.8 MB, free: 13.88 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.001327/0.001327, allocations: 91.03 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.528e-06/9.538e-06, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2682, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.4278, allocations: 99.56 MB / 461.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4282, allocations: 91.94 kB / 461.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6408/1.069, allocations: 115.4 MB / 0.5633 GB, free: 78.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003043/1.069, allocations: 119.9 kB / 0.5635 GB, free: 78.18 MB / 394.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.04703/1.116, allocations: 6.44 MB / 0.5697 GB, free: 71.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.117, allocations: 8.031 kB / 0.5697 GB, free: 71.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0261/1.143, allocations: 2.905 MB / 0.5726 GB, free: 68.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02963/1.172, allocations: 7.751 MB / 0.5802 GB, free: 61.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/1.173, allocations: 200 kB / 0.5803 GB, free: 60.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/1.176, allocations: 367.8 kB / 0.5807 GB, free: 60.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02558/1.202, allocations: 9.564 MB / 0.59 GB, free: 50.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03701/1.239, allocations: 13.57 MB / 0.6033 GB, free: 36.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/1.239, allocations: 75.23 kB / 0.6034 GB, free: 35.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/1.242, allocations: 40 kB / 0.6034 GB, free: 35.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005152/1.247, allocations: 1.735 MB / 0.6051 GB, free: 34.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2797/1.527, allocations: 67.86 MB / 0.6714 GB, free: 89.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00928/1.536, allocations: 4.305 MB / 0.6756 GB, free: 88.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007969/1.544, allocations: 3.483 MB / 0.679 GB, free: 88.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03871/1.583, allocations: 14.83 MB / 0.6934 GB, free: 84.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/1.583, allocations: 69.09 kB / 0.6935 GB, free: 84.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=280): time 8.957e-06/1.583, allocations: 0 / 0.6935 GB, free: 84.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.07887/1.662, allocations: 19.02 MB / 0.7121 GB, free: 80.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/1.662, allocations: 161.2 kB / 0.7122 GB, free: 80.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.673, allocations: 3.942 MB / 0.7161 GB, free: 78.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00092/1.674, allocations: 26.58 kB / 0.7161 GB, free: 78.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003277/1.677, allocations: 3.887 MB / 0.7199 GB, free: 75.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002455/1.68, allocations: 1.173 MB / 0.7211 GB, free: 74.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/1.681, allocations: 0 / 0.7211 GB, free: 74.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001212/1.683, allocations: 0.6869 MB / 0.7217 GB, free: 74.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01021/1.693, allocations: 3.376 MB / 0.725 GB, free: 73.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/1.706, allocations: 8.404 MB / 0.7332 GB, free: 65.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/1.719, allocations: 5.228 MB / 0.7383 GB, free: 63.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002385/1.719, allocations: 49.88 kB / 0.7384 GB, free: 63.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.04452/1.763, allocations: 12.66 MB / 0.7507 GB, free: 53.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.763, allocations: 4 kB / 0.7508 GB, free: 53.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02529/1.789, allocations: 6.455 MB / 0.7571 GB, free: 48.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/1.806, allocations: 2.621 MB / 0.7596 GB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/1.82, allocations: 2.071 MB / 0.7616 GB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/1.827, allocations: 5.115 MB / 0.7666 GB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/1.838, allocations: 475 kB / 0.7671 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/1.841, allocations: 0.5305 MB / 0.7676 GB, free: 38.88 MB / 410.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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003607/1.845, allocations: 0.489 MB / 0.7681 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.846, allocations: 450.2 kB / 0.7685 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02866/1.875, allocations: 6.84 MB / 0.7752 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02463/1.9, allocations: 6.098 MB / 0.7811 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/1.9, allocations: 8 kB / 0.7812 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/1.9, allocations: 22.41 kB / 0.7812 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05301/1.953, allocations: 15.31 MB / 0.7961 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/1.953, allocations: 4 kB / 0.7961 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005722/1.959, allocations: 0.511 MB / 0.7966 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01683/1.976, allocations: 2.683 MB / 0.7993 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.977, allocations: 51.84 kB / 0.7993 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1799/2.157, allocations: 13.11 MB / 0.8121 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003245/2.16, allocations: 4.167 MB / 0.8162 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03467/2.195, allocations: 11.22 MB / 0.8271 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/2.197, allocations: 499.3 kB / 0.8276 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00238/2.199, allocations: 30.2 kB / 0.8276 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006863/2.206, allocations: 218.2 kB / 0.8278 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/2.207, allocations: 151.5 kB / 0.828 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004584/2.208, allocations: 98.91 kB / 0.8281 GB, free: 105.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.007037/2.215, allocations: 2.605 MB / 0.8306 GB, free: 105.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01177/2.227, allocations: 1.531 MB / 0.8321 GB, free: 105.7 MB / 410.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.001447/2.228, allocations: 198.3 kB / 0.8323 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03376/2.262, allocations: 10.3 MB / 0.8424 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.262, allocations: 0 / 0.8424 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01742/2.279, allocations: 4.71 MB / 0.847 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/2.285, allocations: 448.1 kB / 0.8474 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/2.327, allocations: 13.71 MB / 0.8608 GB, free: 99.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01466/2.342, allocations: 4.812 MB / 0.8655 GB, free: 98.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.853e-06/2.342, allocations: 0 / 0.8655 GB, free: 98.47 MB / 410.7 MB Notification: Performance of Templates: time 0.8982/3.24, allocations: 353.5 MB / 1.211 GB, free: 30.65 MB / 410.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