Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009094, allocations: 84.53 kB / 17.58 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008057/0.0008055, allocations: 190.1 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 224.6 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004476, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01736/0.13, allocations: 12.51 MB / 341.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.141, allocations: 3.967 MB / 345.5 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.1433, allocations: 59.81 kB / 345.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.1454, allocations: 0.5949 MB / 346.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007648/0.153, allocations: 2.211 MB / 348.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1547, allocations: 439.3 kB / 348.8 MB, free: 240 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005546/0.1602, allocations: 3.269 MB / 352 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.1615, allocations: 0.5233 MB / 352.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.1635, allocations: 0.7823 MB / 353.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.1668, allocations: 1.297 MB / 354.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.1678, allocations: 84 kB / 354.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.1705, allocations: 0.8229 MB / 355.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.1723, allocations: 1.056 MB / 356.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.1735, allocations: 0.4923 MB / 357.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.178, allocations: 2.993 MB / 360.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.178, allocations: 0 / 360.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.178, allocations: 0 / 360.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.1782, allocations: 0 / 360.1 MB, free: 4.84 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.006604/0.1848, allocations: 2.741 MB / 362.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1848, allocations: 12.03 kB / 362.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008063/0.1929, allocations: 1.938 MB / 364.8 MB, free: 84 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/0.1962, allocations: 1.695 MB / 366.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1964, allocations: 118.6 kB / 366.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008312/0.1972, allocations: 307.5 kB / 366.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.2121, allocations: 8.227 MB / 375.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/0.2123, allocations: 39.64 kB / 375.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.2125, allocations: 79.89 kB / 375.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002198/0.2147, allocations: 1.401 MB / 376.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2398/0.4545, allocations: 9.5 MB / 386.1 MB, free: 47.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.4881, allocations: 30.59 MB / 416.7 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009895/0.498, allocations: 4.417 MB / 421.1 MB, free: 20.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/0.5005, allocations: 2.114 MB / 423.3 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.5006, allocations: 11.88 kB / 423.3 MB, free: 18.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.5006, allocations: 50.52 kB / 423.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 4.589e-06/0.5007, allocations: 7.938 kB / 423.3 MB, free: 18.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04065/0.5413, allocations: 18.44 MB / 441.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003055/0.5444, allocations: 3.052 MB / 444.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/0.5498, allocations: 2.979 MB / 447.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008404/0.5506, allocations: 51.56 kB / 447.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.5525, allocations: 2.082 MB / 449.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/0.5541, allocations: 0.5751 MB / 450.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.5544, allocations: 92 kB / 450.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0004108/0.5548, allocations: 0.5127 MB / 451.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/0.559, allocations: 2.613 MB / 453.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006709/0.5658, allocations: 5.565 MB / 459.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0059/0.5717, allocations: 3.676 MB / 463 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.923e-05/0.5718, allocations: 32 kB / 463 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03079/0.6026, allocations: 11.74 MB / 474.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.6027, allocations: 48 kB / 474.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02182/0.6245, allocations: 6.997 MB / 481.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/0.6441, allocations: 4.566 MB / 486.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/0.6491, allocations: 1.244 MB / 487.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.6657, allocations: 11.44 MB / 499 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/0.6718, allocations: 0.5771 MB / 499.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.673, allocations: 324.6 kB / 499.9 MB, free: 2.965 MB / 382.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.003283/0.6763, allocations: 1.408 MB / 0.4896 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/0.6771, allocations: 256.7 kB / 0.4898 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000974/0.678, allocations: 415.2 kB / 0.4902 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0113/0.6893, allocations: 5.014 MB / 0.4951 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/0.6894, allocations: 8 kB / 0.4951 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/0.6895, allocations: 3.984 kB / 0.4951 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00977/0.6992, allocations: 5.383 MB / 0.5004 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6993, allocations: 0 / 0.5004 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.701, allocations: 371.4 kB / 0.5007 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007597/0.7086, allocations: 2.386 MB / 0.5031 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004555/0.709, allocations: 43.95 kB / 0.5031 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.7191, allocations: 8.839 MB / 0.5117 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002278/0.7214, allocations: 2.892 MB / 0.5146 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2668/0.9882, allocations: 8.742 MB / 0.5231 GB, free: 128.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.9894, allocations: 340.5 kB / 0.5234 GB, free: 128.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006761/0.9901, allocations: 34.41 kB / 0.5235 GB, free: 128.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.9923, allocations: 320.1 kB / 0.5238 GB, free: 128.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/0.9927, allocations: 100.9 kB / 0.5239 GB, free: 128.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.9929, allocations: 53.36 kB / 0.5239 GB, free: 128.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003871/0.9968, allocations: 1.87 MB / 0.5257 GB, free: 128 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.9968, allocations: 0 / 0.5257 GB, free: 128 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005712/1.003, allocations: 1.008 MB / 0.5267 GB, free: 128 MB / 414.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.0005531/1.003, allocations: 169.8 kB / 0.5269 GB, free: 127.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.017, allocations: 7.39 MB / 0.5341 GB, free: 126 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.017, allocations: 0 / 0.5341 GB, free: 126 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005672/1.023, allocations: 3.622 MB / 0.5376 GB, free: 124.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.025, allocations: 293.6 kB / 0.5379 GB, free: 124.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.037, allocations: 9.627 MB / 0.5473 GB, free: 119.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/1.039, allocations: 2.288 MB / 0.5496 GB, free: 118.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.04, allocations: 238.5 kB / 0.5498 GB, free: 118.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/1.04, allocations: 0 / 0.5498 GB, free: 118.4 MB / 414.1 MB Notification: Performance of Templates: time 0.3526/1.392, allocations: 145 MB / 0.6913 GB, free: 142.6 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1