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.00146/0.00146, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001536/0.001537, allocations: 194 kB / 18.72 MB, free: 4.762 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.84/1.84, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.00134/0.00134, allocations: 43.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 46.64 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.0206/0.1687, allocations: 13.98 MB / 341.2 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1809, allocations: 4.297 MB / 345.5 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.1848, allocations: 59.81 kB / 345.6 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.1871, allocations: 0.6309 MB / 346.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.1921, allocations: 1.297 MB / 347.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1937, allocations: 467.3 kB / 348 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007015/0.2007, allocations: 4.154 MB / 352.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.2024, allocations: 427.1 kB / 352.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.2046, allocations: 0.6885 MB / 353.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.2076, allocations: 1.316 MB / 354.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.2085, allocations: 84 kB / 354.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.2113, allocations: 0.9514 MB / 355.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.2135, allocations: 1.067 MB / 356.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.2165, allocations: 1.199 MB / 357.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.2207, allocations: 3.06 MB / 360.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2207, allocations: 7.938 kB / 360.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2207, allocations: 0 / 360.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.004e-05/0.2208, allocations: 0 / 360.9 MB, free: 3.086 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.007236/0.228, allocations: 3.209 MB / 364.1 MB, free: 15.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.2281, allocations: 11.97 kB / 364.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007778/0.2358, allocations: 1.893 MB / 366 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.2393, allocations: 1.715 MB / 367.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2395, allocations: 118.6 kB / 367.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008507/0.2403, allocations: 307.4 kB / 368.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.2564, allocations: 8.227 MB / 376.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.223e-05/0.2565, allocations: 35.73 kB / 376.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.2568, allocations: 75.89 kB / 376.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/0.2593, allocations: 1.397 MB / 377.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3195/0.5788, allocations: 9.533 MB / 387.4 MB, free: 48.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03602/0.6149, allocations: 30.62 MB / 418 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.6253, allocations: 4.375 MB / 422.4 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.6276, allocations: 2.12 MB / 424.5 MB, free: 16.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.439e-05/0.6277, allocations: 13.06 kB / 424.6 MB, free: 16.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.6277, allocations: 54.48 kB / 424.6 MB, free: 16.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 5.671e-06/0.6277, allocations: 0 / 424.6 MB, free: 16.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04432/0.6721, allocations: 18.33 MB / 442.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003844/0.676, allocations: 3.061 MB / 446 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00589/0.6819, allocations: 2.998 MB / 449 MB, free: 7.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009378/0.6829, allocations: 45.27 kB / 449 MB, free: 7.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002045/0.6849, allocations: 2.08 MB / 451.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.686, allocations: 0.5662 MB / 451.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/0.6878, allocations: 1.02 MB / 452.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.688, allocations: 309.1 kB / 453 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/0.6932, allocations: 2.625 MB / 455.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007406/0.7006, allocations: 5.592 MB / 461.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/0.7164, allocations: 8.615 MB / 469.8 MB, free: 44 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.7166, allocations: 32 kB / 469.9 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03561/0.7522, allocations: 11.78 MB / 481.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.7525, allocations: 48 kB / 481.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0231/0.7756, allocations: 7.015 MB / 488.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02312/0.7988, allocations: 4.55 MB / 493.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/0.8045, allocations: 1.24 MB / 494.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.8233, allocations: 11.48 MB / 0.4941 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/0.8299, allocations: 0.5732 MB / 0.4947 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/0.8316, allocations: 319.9 kB / 0.495 GB, free: 10.39 MB / 398.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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004892/0.8365, allocations: 1.411 MB / 0.4964 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/0.8378, allocations: 252.7 kB / 0.4966 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.8393, allocations: 415.2 kB / 0.497 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01251/0.8518, allocations: 5.021 MB / 0.5019 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-05/0.8519, allocations: 4 kB / 0.5019 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.843e-05/0.8519, allocations: 3.984 kB / 0.5019 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.8643, allocations: 5.37 MB / 0.5072 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.8643, allocations: 8 kB / 0.5072 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.8664, allocations: 363.4 kB / 0.5075 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00899/0.8754, allocations: 2.394 MB / 0.5098 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005937/0.8761, allocations: 47.94 kB / 0.5099 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.8875, allocations: 8.81 MB / 0.5185 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00255/0.8901, allocations: 2.902 MB / 0.5213 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/0.9094, allocations: 8.759 MB / 0.5299 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.9107, allocations: 329.7 kB / 0.5302 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/0.9118, allocations: 31.98 kB / 0.5302 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/0.9144, allocations: 319.4 kB / 0.5305 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000605/0.9151, allocations: 107.7 kB / 0.5306 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/0.9154, allocations: 59.94 kB / 0.5307 GB, free: 4.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004402/0.9198, allocations: 1.883 MB / 0.5325 GB, free: 2.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9198, allocations: 288 / 0.5325 GB, free: 2.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006102/0.9259, allocations: 0.9988 MB / 0.5335 GB, free: 1.879 MB / 430.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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007075/0.9267, allocations: 170 kB / 0.5337 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2553/1.182, allocations: 7.431 MB / 0.5409 GB, free: 147.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.182, allocations: 0 / 0.5409 GB, free: 147.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008331/1.19, allocations: 3.644 MB / 0.5445 GB, free: 145.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.194, allocations: 292.9 kB / 0.5448 GB, free: 145.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/1.21, allocations: 9.58 MB / 0.5541 GB, free: 140.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/1.212, allocations: 2.302 MB / 0.5564 GB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/1.214, allocations: 240.3 kB / 0.5566 GB, free: 139.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/1.214, allocations: 4 kB / 0.5566 GB, free: 139.7 MB / 430.1 MB Notification: Performance of Templates: time 0.3868/1.601, allocations: 145.3 MB / 0.6985 GB, free: 143.9 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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