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.001629/0.001629, allocations: 196.7 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 245.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007487/0.0007486, allocations: 95.94 kB / 297.5 MB, free: 6.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002479, allocations: 4 kB / 358.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2181, allocations: 51.29 MB / 409.4 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3297, allocations: 96.21 MB / 0.4937 GB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.33, allocations: 96.88 kB / 0.4938 GB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3554/0.6854, allocations: 73.9 MB / 0.566 GB, free: 46.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6854, allocations: 0 / 0.566 GB, free: 46.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000235/0.6857, allocations: 71.98 kB / 0.5661 GB, free: 46.02 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.01482/0.7005, allocations: 4.118 MB / 0.5701 GB, free: 41.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7006, allocations: 8.031 kB / 0.5701 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008971/0.7096, allocations: 2.172 MB / 0.5722 GB, free: 39.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007221/0.7168, allocations: 3.18 MB / 0.5753 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.7171, allocations: 287.8 kB / 0.5756 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.7187, allocations: 372.2 kB / 0.576 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.735, allocations: 9.261 MB / 0.585 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/0.7352, allocations: 55.5 kB / 0.5851 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.7363, allocations: 187.9 kB / 0.5852 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.7373, allocations: 0.9077 MB / 0.5861 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.7503, allocations: 7.469 MB / 0.5934 GB, free: 16.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/0.7978, allocations: 43.84 MB / 0.6362 GB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008238/0.8061, allocations: 3.424 MB / 0.6396 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.8084, allocations: 1.432 MB / 0.641 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.8191, allocations: 6.827 MB / 0.6476 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.8192, allocations: 43.22 kB / 0.6477 GB, free: 7.406 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 4.89e-06/0.8192, allocations: 0 / 0.6477 GB, free: 7.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=139): time 0.02702/0.8462, allocations: 11.06 MB / 0.6585 GB, free: 12.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001373/0.8476, allocations: 1.604 MB / 0.66 GB, free: 10.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/0.8544, allocations: 3.528 MB / 0.6635 GB, free: 6.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003277/0.8547, allocations: 45.7 kB / 0.6635 GB, free: 6.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.857, allocations: 2.809 MB / 0.6663 GB, free: 3.969 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000832/0.8579, allocations: 0.5633 MB / 0.6668 GB, free: 3.398 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.8584, allocations: 108 kB / 0.6669 GB, free: 3.293 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004881/0.8589, allocations: 0.5374 MB / 0.6675 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003304/0.8623, allocations: 1.892 MB / 0.6693 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2126/1.075, allocations: 5.347 MB / 0.6745 GB, free: 107 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0065/1.081, allocations: 7.821 MB / 0.6822 GB, free: 102.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.333e-05/1.082, allocations: 36.12 kB / 0.6822 GB, free: 102.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01819/1.1, allocations: 8.424 MB / 0.6904 GB, free: 101.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/1.1, allocations: 58.94 kB / 0.6905 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009005/1.109, allocations: 3.153 MB / 0.6936 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008387/1.117, allocations: 1.892 MB / 0.6954 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003715/1.121, allocations: 1.249 MB / 0.6966 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/1.127, allocations: 5.708 MB / 0.7022 GB, free: 98.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/1.132, allocations: 372.9 kB / 0.7026 GB, free: 98.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007152/1.132, allocations: 343.4 kB / 0.7029 GB, free: 98.72 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.00274/1.135, allocations: 1.848 MB / 0.7047 GB, free: 98.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/1.136, allocations: 296.5 kB / 0.705 GB, free: 98.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/1.14, allocations: 2.753 MB / 0.7077 GB, free: 97.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0037/1.144, allocations: 2.345 MB / 0.71 GB, free: 96.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.144, allocations: 5.75 kB / 0.71 GB, free: 96.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.144, allocations: 13.36 kB / 0.71 GB, free: 96.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.155, allocations: 7.823 MB / 0.7176 GB, free: 93.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.155, allocations: 4.25 kB / 0.7176 GB, free: 93.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/1.156, allocations: 223.5 kB / 0.7178 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.159, allocations: 1.048 MB / 0.7188 GB, free: 93.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/1.159, allocations: 30.91 kB / 0.7189 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004269/1.163, allocations: 4.963 MB / 0.7237 GB, free: 90.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006976/1.164, allocations: 1.468 MB / 0.7252 GB, free: 88.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006332/1.17, allocations: 4.942 MB / 0.73 GB, free: 86.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/1.171, allocations: 367.8 kB / 0.7303 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/1.171, allocations: 36.16 kB / 0.7304 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.172, allocations: 127.9 kB / 0.7305 GB, free: 86.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.173, allocations: 84.95 kB / 0.7306 GB, free: 86.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/1.173, allocations: 43.03 kB / 0.7306 GB, free: 86.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00281/1.176, allocations: 2.186 MB / 0.7327 GB, free: 84.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 0 / 0.7327 GB, free: 84.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003826/1.179, allocations: 0.9603 MB / 0.7337 GB, free: 83.32 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.0003539/1.18, allocations: 176.1 kB / 0.7339 GB, free: 83.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006841/1.187, allocations: 5.142 MB / 0.7389 GB, free: 78.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.187, allocations: 0 / 0.7389 GB, free: 78.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.19, allocations: 2.015 MB / 0.7408 GB, free: 76.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.192, allocations: 378.6 kB / 0.7412 GB, free: 76.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.204, allocations: 9.916 MB / 0.7509 GB, free: 67.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/1.206, allocations: 2.903 MB / 0.7537 GB, free: 65.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003778/1.21, allocations: 1.705 MB / 0.7554 GB, free: 64.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/1.211, allocations: 206.7 kB / 0.7556 GB, free: 64.02 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/1.211, allocations: 0 / 0.7556 GB, free: 64.02 MB / 442.7 MB Notification: Performance of Templates: time 0.04859/1.259, allocations: 32.97 MB / 0.7878 GB, free: 33.62 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/jenkins1/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