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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009063/0.0009064, allocations: 98.52 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009643/0.0009641, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002586, allocations: 8 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1998/0.3018, allocations: 34.51 MB / 393.2 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3185, allocations: 7.973 MB / 401.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/0.3235, allocations: 164.1 kB / 401.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.3279, allocations: 1.76 MB / 403 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.3415, allocations: 5.274 MB / 408.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.3434, allocations: 0.5108 MB / 408.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004591/0.348, allocations: 3.991 MB / 412.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004652/0.3527, allocations: 3.707 MB / 416.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.3541, allocations: 1.097 MB / 417.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.3561, allocations: 1.651 MB / 419.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.3564, allocations: 120 kB / 419.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.358, allocations: 0.8737 MB / 420.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.3593, allocations: 1.457 MB / 421.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.3599, allocations: 0.7337 MB / 422.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.364, allocations: 4.725 MB / 427.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.364, allocations: 0 / 427.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.364, allocations: 3.938 kB / 427.2 MB, free: 6.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.304e-05/0.3641, allocations: 0 / 427.2 MB, free: 6.516 MB / 334.1 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.005578/0.3697, allocations: 3.486 MB / 430.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3697, allocations: 8.031 kB / 430.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.3757, allocations: 1.925 MB / 432.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.379, allocations: 1.962 MB / 434.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.3792, allocations: 213.4 kB / 434.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007476/0.38, allocations: 363.8 kB / 435.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.3934, allocations: 8.901 MB / 444 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.89e-05/0.3935, allocations: 35.69 kB / 444.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003199/0.3938, allocations: 139.8 kB / 444.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.3961, allocations: 1.634 MB / 445.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.4091, allocations: 7.514 MB / 453.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/0.4458, allocations: 35.14 MB / 488.5 MB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008035/0.4539, allocations: 3.49 MB / 492 MB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.4558, allocations: 1.429 MB / 493.4 MB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009029/0.4648, allocations: 6.891 MB / 0.4886 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4649, allocations: 47.22 kB / 0.4886 GB, free: 11.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.132e-06/0.4649, allocations: 4 kB / 0.4886 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.0256/0.4905, allocations: 11.19 MB / 0.4996 GB, free: 15.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001218/0.4918, allocations: 1.62 MB / 0.5011 GB, free: 13.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.4961, allocations: 3.504 MB / 0.5046 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.4963, allocations: 49.7 kB / 0.5046 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.4982, allocations: 2.782 MB / 0.5073 GB, free: 7.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/0.4988, allocations: 0.5672 MB / 0.5079 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.499, allocations: 108.1 kB / 0.508 GB, free: 6.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003161/0.4993, allocations: 0.5452 MB / 0.5085 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/0.5021, allocations: 1.908 MB / 0.5104 GB, free: 4.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005063/0.5072, allocations: 5.349 MB / 0.5156 GB, free: 13.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.5114, allocations: 3.142 MB / 0.5187 GB, free: 10.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-05/0.5114, allocations: 36 kB / 0.5187 GB, free: 10.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01816/0.5296, allocations: 8.808 MB / 0.5273 GB, free: 1.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.243e-05/0.5297, allocations: 56 kB / 0.5274 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1814/0.7111, allocations: 3.525 MB / 0.5308 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.7215, allocations: 2.34 MB / 0.5331 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/0.7261, allocations: 1.259 MB / 0.5343 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008814/0.7349, allocations: 6.827 MB / 0.541 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/0.7393, allocations: 390.3 kB / 0.5414 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.7404, allocations: 346.3 kB / 0.5417 GB, free: 136.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (676): * Single equations (assignments): 667 * 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.003424/0.7438, allocations: 1.846 MB / 0.5435 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006257/0.7444, allocations: 299.2 kB / 0.5438 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009174/0.7454, allocations: 407.2 kB / 0.5442 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004345/0.7497, allocations: 2.382 MB / 0.5465 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.7497, allocations: 2.75 kB / 0.5465 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.7498, allocations: 12.69 kB / 0.5465 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.7619, allocations: 7.859 MB / 0.5542 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.7619, allocations: 3.781 kB / 0.5542 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.7629, allocations: 234.1 kB / 0.5544 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/0.7654, allocations: 1.057 MB / 0.5554 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.7656, allocations: 36.09 kB / 0.5555 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.7698, allocations: 4.96 MB / 0.5603 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007095/0.7705, allocations: 1.472 MB / 0.5617 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006554/0.7771, allocations: 4.986 MB / 0.5666 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000919/0.778, allocations: 370.8 kB / 0.567 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/0.7787, allocations: 37.84 kB / 0.567 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.7802, allocations: 128.1 kB / 0.5671 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.7804, allocations: 95.98 kB / 0.5672 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.7805, allocations: 39.52 kB / 0.5673 GB, free: 122.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002989/0.7835, allocations: 2.158 MB / 0.5694 GB, free: 120.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7835, allocations: 0 / 0.5694 GB, free: 120.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004331/0.7878, allocations: 0.9573 MB / 0.5703 GB, free: 119.8 MB / 446.1 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 {(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.0003831/0.7882, allocations: 166.3 kB / 0.5705 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007631/0.7959, allocations: 5.199 MB / 0.5755 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.7959, allocations: 0 / 0.5755 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00296/0.7989, allocations: 2.02 MB / 0.5775 GB, free: 112.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.8012, allocations: 385.3 kB / 0.5779 GB, free: 111.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.8152, allocations: 9.987 MB / 0.5876 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.8176, allocations: 2.893 MB / 0.5905 GB, free: 99.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003783/0.8214, allocations: 1.701 MB / 0.5921 GB, free: 97.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.822, allocations: 207.4 kB / 0.5923 GB, free: 97.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.822, allocations: 0 / 0.5923 GB, free: 97.15 MB / 446.1 MB Notification: Performance of Templates: time 0.05081/0.8728, allocations: 33.59 MB / 0.6251 GB, free: 63.72 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches