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.001828/0.001828, allocations: 109.4 kB / 17.81 MB, free: 5.559 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.00203/0.00203, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.907/1.907, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.002582/0.002582, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1537, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.0343/0.1881, allocations: 28.94 MB / 356.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.2085, allocations: 5.984 MB / 362.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009488/0.218, allocations: 111.8 kB / 362.3 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.2229, allocations: 1.406 MB / 363.7 MB, free: 316 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.2271, allocations: 0.934 MB / 364.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.2283, allocations: 239.6 kB / 364.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005551/0.2339, allocations: 3.296 MB / 368.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/0.2373, allocations: 1.534 MB / 369.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.2394, allocations: 0.7353 MB / 370.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.2421, allocations: 1.3 MB / 371.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000823/0.243, allocations: 112 kB / 371.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.2454, allocations: 0.6435 MB / 372.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.2476, allocations: 1.145 MB / 373.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00328/0.2509, allocations: 1.347 MB / 375 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.2561, allocations: 3.321 MB / 378.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2562, allocations: 0 / 378.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2562, allocations: 0 / 378.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002758/0.2565, allocations: 0 / 378.3 MB, free: 1.645 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.3016/0.5581, allocations: 2.946 MB / 381.2 MB, free: 55.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/0.5582, allocations: 12.66 kB / 381.2 MB, free: 55.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008299/0.5665, allocations: 1.771 MB / 383 MB, free: 54.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.5694, allocations: 1.163 MB / 384.2 MB, free: 54.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.5695, allocations: 154.3 kB / 384.3 MB, free: 54.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.5699, allocations: 206 kB / 384.5 MB, free: 54.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.5916, allocations: 8.6 MB / 393.1 MB, free: 49.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.5918, allocations: 40.3 kB / 393.2 MB, free: 49.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.5921, allocations: 104.1 kB / 393.3 MB, free: 49.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.595, allocations: 1.669 MB / 394.9 MB, free: 48.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.6125, allocations: 7.175 MB / 402.1 MB, free: 42.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03742/0.65, allocations: 30.18 MB / 432.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02257/0.6726, allocations: 5.045 MB / 437.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.6744, allocations: 1.247 MB / 438.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006745/0.6812, allocations: 3.737 MB / 442.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/0.6813, allocations: 46.83 kB / 442.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=111): time 8.155e-06/0.6813, allocations: 4 kB / 442.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.04764/0.729, allocations: 9.258 MB / 451.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.7292, allocations: 191.9 kB / 451.8 MB, free: 7.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/0.7372, allocations: 3.039 MB / 454.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003378/0.7376, allocations: 37.7 kB / 454.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.7405, allocations: 2.43 MB / 457.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.7418, allocations: 0.494 MB / 457.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003567/0.7454, allocations: 1.087 MB / 458.9 MB, free: 20 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.7456, allocations: 305.1 kB / 459.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.7492, allocations: 1.597 MB / 460.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/0.7556, allocations: 5.174 MB / 466 MB, free: 7.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00934/0.7649, allocations: 7.329 MB / 473.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.7651, allocations: 36 kB / 473.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01351/0.7786, allocations: 6.445 MB / 479.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.7789, allocations: 56 kB / 479.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004585/0.7794, allocations: 128 kB / 480 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.7798, allocations: 168 kB / 480.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005928/0.7858, allocations: 1.454 MB / 481.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/0.7861, allocations: 251.6 kB / 481.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/0.7911, allocations: 0.7499 MB / 482.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008523/0.792, allocations: 344 kB / 482.9 MB, free: 4.402 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003549/0.7956, allocations: 1.575 MB / 484.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008826/0.7965, allocations: 244.8 kB / 484.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.7987, allocations: 0.8408 MB / 485.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-05/0.7988, allocations: 12 kB / 485.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.7988, allocations: 4 kB / 485.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.7989, allocations: 3.984 kB / 485.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.809, allocations: 3.39 MB / 489 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.809, allocations: 4.625 kB / 489 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002404/0.8115, allocations: 415.8 kB / 489.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/0.8115, allocations: 4 kB / 489.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.8117, allocations: 31.97 kB / 489.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.8117, allocations: 4.875 kB / 489.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/0.8117, allocations: 12.58 kB / 489.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.8158, allocations: 2.78 MB / 492.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009394/0.8168, allocations: 301.6 kB / 492.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/0.8174, allocations: 27.98 kB / 492.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.8188, allocations: 35.97 kB / 492.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.8189, allocations: 67.78 kB / 492.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.819, allocations: 39.45 kB / 492.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004794/0.8238, allocations: 1.845 MB / 494.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8239, allocations: 4 kB / 494.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005902/0.8298, allocations: 0.8247 MB / 495.4 MB, free: 7.832 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006202/0.8304, allocations: 166.4 kB / 495.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007414/0.8378, allocations: 3.6 MB / 499.1 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8379, allocations: 3.938 kB / 499.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.8389, allocations: 0.7153 MB / 499.8 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.8416, allocations: 253.1 kB / 0.4884 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.859, allocations: 8.762 MB / 0.4969 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003931/0.863, allocations: 2.401 MB / 0.4993 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009699/0.864, allocations: 235.4 kB / 0.4995 GB, free: 7.66 MB / 398.1 MB Notification: Performance of SimCode: time 1.744e-06/0.8641, allocations: 0 / 0.4995 GB, free: 7.66 MB / 398.1 MB Notification: Performance of Templates: time 0.3333/1.197, allocations: 40.59 MB / 0.5391 GB, free: 121.3 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++ -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.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