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.0009439/0.0009441, allocations: 91.06 kB / 17.95 MB, free: 5.773 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.001118/0.001118, allocations: 176.3 kB / 18.86 MB, free: 4.906 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.911/1.911, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005725/0.0005727, allocations: 16 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1397, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.03256/0.1723, allocations: 28.07 MB / 357.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.1946, allocations: 5.934 MB / 363.6 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009201/0.2039, allocations: 111.8 kB / 363.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.2057, allocations: 310.5 kB / 364 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.2099, allocations: 0.9262 MB / 365 MB, free: 264 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2112, allocations: 243.6 kB / 365.2 MB, free: 20 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005334/0.2166, allocations: 3.289 MB / 368.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004446/0.2211, allocations: 2.03 MB / 370.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2229, allocations: 0.6727 MB / 371.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.2255, allocations: 1.214 MB / 372.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000687/0.2262, allocations: 88 kB / 372.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.2281, allocations: 0.6161 MB / 373.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.2298, allocations: 1.114 MB / 374.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.2327, allocations: 1.317 MB / 375.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004979/0.2377, allocations: 3.25 MB / 378.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/0.2378, allocations: 4 kB / 378.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2378, allocations: 0 / 378.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.886e-05/0.2379, allocations: 4 kB / 378.8 MB, free: 2.336 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.2852/0.5231, allocations: 2.395 MB / 381.2 MB, free: 53.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.5232, allocations: 12.88 kB / 381.2 MB, free: 53.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008516/0.5317, allocations: 1.818 MB / 383 MB, free: 53.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.5348, allocations: 1.158 MB / 384.2 MB, free: 53.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.5349, allocations: 154.3 kB / 384.3 MB, free: 53.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/0.5354, allocations: 209.6 kB / 384.5 MB, free: 53.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/0.5576, allocations: 8.616 MB / 393.2 MB, free: 49.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.657e-05/0.5578, allocations: 44.14 kB / 393.2 MB, free: 49.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002885/0.5581, allocations: 104.6 kB / 393.3 MB, free: 49.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002994/0.5611, allocations: 1.67 MB / 395 MB, free: 48.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.577, allocations: 7.193 MB / 402.2 MB, free: 42.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/0.6071, allocations: 30.19 MB / 432.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/0.6284, allocations: 5.099 MB / 437.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.63, allocations: 1.243 MB / 438.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005793/0.6358, allocations: 3.751 MB / 442.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.6358, allocations: 50.83 kB / 442.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=111): time 3.697e-06/0.6358, allocations: 0 / 442.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.04617/0.682, allocations: 9.382 MB / 451.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.6822, allocations: 191.9 kB / 452.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007746/0.6899, allocations: 3.039 MB / 455.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.6902, allocations: 41.7 kB / 455.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002685/0.6929, allocations: 2.423 MB / 457.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009142/0.6939, allocations: 0.4959 MB / 458.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009923/0.6949, allocations: 461.8 kB / 458.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.695, allocations: 305.1 kB / 458.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/0.6982, allocations: 1.599 MB / 460.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/0.7044, allocations: 5.165 MB / 465.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.7149, allocations: 7.345 MB / 472.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001902/0.7151, allocations: 36 kB / 473 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01589/0.731, allocations: 6.439 MB / 479.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.7312, allocations: 60 kB / 479.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/0.7315, allocations: 128 kB / 479.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.7317, allocations: 164 kB / 479.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005591/0.7373, allocations: 1.458 MB / 481.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004292/0.7378, allocations: 249.8 kB / 481.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/0.744, allocations: 0.746 MB / 482.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009693/0.745, allocations: 345 kB / 482.5 MB, free: 5.043 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.00387/0.7489, allocations: 1.579 MB / 484.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/0.7496, allocations: 248.8 kB / 484.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.7515, allocations: 0.8291 MB / 485.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.7515, allocations: 17.25 kB / 485.2 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.7515, allocations: 0 / 485.2 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.7516, allocations: 7.984 kB / 485.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008354/0.7599, allocations: 3.396 MB / 488.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.76, allocations: 0 / 488.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/0.7623, allocations: 407.5 kB / 489 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.7623, allocations: 4 kB / 489 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.7625, allocations: 37.75 kB / 489 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.7625, allocations: 8 kB / 489.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/0.7625, allocations: 7.938 kB / 489.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7661, allocations: 2.772 MB / 491.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/0.7669, allocations: 317.5 kB / 492.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006077/0.7675, allocations: 33.16 kB / 492.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.7691, allocations: 39.95 kB / 492.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.7693, allocations: 63.8 kB / 492.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.7694, allocations: 37.61 kB / 492.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005311/0.7747, allocations: 1.841 MB / 494.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7747, allocations: 0 / 494.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007178/0.7819, allocations: 0.8287 MB / 495 MB, free: 8.488 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.0005744/0.7825, allocations: 168.2 kB / 495.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008756/0.7913, allocations: 3.606 MB / 498.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7913, allocations: 0 / 498.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7927, allocations: 0.713 MB / 499.5 MB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/0.7964, allocations: 256.8 kB / 499.7 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/0.8198, allocations: 9.119 MB / 0.4969 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005046/0.8249, allocations: 2.402 MB / 0.4993 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.8262, allocations: 227.4 kB / 0.4995 GB, free: 7.965 MB / 398.1 MB Notification: Performance of SimCode: time 4.097e-06/0.8262, allocations: 4 kB / 0.4995 GB, free: 7.961 MB / 398.1 MB Notification: Performance of Templates: time 0.3291/1.155, allocations: 40.06 MB / 0.5386 GB, free: 119.4 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