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.0009269/0.000927, allocations: 94.23 kB / 17.96 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.001186/0.001186, allocations: 175.4 kB / 18.86 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.987/1.987, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005331/0.0005333, allocations: 18.97 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 47.58 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01653/0.1601, allocations: 13.4 MB / 343 MB, free: 6.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1736, allocations: 4.235 MB / 347.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.1777, allocations: 55.81 kB / 347.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1791, allocations: 270.8 kB / 347.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.1844, allocations: 1.32 MB / 348.9 MB, free: 400 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.186, allocations: 463.3 kB / 349.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006981/0.193, allocations: 4.147 MB / 353.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.1945, allocations: 0.5543 MB / 354 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.1962, allocations: 0.6807 MB / 354.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.1992, allocations: 1.32 MB / 356 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008834/0.2001, allocations: 84 kB / 356.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.2029, allocations: 0.9476 MB / 357.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.2049, allocations: 1.083 MB / 358.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003301/0.2082, allocations: 1.224 MB / 359.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.2139, allocations: 2.997 MB / 362.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.214, allocations: 0 / 362.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.214, allocations: 0 / 362.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002292/0.2142, allocations: 4 kB / 362.4 MB, free: 2.812 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.00992/0.2241, allocations: 2.706 MB / 365.1 MB, free: 48 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.2242, allocations: 8.031 kB / 365.1 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.2336, allocations: 1.939 MB / 367 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.239, allocations: 1.734 MB / 368.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.2393, allocations: 118.5 kB / 368.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.241, allocations: 299.5 kB / 369.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.2632, allocations: 8.234 MB / 377.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.2635, allocations: 35.66 kB / 377.4 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009652/0.2644, allocations: 83.88 kB / 377.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/0.2672, allocations: 1.393 MB / 378.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3205/0.5877, allocations: 9.525 MB / 388.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03737/0.6251, allocations: 30.59 MB / 419 MB, free: 20.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.6363, allocations: 4.428 MB / 423.5 MB, free: 16.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.6391, allocations: 2.113 MB / 425.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.6392, allocations: 22.12 kB / 425.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.6393, allocations: 50.11 kB / 425.7 MB, free: 13.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 4.789e-06/0.6393, allocations: 0 / 425.7 MB, free: 13.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.05117/0.6904, allocations: 18.44 MB / 444.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003/0.6935, allocations: 3.065 MB / 447.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/0.7007, allocations: 3.007 MB / 450.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007776/0.7015, allocations: 42.72 kB / 450.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002313/0.7038, allocations: 2.083 MB / 452.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/0.7054, allocations: 0.5644 MB / 452.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.707, allocations: 420.7 kB / 453.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7071, allocations: 305.1 kB / 453.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005365/0.7125, allocations: 2.633 MB / 456.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008059/0.7206, allocations: 5.584 MB / 461.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/0.7343, allocations: 8.622 MB / 470.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/0.7345, allocations: 28 kB / 470.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03805/0.7726, allocations: 11.78 MB / 482.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.7728, allocations: 48.97 kB / 482.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02656/0.7994, allocations: 7.009 MB / 489.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02359/0.823, allocations: 4.55 MB / 493.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005163/0.8282, allocations: 1.244 MB / 495.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.8469, allocations: 11.47 MB / 0.4947 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/0.8536, allocations: 0.5763 MB / 0.4952 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/0.8554, allocations: 319.9 kB / 0.4955 GB, free: 7.934 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.004832/0.8603, allocations: 1.408 MB / 0.4969 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/0.8615, allocations: 260.6 kB / 0.4972 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.863, allocations: 411.2 kB / 0.4975 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01295/0.876, allocations: 5.014 MB / 0.5024 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/0.8761, allocations: 7.938 kB / 0.5024 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.8761, allocations: 15.91 kB / 0.5025 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.8875, allocations: 5.362 MB / 0.5077 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.8875, allocations: 4 kB / 0.5077 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/0.8894, allocations: 371.3 kB / 0.5081 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009171/0.8986, allocations: 2.39 MB / 0.5104 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004515/0.8991, allocations: 47.95 kB / 0.5104 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009882/0.909, allocations: 8.849 MB / 0.5191 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002156/0.9112, allocations: 2.899 MB / 0.5219 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/0.9308, allocations: 8.764 MB / 0.5305 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.932, allocations: 329.7 kB / 0.5308 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/0.9331, allocations: 35.98 kB / 0.5308 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/0.9362, allocations: 320.7 kB / 0.5311 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006209/0.9368, allocations: 107.7 kB / 0.5312 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/0.9371, allocations: 53.83 kB / 0.5313 GB, free: 2.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004438/0.9416, allocations: 1.879 MB / 0.5331 GB, free: 436 kB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9416, allocations: 0 / 0.5331 GB, free: 436 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.2925/1.234, allocations: 1.003 MB / 0.5341 GB, free: 145.3 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.0006997/1.235, allocations: 167.4 kB / 0.5342 GB, free: 145.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01626/1.251, allocations: 7.401 MB / 0.5415 GB, free: 144.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.251, allocations: 1.438 kB / 0.5415 GB, free: 144.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007611/1.259, allocations: 3.634 MB / 0.545 GB, free: 142.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/1.262, allocations: 293.3 kB / 0.5453 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.276, allocations: 9.891 MB / 0.555 GB, free: 137.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.278, allocations: 2.287 MB / 0.5572 GB, free: 136.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.279, allocations: 247 kB / 0.5574 GB, free: 136.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/1.279, allocations: 0 / 0.5574 GB, free: 136.5 MB / 430.1 MB Notification: Performance of Templates: time 0.3988/1.678, allocations: 144.8 MB / 0.6989 GB, free: 143.3 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