Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001139/0.001139, allocations: 180.3 kB / 8.48 MB, free: 1.867 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.106/1.106, allocations: 205.2 MB / 214.1 MB, free: 13.86 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.0008987/0.0008987, allocations: 98.44 kB / 262.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.674e-06, allocations: 0 / 315 MB, free: 8.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 47.56 MB / 362.5 MB, free: 45.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.2909, allocations: 93.03 MB / 455.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.2912, allocations: 87.94 kB / 455.7 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3139/0.6051, allocations: 70.96 MB / 0.5143 GB, free: 77.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001772/0.6053, allocations: 73.12 kB / 0.5143 GB, free: 77.5 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.01238/0.6177, allocations: 3.756 MB / 0.518 GB, free: 75.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6178, allocations: 9.938 kB / 0.518 GB, free: 75.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008405/0.6262, allocations: 1.762 MB / 0.5197 GB, free: 75.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.6364, allocations: 4.519 MB / 0.5242 GB, free: 75.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.6365, allocations: 123.5 kB / 0.5243 GB, free: 75.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007691/0.6373, allocations: 219.9 kB / 0.5245 GB, free: 75.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006406/0.6437, allocations: 5.504 MB / 0.5299 GB, free: 75.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009694/0.6534, allocations: 8.436 MB / 0.5381 GB, free: 72.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.6536, allocations: 57.38 kB / 0.5381 GB, free: 72.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.654, allocations: 28.25 kB / 0.5382 GB, free: 72.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.6553, allocations: 0.9575 MB / 0.5391 GB, free: 72.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.6879, allocations: 43.55 MB / 0.5816 GB, free: 38.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.6901, allocations: 2.379 MB / 0.584 GB, free: 37.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.6914, allocations: 1.507 MB / 0.5854 GB, free: 36.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0061/0.6976, allocations: 5.151 MB / 0.5905 GB, free: 31.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6976, allocations: 48.7 kB / 0.5905 GB, free: 31.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 3.206e-06/0.6976, allocations: 4 kB / 0.5905 GB, free: 31.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.01565/0.7133, allocations: 8.712 MB / 0.599 GB, free: 23.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.7133, allocations: 145.2 kB / 0.5992 GB, free: 23.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.7164, allocations: 2.834 MB / 0.6019 GB, free: 20.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.7165, allocations: 25.7 kB / 0.602 GB, free: 20.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/0.7174, allocations: 2.674 MB / 0.6046 GB, free: 18.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.7178, allocations: 0.56 MB / 0.6051 GB, free: 17.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.718, allocations: 0 / 0.6051 GB, free: 17.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.7182, allocations: 0.5417 MB / 0.6056 GB, free: 17.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.7201, allocations: 1.842 MB / 0.6074 GB, free: 15.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.7233, allocations: 5.39 MB / 0.6127 GB, free: 7.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.7264, allocations: 3.134 MB / 0.6158 GB, free: 4.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.63e-05/0.7265, allocations: 40 kB / 0.6158 GB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.01702/0.7435, allocations: 7.523 MB / 0.6231 GB, free: 13.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7435, allocations: 7.906 kB / 0.6232 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009319/0.7529, allocations: 2.845 MB / 0.6259 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009165/0.7621, allocations: 1.595 MB / 0.6275 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/0.7662, allocations: 1.271 MB / 0.6287 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007416/0.7737, allocations: 5.258 MB / 0.6339 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/0.7778, allocations: 223.6 kB / 0.6341 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000743/0.7786, allocations: 348 kB / 0.6344 GB, free: 1.484 MB / 410.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): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,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 prepare postOptimizeDAE: time 0.0007443/0.7793, allocations: 432.7 kB / 0.6348 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.7798, allocations: 280.3 kB / 0.6351 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/0.7851, allocations: 2.628 MB / 0.6377 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004492/0.7896, allocations: 2.239 MB / 0.6398 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.7896, allocations: 4 kB / 0.6398 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.7897, allocations: 11.97 kB / 0.6399 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.8033, allocations: 7.2 MB / 0.6469 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.8034, allocations: 0 / 0.6469 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.8045, allocations: 211.7 kB / 0.6471 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/0.8077, allocations: 0.9711 MB / 0.648 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.8078, allocations: 15.98 kB / 0.6481 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005893/0.8137, allocations: 4.823 MB / 0.6528 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000932/0.8147, allocations: 1.379 MB / 0.6541 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007599/0.8223, allocations: 4.991 MB / 0.659 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/0.823, allocations: 341.3 kB / 0.6593 GB, free: 7.418 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.8234, allocations: 19.92 kB / 0.6593 GB, free: 7.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.8247, allocations: 71.81 kB / 0.6594 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.8249, allocations: 64.55 kB / 0.6595 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.825, allocations: 42.05 kB / 0.6595 GB, free: 7.227 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002731/0.8278, allocations: 1.877 MB / 0.6613 GB, free: 5.355 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004033/0.8318, allocations: 0.871 MB / 0.6622 GB, free: 4.484 MB / 442.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.0003921/0.8322, allocations: 154.7 kB / 0.6623 GB, free: 4.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1112/0.9434, allocations: 4.934 MB / 0.6671 GB, free: 167.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9434, allocations: 0 / 0.6671 GB, free: 167.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003399/0.9468, allocations: 1.927 MB / 0.669 GB, free: 166.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.9485, allocations: 295.5 kB / 0.6693 GB, free: 166.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.9594, allocations: 7.021 MB / 0.6762 GB, free: 165.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003145/0.9625, allocations: 3.226 MB / 0.6793 GB, free: 164.7 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.9626, allocations: 0 / 0.6793 GB, free: 164.7 MB / 442.7 MB Notification: Performance of Templates: time 0.05645/1.019, allocations: 33.72 MB / 0.7122 GB, free: 161.3 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches