Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008459/0.0008459, allocations: 91.88 kB / 16.95 MB, free: 5.953 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.0009374/0.0009373, allocations: 181.3 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002572, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.3126/0.4423, allocations: 26.15 MB / 378 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.4588, allocations: 5.635 MB / 383.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006785/0.4656, allocations: 113.3 kB / 383.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006064/0.4717, allocations: 1.338 MB / 385.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01664/0.4884, allocations: 3.795 MB / 388.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.4907, allocations: 224.6 kB / 389.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.4961, allocations: 2.587 MB / 391.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.4996, allocations: 1.876 MB / 393.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.5013, allocations: 0.739 MB / 394.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.5032, allocations: 1.202 MB / 395.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.5035, allocations: 87.22 kB / 395.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.5049, allocations: 0.5365 MB / 396.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.5061, allocations: 1.079 MB / 397.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.5067, allocations: 0.5596 MB / 397.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.5102, allocations: 3.247 MB / 401 MB, free: 1.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5102, allocations: 0 / 401 MB, free: 1.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5102, allocations: 0 / 401 MB, free: 1.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001102/0.5103, allocations: 4 kB / 401 MB, free: 1.367 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.005308/0.5156, allocations: 2.443 MB / 403.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5157, allocations: 9.469 kB / 403.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006654/0.5224, allocations: 1.826 MB / 405.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.5255, allocations: 1.138 MB / 406.5 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.5257, allocations: 151.3 kB / 406.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/0.5262, allocations: 210.9 kB / 406.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.5465, allocations: 8.598 MB / 415.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.5467, allocations: 39.59 kB / 415.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/0.547, allocations: 109.6 kB / 415.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/0.55, allocations: 1.658 MB / 417.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.5678, allocations: 7.169 MB / 424.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.6088, allocations: 30.18 MB / 454.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/0.6286, allocations: 5.096 MB / 459.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.6306, allocations: 1.244 MB / 460.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006438/0.637, allocations: 3.747 MB / 464.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.6371, allocations: 50.88 kB / 464.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=111): time 4.679e-06/0.6371, allocations: 0 / 464.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.03918/0.6763, allocations: 9.379 MB / 474.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6765, allocations: 187.9 kB / 474.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/0.6831, allocations: 3.027 MB / 477.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.6834, allocations: 33.7 kB / 477.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/0.6858, allocations: 2.428 MB / 479.8 MB, free: 2.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009266/0.6867, allocations: 0.4901 MB / 480.2 MB, free: 1.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005112/0.6873, allocations: 104 kB / 480.3 MB, free: 1.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005848/0.6879, allocations: 0.5333 MB / 480.9 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.6909, allocations: 1.584 MB / 482.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006614/0.6976, allocations: 5.149 MB / 487.6 MB, free: 8.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/0.7027, allocations: 2.807 MB / 490.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/0.7028, allocations: 39.95 kB / 490.5 MB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01352/0.7164, allocations: 6.396 MB / 496.9 MB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.7166, allocations: 60 kB / 496.9 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002587/0.7169, allocations: 128 kB / 497 MB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.7171, allocations: 184 kB / 497.2 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/0.7223, allocations: 1.45 MB / 498.7 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000294/0.7226, allocations: 251 kB / 498.9 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/0.7273, allocations: 0.7463 MB / 499.7 MB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.7284, allocations: 344 kB / 500 MB, free: 12.36 MB / 414.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.003849/0.7322, allocations: 1.574 MB / 0.4898 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.7329, allocations: 260.7 kB / 0.4901 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.7349, allocations: 0.825 MB / 0.4909 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/0.7349, allocations: 12 kB / 0.4909 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.735, allocations: 4 kB / 0.4909 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.735, allocations: 7.984 kB / 0.4909 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009199/0.7442, allocations: 3.39 MB / 0.4942 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.7442, allocations: 0 / 0.4942 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/0.7463, allocations: 411.4 kB / 0.4946 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.7464, allocations: 4 kB / 0.4946 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.7465, allocations: 43.91 kB / 0.4946 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.7466, allocations: 4 kB / 0.4946 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7466, allocations: 4 kB / 0.4946 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.7502, allocations: 2.776 MB / 0.4974 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/0.7511, allocations: 305.6 kB / 0.4976 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000617/0.7518, allocations: 30.8 kB / 0.4977 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.753, allocations: 43.95 kB / 0.4977 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.7531, allocations: 55.88 kB / 0.4978 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.421e-05/0.7532, allocations: 43.97 kB / 0.4978 GB, free: 2.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003904/0.7571, allocations: 1.825 MB / 0.4996 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7571, allocations: 0 / 0.4996 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005311/0.7625, allocations: 0.8378 MB / 0.5004 GB, free: 15.82 MB / 430.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.0005429/0.763, allocations: 165.6 kB / 0.5006 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006493/0.7695, allocations: 3.58 MB / 0.5041 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7696, allocations: 0 / 0.5041 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.7706, allocations: 0.7112 MB / 0.5048 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.7731, allocations: 248.4 kB / 0.505 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.7903, allocations: 8.827 MB / 0.5136 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/0.7944, allocations: 2.398 MB / 0.516 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009007/0.7954, allocations: 235.4 kB / 0.5162 GB, free: 15.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.704e-06/0.7954, allocations: 0 / 0.5162 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Templates: time 0.367/1.162, allocations: 40.1 MB / 0.5553 GB, free: 139.9 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o] Error 1