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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009075/0.0009074, allocations: 93.75 kB / 297.3 MB, free: 6.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002199/0.00022, allocations: 4 kB / 357.9 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2073, allocations: 51.49 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.317, allocations: 96.19 MB / 0.4938 GB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.3172, allocations: 91.94 kB / 0.4939 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3571/0.6743, allocations: 75.27 MB / 0.5674 GB, free: 43.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.6744, allocations: 0 / 0.5674 GB, free: 43.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.6745, allocations: 72 kB / 0.5674 GB, free: 43.08 MB / 378.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.0112/0.6857, allocations: 4.165 MB / 0.5715 GB, free: 38.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6857, allocations: 15.97 kB / 0.5715 GB, free: 38.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008339/0.6941, allocations: 2.206 MB / 0.5737 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009342/0.7035, allocations: 3.827 MB / 0.5774 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.7037, allocations: 287.4 kB / 0.5777 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.7048, allocations: 371.9 kB / 0.578 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.7181, allocations: 9.335 MB / 0.5871 GB, free: 21.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.7183, allocations: 55.47 kB / 0.5872 GB, free: 21.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.7188, allocations: 183.9 kB / 0.5874 GB, free: 21.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.7199, allocations: 0.9077 MB / 0.5883 GB, free: 20.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.7324, allocations: 7.567 MB / 0.5957 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04433/0.7767, allocations: 43.9 MB / 0.6385 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00797/0.7848, allocations: 3.438 MB / 0.6419 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.7965, allocations: 6.843 MB / 0.6486 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.7966, allocations: 43.22 kB / 0.6486 GB, free: 4.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 5.981e-06/0.7967, allocations: 3.984 kB / 0.6486 GB, free: 4.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=139): time 0.02742/0.8241, allocations: 11.32 MB / 0.6597 GB, free: 9.371 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001234/0.8254, allocations: 1.62 MB / 0.6612 GB, free: 7.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/0.8318, allocations: 3.156 MB / 0.6643 GB, free: 4.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000368/0.8322, allocations: 41.7 kB / 0.6644 GB, free: 4.379 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/0.8344, allocations: 2.806 MB / 0.6671 GB, free: 1.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007871/0.8352, allocations: 0.5672 MB / 0.6677 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005142/0.8357, allocations: 108.2 kB / 0.6678 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004733/0.8362, allocations: 0.5334 MB / 0.6683 GB, free: 324 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2002/1.036, allocations: 1.899 MB / 0.6701 GB, free: 109.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/1.04, allocations: 5.324 MB / 0.6753 GB, free: 105.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/1.044, allocations: 3.107 MB / 0.6784 GB, free: 105.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-05/1.044, allocations: 35.59 kB / 0.6784 GB, free: 105.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01693/1.061, allocations: 8.427 MB / 0.6866 GB, free: 104.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/1.061, allocations: 60.52 kB / 0.6867 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008542/1.07, allocations: 3.143 MB / 0.6898 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008567/1.079, allocations: 1.913 MB / 0.6916 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/1.083, allocations: 1.251 MB / 0.6929 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/1.089, allocations: 5.913 MB / 0.6986 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.093, allocations: 374.9 kB / 0.699 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008773/1.094, allocations: 339.1 kB / 0.6993 GB, free: 101.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 665 * 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 {(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 prepare postOptimizeDAE: time 0.003504/1.098, allocations: 1.853 MB / 0.7011 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/1.098, allocations: 299.8 kB / 0.7014 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/1.103, allocations: 2.75 MB / 0.7041 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003921/1.107, allocations: 2.347 MB / 0.7064 GB, free: 99.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.107, allocations: 3.188 kB / 0.7064 GB, free: 99.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/1.107, allocations: 6.047 kB / 0.7064 GB, free: 99.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.123, allocations: 7.823 MB / 0.714 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.123, allocations: 3.719 kB / 0.714 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.124, allocations: 224 kB / 0.7142 GB, free: 96.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/1.127, allocations: 1.05 MB / 0.7153 GB, free: 96.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.127, allocations: 31.33 kB / 0.7153 GB, free: 96.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/1.131, allocations: 5.061 MB / 0.7202 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007539/1.132, allocations: 1.488 MB / 0.7217 GB, free: 91.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007035/1.139, allocations: 5.081 MB / 0.7267 GB, free: 88.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.14, allocations: 371.2 kB / 0.727 GB, free: 88.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/1.141, allocations: 30.34 kB / 0.727 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.142, allocations: 119.1 kB / 0.7272 GB, free: 88.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.142, allocations: 93.16 kB / 0.7272 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.143, allocations: 47.23 kB / 0.7273 GB, free: 88.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003263/1.146, allocations: 2.178 MB / 0.7294 GB, free: 86.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.146, allocations: 0 / 0.7294 GB, free: 86.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004977/1.151, allocations: 0.9667 MB / 0.7304 GB, free: 85.62 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 () * Number of clocked 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 {(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 Backend phase and start with SimCode phase: time 0.0004763/1.151, allocations: 180.3 kB / 0.7305 GB, free: 85.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008291/1.16, allocations: 5.137 MB / 0.7356 GB, free: 80.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.16, allocations: 0 / 0.7356 GB, free: 80.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003447/1.163, allocations: 2.018 MB / 0.7375 GB, free: 79.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/1.166, allocations: 360.3 kB / 0.7379 GB, free: 78.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.182, allocations: 9.863 MB / 0.7475 GB, free: 69.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/1.185, allocations: 2.987 MB / 0.7504 GB, free: 67.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00378/1.188, allocations: 1.698 MB / 0.7521 GB, free: 66.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/1.189, allocations: 217.7 kB / 0.7523 GB, free: 66.37 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/1.189, allocations: 0 / 0.7523 GB, free: 66.37 MB / 442.7 MB Notification: Performance of Templates: time 0.05219/1.241, allocations: 32.88 MB / 0.7844 GB, free: 36.12 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