Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001288/0.001288, allocations: 94.78 kB / 16.95 MB, free: 5.625 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.00168/0.00168, allocations: 189.2 kB / 17.85 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 241.9 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 9.094 kB / 301.5 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 50.43 MB / 351.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01265/0.1453, allocations: 12.5 MB / 364.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009461/0.1548, allocations: 3.963 MB / 368.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.1569, allocations: 51.88 kB / 368.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.1585, allocations: 0.5988 MB / 369 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00618/0.1647, allocations: 2.215 MB / 371.2 MB, free: 348 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2786/0.4433, allocations: 423.8 kB / 371.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007311/0.4506, allocations: 3.253 MB / 374.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.4522, allocations: 0.5233 MB / 375.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.4551, allocations: 0.7677 MB / 376.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.4585, allocations: 1.303 MB / 377.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006426/0.4592, allocations: 83.69 kB / 377.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.4617, allocations: 0.8269 MB / 378.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.4636, allocations: 1.046 MB / 379.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000915/0.4645, allocations: 0.4917 MB / 379.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.4705, allocations: 2.994 MB / 382.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4705, allocations: 0 / 382.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4706, allocations: 0 / 382.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001805/0.4707, allocations: 0 / 382.9 MB, free: 8.875 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.008695/0.4795, allocations: 2.736 MB / 385.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4795, allocations: 9.688 kB / 385.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008402/0.4879, allocations: 1.939 MB / 387.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.4927, allocations: 1.597 MB / 389.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.4929, allocations: 114.2 kB / 389.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.4946, allocations: 304 kB / 389.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/0.5154, allocations: 8.235 MB / 397.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.5156, allocations: 38.19 kB / 397.9 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/0.5159, allocations: 79.03 kB / 398 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.5183, allocations: 1.395 MB / 399.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/0.5374, allocations: 9.517 MB / 408.9 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/0.5811, allocations: 30.57 MB / 439.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.593, allocations: 4.428 MB / 443.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/0.5968, allocations: 2.117 MB / 446 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.5969, allocations: 8 kB / 446 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.597, allocations: 59.52 kB / 446 MB, free: 2.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 4.598e-06/0.597, allocations: 0 / 446 MB, free: 2.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04779/0.6448, allocations: 18.4 MB / 464.4 MB, free: 308 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002502/0.6474, allocations: 3.054 MB / 467.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/0.6523, allocations: 2.97 MB / 470.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007987/0.6531, allocations: 44.67 kB / 470.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.6547, allocations: 2.076 MB / 472.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009321/0.6557, allocations: 0.5663 MB / 473.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.6559, allocations: 100.5 kB / 473.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003533/0.6563, allocations: 0.5167 MB / 473.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/0.6606, allocations: 2.609 MB / 476.4 MB, free: 4.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/0.667, allocations: 5.573 MB / 481.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005711/0.6728, allocations: 3.665 MB / 485.6 MB, free: 9.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.852e-05/0.6728, allocations: 32 kB / 485.6 MB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03259/0.7054, allocations: 11.74 MB / 497.4 MB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.7055, allocations: 54.03 kB / 497.4 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02125/0.7268, allocations: 7.002 MB / 0.4926 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01926/0.7461, allocations: 4.558 MB / 0.4971 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004916/0.7511, allocations: 1.248 MB / 0.4983 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.7676, allocations: 11.44 MB / 0.5095 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/0.7738, allocations: 0.5846 MB / 0.51 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/0.7755, allocations: 316 kB / 0.5103 GB, free: 3.738 MB / 430.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.004028/0.7796, allocations: 1.406 MB / 0.5117 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007546/0.7804, allocations: 260.7 kB / 0.512 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/0.7814, allocations: 407 kB / 0.5123 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01095/0.7923, allocations: 5.015 MB / 0.5172 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/0.7924, allocations: 8 kB / 0.5172 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.7924, allocations: 7.969 kB / 0.5173 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009925/0.8024, allocations: 5.353 MB / 0.5225 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.8024, allocations: 4 kB / 0.5225 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.8041, allocations: 367.4 kB / 0.5228 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007591/0.8117, allocations: 2.382 MB / 0.5252 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004865/0.8122, allocations: 51.61 kB / 0.5252 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3012/1.113, allocations: 8.841 MB / 0.5338 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002242/1.116, allocations: 2.889 MB / 0.5367 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.137, allocations: 8.753 MB / 0.5452 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.139, allocations: 338.7 kB / 0.5455 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005377/1.139, allocations: 34.66 kB / 0.5456 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.141, allocations: 319.8 kB / 0.5459 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004653/1.142, allocations: 103.2 kB / 0.546 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.142, allocations: 52.89 kB / 0.546 GB, free: 140.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003695/1.146, allocations: 1.852 MB / 0.5478 GB, free: 139.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.146, allocations: 3.75 kB / 0.5478 GB, free: 139.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006443/1.152, allocations: 1.009 MB / 0.5488 GB, free: 139.8 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.0006499/1.153, allocations: 170.1 kB / 0.549 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01259/1.165, allocations: 7.387 MB / 0.5562 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.165, allocations: 3.938 kB / 0.5562 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/1.171, allocations: 3.623 MB / 0.5597 GB, free: 135.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.174, allocations: 299.2 kB / 0.56 GB, free: 135.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.189, allocations: 9.607 MB / 0.5694 GB, free: 127.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/1.191, allocations: 2.289 MB / 0.5716 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.193, allocations: 237.5 kB / 0.5719 GB, free: 125.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.954e-06/1.193, allocations: 0 / 0.5719 GB, free: 125.6 MB / 446.1 MB Notification: Performance of Templates: time 0.4334/1.626, allocations: 144.8 MB / 0.7133 GB, free: 140.3 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1