Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007796/0.0007796, allocations: 87.89 kB / 17.58 MB, free: 5.801 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.0008471/0.0008471, allocations: 186.7 kB / 18.48 MB, free: 5.25 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.688/1.688, 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.0005027/0.0005029, allocations: 16 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1129, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.02636/0.1393, allocations: 26.16 MB / 355.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1563, allocations: 5.674 MB / 360.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006351/0.1627, allocations: 115.8 kB / 360.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.1673, allocations: 1.33 MB / 362.3 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.1789, allocations: 3.782 MB / 366 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1807, allocations: 235.6 kB / 366.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004262/0.1849, allocations: 2.586 MB / 368.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.1885, allocations: 1.876 MB / 370.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.1903, allocations: 0.7432 MB / 371.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.1925, allocations: 1.199 MB / 372.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005861/0.1931, allocations: 84 kB / 372.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.1948, allocations: 0.5304 MB / 373.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.1964, allocations: 1.083 MB / 374.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008058/0.1972, allocations: 0.5585 MB / 374.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.2008, allocations: 3.246 MB / 378.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2008, allocations: 0 / 378.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2008, allocations: 4 kB / 378.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.471e-05/0.2009, allocations: 0 / 378.2 MB, free: 2.68 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.003799/0.2047, allocations: 2.442 MB / 380.6 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2048, allocations: 8.031 kB / 380.6 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2264/0.4312, allocations: 1.812 MB / 382.4 MB, free: 54.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.4345, allocations: 1.134 MB / 383.6 MB, free: 53.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.4347, allocations: 154 kB / 383.7 MB, free: 53.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.4351, allocations: 214.1 kB / 383.9 MB, free: 53.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.4558, allocations: 8.604 MB / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.456, allocations: 44.5 kB / 392.6 MB, free: 50 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.4563, allocations: 102.2 kB / 392.7 MB, free: 49.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.459, allocations: 1.668 MB / 394.4 MB, free: 49.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.4744, allocations: 7.153 MB / 401.5 MB, free: 43.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03091/0.5054, allocations: 30.18 MB / 431.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/0.5234, allocations: 5.105 MB / 436.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.525, allocations: 1.243 MB / 438 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005479/0.5305, allocations: 3.744 MB / 441.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.5306, allocations: 46.89 kB / 441.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=111): time 3.486e-06/0.5306, allocations: 0 / 441.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.03903/0.5696, allocations: 9.378 MB / 451.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/0.5699, allocations: 191.9 kB / 451.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004953/0.5748, allocations: 3.027 MB / 454.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.5751, allocations: 45.64 kB / 454.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.5775, allocations: 2.419 MB / 456.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007111/0.5782, allocations: 0.4949 MB / 457.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.5784, allocations: 104.9 kB / 457.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003616/0.5788, allocations: 0.5294 MB / 458 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/0.5812, allocations: 1.584 MB / 459.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005476/0.5867, allocations: 5.149 MB / 464.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.5916, allocations: 2.803 MB / 467.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.83e-05/0.5917, allocations: 36 kB / 467.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01139/0.6031, allocations: 6.404 MB / 474 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.6032, allocations: 60 kB / 474 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.6034, allocations: 128 kB / 474.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.6036, allocations: 184 kB / 474.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/0.6082, allocations: 1.454 MB / 475.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001996/0.6084, allocations: 247 kB / 476 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.6125, allocations: 0.7426 MB / 476.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004637/0.613, allocations: 347.9 kB / 477.1 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002554/0.6155, allocations: 1.576 MB / 478.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/0.616, allocations: 252.7 kB / 478.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.6175, allocations: 0.825 MB / 479.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/0.6175, allocations: 21.31 kB / 479.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.6175, allocations: 4 kB / 479.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.6176, allocations: 3.984 kB / 479.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.6236, allocations: 3.386 MB / 483.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.6236, allocations: 3.75 kB / 483.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.6257, allocations: 419.4 kB / 483.6 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.6257, allocations: 4 kB / 483.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/0.6258, allocations: 39.92 kB / 483.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.6258, allocations: 7.984 kB / 483.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6258, allocations: 0 / 483.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.6294, allocations: 2.78 MB / 486.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.6301, allocations: 313.5 kB / 486.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.6304, allocations: 27.98 kB / 486.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/0.6312, allocations: 49.14 kB / 486.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6313, allocations: 51.92 kB / 486.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.6314, allocations: 37.47 kB / 486.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002996/0.6344, allocations: 1.829 MB / 488.7 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6344, allocations: 7.875 kB / 488.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004917/0.6393, allocations: 0.8352 MB / 489.6 MB, free: 15.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004451/0.6398, allocations: 161.4 kB / 489.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006341/0.6462, allocations: 3.566 MB / 493.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6462, allocations: 0 / 493.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009628/0.6472, allocations: 0.7113 MB / 494 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.6492, allocations: 265.4 kB / 494.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.6644, allocations: 8.827 MB / 0.4913 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/0.6672, allocations: 2.394 MB / 0.4936 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008495/0.6681, allocations: 235.4 kB / 0.4939 GB, free: 15.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6681, allocations: 0 / 0.4939 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Templates: time 0.2842/0.9522, allocations: 40.05 MB / 0.533 GB, free: 133.2 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMassesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o] Error 1