Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000992/0.000992, allocations: 91.11 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 4 kB / 307.3 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.0131/0.1316, allocations: 12.51 MB / 371.3 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2652/0.3968, allocations: 4.001 MB / 375.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.3998, allocations: 54.31 kB / 375.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.402, allocations: 0.5921 MB / 375.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008449/0.4104, allocations: 2.21 MB / 378.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.412, allocations: 435.9 kB / 378.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007093/0.4191, allocations: 3.36 MB / 381.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.4205, allocations: 0.5245 MB / 382.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.4226, allocations: 0.7694 MB / 383.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.4251, allocations: 1.302 MB / 384.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.4256, allocations: 82.12 kB / 384.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.428, allocations: 0.8026 MB / 385.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.4296, allocations: 1.06 MB / 386.5 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.4304, allocations: 0.4908 MB / 387 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004345/0.4347, allocations: 2.985 MB / 390 MB, free: 5.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4347, allocations: 0 / 390 MB, free: 5.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4348, allocations: 0.9062 kB / 390 MB, free: 5.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.4349, allocations: 0 / 390 MB, free: 5.227 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.007927/0.4428, allocations: 2.728 MB / 392.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4429, allocations: 9.625 kB / 392.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/0.4515, allocations: 2.047 MB / 394.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/0.4566, allocations: 1.549 MB / 396.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.4568, allocations: 116.4 kB / 396.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.4578, allocations: 303.3 kB / 396.7 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4741, allocations: 8.226 MB / 404.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.783e-05/0.4742, allocations: 41.23 kB / 405 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.4745, allocations: 81.61 kB / 405 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/0.4767, allocations: 1.393 MB / 406.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.4956, allocations: 9.514 MB / 416 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04324/0.5389, allocations: 30.57 MB / 446.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.551, allocations: 4.427 MB / 451 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003566/0.5546, allocations: 2.11 MB / 453.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.5547, allocations: 11.98 kB / 453.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.82e-05/0.5548, allocations: 50.5 kB / 453.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 9.087e-06/0.5548, allocations: 4 kB / 453.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.0503/0.6051, allocations: 18.41 MB / 471.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002811/0.608, allocations: 3.058 MB / 474.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00567/0.6137, allocations: 2.964 MB / 477.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007779/0.6145, allocations: 45.7 kB / 477.6 MB, free: 1.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.6164, allocations: 2.077 MB / 479.7 MB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.6174, allocations: 0.5725 MB / 480.3 MB, free: 14.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.6177, allocations: 92 kB / 480.3 MB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004106/0.6182, allocations: 0.5127 MB / 480.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/0.6229, allocations: 2.613 MB / 483.5 MB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006827/0.6297, allocations: 5.565 MB / 489 MB, free: 4.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006158/0.6359, allocations: 3.677 MB / 492.7 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.673e-05/0.636, allocations: 32 kB / 492.7 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0349/0.6709, allocations: 11.87 MB / 0.4928 GB, free: 4.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.6711, allocations: 54.66 kB / 0.4928 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02309/0.6942, allocations: 7.149 MB / 0.4998 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02024/0.7145, allocations: 4.729 MB / 0.5044 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/0.7197, allocations: 1.248 MB / 0.5057 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.7374, allocations: 11.5 MB / 0.5169 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00632/0.7438, allocations: 0.5758 MB / 0.5175 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002182/0.746, allocations: 311.9 kB / 0.5178 GB, free: 10.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00547/0.7515, allocations: 1.42 MB / 0.5191 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/0.7529, allocations: 256.7 kB / 0.5194 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.7549, allocations: 415 kB / 0.5198 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01252/0.7675, allocations: 5.01 MB / 0.5247 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-05/0.7676, allocations: 4 kB / 0.5247 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.576e-05/0.7676, allocations: 12.27 kB / 0.5247 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2872/1.055, allocations: 5.357 MB / 0.5299 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/1.055, allocations: 1.172 kB / 0.5299 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.057, allocations: 368.8 kB / 0.5303 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008494/1.066, allocations: 2.385 MB / 0.5326 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007662/1.067, allocations: 49.91 kB / 0.5326 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.077, allocations: 8.839 MB / 0.5413 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001798/1.079, allocations: 2.897 MB / 0.5441 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/1.097, allocations: 8.752 MB / 0.5527 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.098, allocations: 328.9 kB / 0.553 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006348/1.099, allocations: 35.58 kB / 0.553 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.101, allocations: 323.5 kB / 0.5533 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.101, allocations: 111.2 kB / 0.5534 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.101, allocations: 50.97 kB / 0.5535 GB, free: 132.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002927/1.104, allocations: 1.854 MB / 0.5553 GB, free: 131.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.104, allocations: 0 / 0.5553 GB, free: 131.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005446/1.11, allocations: 1.005 MB / 0.5563 GB, free: 131.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005994/1.11, allocations: 175.2 kB / 0.5564 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01143/1.122, allocations: 7.379 MB / 0.5636 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.122, allocations: 6 kB / 0.5636 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005843/1.128, allocations: 3.622 MB / 0.5672 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/1.131, allocations: 298.1 kB / 0.5675 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.144, allocations: 9.594 MB / 0.5768 GB, free: 115.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/1.145, allocations: 2.29 MB / 0.5791 GB, free: 113.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.147, allocations: 235.3 kB / 0.5793 GB, free: 112.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/1.147, allocations: 4 kB / 0.5793 GB, free: 112.8 MB / 446.1 MB Notification: Performance of Templates: time 0.4122/1.559, allocations: 144.8 MB / 0.7207 GB, free: 148.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1