Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001718/0.001718, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 93.5 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.858e-06, allocations: 4 kB / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 51.48 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.478, allocations: 95.39 MB / 490 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4783, allocations: 84.02 kB / 490.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1976/0.6759, allocations: 72.67 MB / 0.5496 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003346/0.6762, allocations: 68 kB / 0.5496 GB, free: 10.16 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01929/0.6956, allocations: 3.853 MB / 0.5534 GB, free: 6.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.6956, allocations: 12.03 kB / 0.5534 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.7064, allocations: 1.812 MB / 0.5552 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.7185, allocations: 3.813 MB / 0.5589 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.7189, allocations: 120 kB / 0.559 GB, free: 440 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.7207, allocations: 215.9 kB / 0.5592 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01253/0.7332, allocations: 5.512 MB / 0.5646 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02484/0.7581, allocations: 8.437 MB / 0.5728 GB, free: 1.316 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/0.7585, allocations: 59.45 kB / 0.5729 GB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/0.7607, allocations: 28 kB / 0.5729 GB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/0.7624, allocations: 0.9582 MB / 0.5739 GB, free: 280 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2361/0.9986, allocations: 43.49 MB / 0.6163 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/1.002, allocations: 2.386 MB / 0.6187 GB, free: 107.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/1.004, allocations: 1.507 MB / 0.6201 GB, free: 107.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008385/1.012, allocations: 5.142 MB / 0.6252 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.012, allocations: 51.72 kB / 0.6252 GB, free: 105.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 4.939e-06/1.012, allocations: 3.438 kB / 0.6252 GB, free: 105.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.01722/1.029, allocations: 8.643 MB / 0.6337 GB, free: 101.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/1.029, allocations: 143.1 kB / 0.6338 GB, free: 101.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004303/1.034, allocations: 2.806 MB / 0.6365 GB, free: 100.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003684/1.034, allocations: 29.42 kB / 0.6366 GB, free: 100.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.035, allocations: 2.678 MB / 0.6392 GB, free: 98.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007062/1.036, allocations: 0.5496 MB / 0.6397 GB, free: 98.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/1.036, allocations: 2.625 kB / 0.6397 GB, free: 98.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002638/1.037, allocations: 0.5434 MB / 0.6402 GB, free: 97.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/1.039, allocations: 1.842 MB / 0.642 GB, free: 97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003918/1.043, allocations: 5.387 MB / 0.6473 GB, free: 91.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/1.047, allocations: 3.139 MB / 0.6504 GB, free: 90.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/1.047, allocations: 39.28 kB / 0.6504 GB, free: 90.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.01948/1.067, allocations: 7.509 MB / 0.6577 GB, free: 88.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.067, allocations: 4.25 kB / 0.6577 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009532/1.076, allocations: 2.832 MB / 0.6605 GB, free: 87.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00915/1.085, allocations: 1.566 MB / 0.662 GB, free: 87.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/1.09, allocations: 1.276 MB / 0.6633 GB, free: 87.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/1.096, allocations: 5.256 MB / 0.6684 GB, free: 83.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004978/1.102, allocations: 221 kB / 0.6686 GB, free: 83.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.103, allocations: 355.6 kB / 0.669 GB, free: 83.69 MB / 442.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.001057/1.104, allocations: 423.5 kB / 0.6694 GB, free: 83.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000635/1.104, allocations: 280.7 kB / 0.6696 GB, free: 83.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/1.109, allocations: 2.627 MB / 0.6722 GB, free: 82.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00389/1.113, allocations: 2.24 MB / 0.6744 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/1.113, allocations: 3.75 kB / 0.6744 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/1.113, allocations: 10.94 kB / 0.6744 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.127, allocations: 7.203 MB / 0.6814 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.127, allocations: 0 / 0.6814 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.128, allocations: 209.8 kB / 0.6816 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/1.131, allocations: 0.9727 MB / 0.6826 GB, free: 78.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.132, allocations: 21.56 kB / 0.6826 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00491/1.136, allocations: 4.81 MB / 0.6873 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007049/1.137, allocations: 1.38 MB / 0.6887 GB, free: 74.19 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006852/1.144, allocations: 4.997 MB / 0.6935 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.145, allocations: 341.4 kB / 0.6939 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.145, allocations: 14.22 kB / 0.6939 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.147, allocations: 63.83 kB / 0.6939 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/1.147, allocations: 64.69 kB / 0.694 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.147, allocations: 40.5 kB / 0.694 GB, free: 71.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003025/1.15, allocations: 1.862 MB / 0.6959 GB, free: 70.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00492/1.155, allocations: 0.8647 MB / 0.6967 GB, free: 69.49 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.0004758/1.156, allocations: 171.8 kB / 0.6969 GB, free: 69.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008579/1.164, allocations: 4.931 MB / 0.7017 GB, free: 64.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.164, allocations: 4 kB / 0.7017 GB, free: 64.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.168, allocations: 1.919 MB / 0.7036 GB, free: 63.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/1.17, allocations: 303.5 kB / 0.7038 GB, free: 62.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.183, allocations: 7.016 MB / 0.7107 GB, free: 56.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00358/1.186, allocations: 3.219 MB / 0.7138 GB, free: 54.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.273e-06/1.186, allocations: 0 / 0.7138 GB, free: 54.09 MB / 442.7 MB Notification: Performance of Templates: time 0.05759/1.244, allocations: 33.67 MB / 0.7467 GB, free: 27 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches