Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [: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.002494/0.002494, allocations: 180.6 kB / 8.151 MB, free: 2.188 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.821/1.821, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001333/0.001332, allocations: 90 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.207e-06, allocations: 0 / 314.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 47.55 MB / 361.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.3887, allocations: 93.03 MB / 454.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.3891, allocations: 87.95 kB / 455 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.47/0.8592, allocations: 70.97 MB / 0.5136 GB, free: 92.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002271/0.8595, allocations: 75.61 kB / 0.5137 GB, free: 92.79 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.02121/0.8807, allocations: 3.753 MB / 0.5173 GB, free: 91.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8807, allocations: 7 kB / 0.5173 GB, free: 91.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.8967, allocations: 1.765 MB / 0.5191 GB, free: 90.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/0.9151, allocations: 4.52 MB / 0.5235 GB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.9154, allocations: 122.4 kB / 0.5236 GB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.9173, allocations: 225 kB / 0.5238 GB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01421/0.9316, allocations: 5.496 MB / 0.5292 GB, free: 90.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.9527, allocations: 8.441 MB / 0.5374 GB, free: 86.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.953, allocations: 51.09 kB / 0.5375 GB, free: 86.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/0.9546, allocations: 31.5 kB / 0.5375 GB, free: 86.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.9569, allocations: 0.9613 MB / 0.5384 GB, free: 86.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06682/1.024, allocations: 43.54 MB / 0.581 GB, free: 51.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004669/1.028, allocations: 2.374 MB / 0.5833 GB, free: 49.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/1.032, allocations: 1.504 MB / 0.5847 GB, free: 48.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/1.046, allocations: 5.156 MB / 0.5898 GB, free: 43.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.046, allocations: 47.67 kB / 0.5898 GB, free: 43.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 4.95e-06/1.046, allocations: 0 / 0.5898 GB, free: 43.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.03531/1.081, allocations: 8.721 MB / 0.5983 GB, free: 35.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/1.081, allocations: 141.2 kB / 0.5985 GB, free: 35.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007152/1.088, allocations: 2.834 MB / 0.6012 GB, free: 33.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004511/1.089, allocations: 29.7 kB / 0.6013 GB, free: 32.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/1.091, allocations: 2.66 MB / 0.6039 GB, free: 30.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.092, allocations: 0.5516 MB / 0.6044 GB, free: 29.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007017/1.093, allocations: 0 / 0.6044 GB, free: 29.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004621/1.093, allocations: 0.5464 MB / 0.6049 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004954/1.098, allocations: 1.842 MB / 0.6067 GB, free: 27.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007398/1.106, allocations: 5.394 MB / 0.612 GB, free: 20.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007278/1.113, allocations: 3.13 MB / 0.6151 GB, free: 16.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.113, allocations: 36 kB / 0.6151 GB, free: 16.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.03223/1.145, allocations: 7.455 MB / 0.6224 GB, free: 9.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.146, allocations: 4 kB / 0.6224 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01843/1.164, allocations: 2.852 MB / 0.6252 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01834/1.182, allocations: 1.567 MB / 0.6267 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008095/1.191, allocations: 1.278 MB / 0.6279 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/1.198, allocations: 2.659 MB / 0.6305 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006164/1.204, allocations: 215.5 kB / 0.6307 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.206, allocations: 352 kB / 0.6311 GB, free: 452 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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],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 (698): * Single equations (assignments): 689 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001385/1.208, allocations: 349.4 kB / 0.6314 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009321/1.209, allocations: 288.4 kB / 0.6317 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.219, allocations: 2.624 MB / 0.6343 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009393/1.229, allocations: 2.239 MB / 0.6364 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/1.229, allocations: 4 kB / 0.6364 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.649e-05/1.229, allocations: 3.984 kB / 0.6364 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.258, allocations: 7.208 MB / 0.6435 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/1.258, allocations: 0 / 0.6435 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.261, allocations: 211.7 kB / 0.6437 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006423/1.267, allocations: 0.9711 MB / 0.6446 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004465/1.267, allocations: 31.81 kB / 0.6447 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.279, allocations: 4.807 MB / 0.6494 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001555/1.281, allocations: 1.375 MB / 0.6507 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0157/1.296, allocations: 4.994 MB / 0.6556 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.298, allocations: 345.3 kB / 0.6559 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.299, allocations: 15.91 kB / 0.6559 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/1.302, allocations: 71.89 kB / 0.656 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005824/1.303, allocations: 68.41 kB / 0.6561 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.303, allocations: 43.97 kB / 0.6561 GB, free: 6.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006016/1.309, allocations: 1.881 MB / 0.6579 GB, free: 4.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007448/1.317, allocations: 0.8477 MB / 0.6588 GB, free: 3.527 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009171/1.318, allocations: 154.9 kB / 0.6589 GB, free: 3.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1647/1.482, allocations: 5.061 MB / 0.6639 GB, free: 154.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.483, allocations: 0 / 0.6639 GB, free: 154.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006841/1.489, allocations: 1.927 MB / 0.6657 GB, free: 153.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/1.492, allocations: 296.8 kB / 0.666 GB, free: 153.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/1.516, allocations: 7.448 MB / 0.6733 GB, free: 152.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00907/1.525, allocations: 3.242 MB / 0.6765 GB, free: 151.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.764e-06/1.525, allocations: 0 / 0.6765 GB, free: 151.5 MB / 426.7 MB Notification: Performance of Templates: time 0.1858/1.711, allocations: 110.4 MB / 0.7843 GB, free: 72.78 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches