Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003086, allocations: 8 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.3143/0.4432, allocations: 26.16 MB / 385 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.4598, allocations: 5.698 MB / 390.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006456/0.4664, allocations: 113.2 kB / 390.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005269/0.4717, allocations: 1.328 MB / 392.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.4858, allocations: 3.804 MB / 395.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.4876, allocations: 226.1 kB / 396.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004501/0.4921, allocations: 2.588 MB / 398.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.4953, allocations: 1.894 MB / 400.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.4971, allocations: 0.7449 MB / 401.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.4992, allocations: 1.196 MB / 402.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.4996, allocations: 85.91 kB / 402.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.5009, allocations: 0.535 MB / 403.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.502, allocations: 1.085 MB / 404.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.5026, allocations: 0.5583 MB / 404.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.5063, allocations: 3.246 MB / 408.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5063, allocations: 1.25 kB / 408.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.5063, allocations: 3.938 kB / 408.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.733e-05/0.5064, allocations: 3.938 kB / 408.1 MB, free: 10.39 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.004141/0.5105, allocations: 2.448 MB / 410.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5106, allocations: 8.031 kB / 410.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/0.5168, allocations: 1.821 MB / 412.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.519, allocations: 1.138 MB / 413.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.5192, allocations: 151.8 kB / 413.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/0.5196, allocations: 211.7 kB / 413.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.5381, allocations: 8.62 MB / 422.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/0.5382, allocations: 47.64 kB / 422.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.5385, allocations: 95.89 kB / 422.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.5413, allocations: 1.663 MB / 424.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.5596, allocations: 7.182 MB / 431.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03987/0.5995, allocations: 30.15 MB / 461.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/0.6198, allocations: 5.125 MB / 466.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.6218, allocations: 1.241 MB / 468 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006542/0.6283, allocations: 3.847 MB / 471.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.6284, allocations: 46.83 kB / 471.9 MB, free: 8.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=111): time 4.238e-06/0.6284, allocations: 4 kB / 471.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.04109/0.6695, allocations: 9.406 MB / 481.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6697, allocations: 195.9 kB / 481.5 MB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004472/0.6741, allocations: 3.023 MB / 484.5 MB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.6743, allocations: 41.7 kB / 484.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/0.6761, allocations: 2.429 MB / 486.9 MB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/0.6766, allocations: 498 kB / 487.4 MB, free: 8.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.6768, allocations: 112 kB / 487.5 MB, free: 8.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003547/0.6772, allocations: 0.5333 MB / 488.1 MB, free: 8.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.6796, allocations: 1.584 MB / 489.7 MB, free: 6.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.6844, allocations: 5.153 MB / 494.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.6883, allocations: 2.811 MB / 497.6 MB, free: 12.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.063e-05/0.6884, allocations: 36 kB / 497.7 MB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009943/0.6984, allocations: 6.405 MB / 0.4923 GB, free: 6.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.6985, allocations: 56 kB / 0.4923 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/0.6986, allocations: 128 kB / 0.4924 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.6988, allocations: 184 kB / 0.4926 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/0.7032, allocations: 1.458 MB / 0.494 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001914/0.7034, allocations: 247.5 kB / 0.4943 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.707, allocations: 0.7538 MB / 0.495 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/0.7074, allocations: 348 kB / 0.4953 GB, free: 3.383 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.002356/0.7098, allocations: 1.576 MB / 0.4969 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.7102, allocations: 248.7 kB / 0.4971 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.7108, allocations: 319.5 kB / 0.4974 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.7108, allocations: 12 kB / 0.4974 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.7108, allocations: 0 / 0.4974 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.7108, allocations: 7.984 kB / 0.4974 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.7162, allocations: 3.403 MB / 0.5008 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.7162, allocations: 0 / 0.5008 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.7183, allocations: 407.5 kB / 0.5011 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.7184, allocations: 7.938 kB / 0.5011 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.7184, allocations: 47.83 kB / 0.5012 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.7185, allocations: 4 kB / 0.5012 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7185, allocations: 4.047 kB / 0.5012 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.7217, allocations: 2.804 MB / 0.5039 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.7222, allocations: 305.6 kB / 0.5042 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.7225, allocations: 35.98 kB / 0.5043 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.7232, allocations: 47.91 kB / 0.5043 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.7234, allocations: 55.86 kB / 0.5044 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.7234, allocations: 31.98 kB / 0.5044 GB, free: 9.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00291/0.7264, allocations: 1.833 MB / 0.5062 GB, free: 8.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7264, allocations: 384 / 0.5062 GB, free: 8.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004387/0.7308, allocations: 0.8299 MB / 0.507 GB, free: 7.297 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.0003811/0.7312, allocations: 163 kB / 0.5072 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005715/0.7369, allocations: 3.586 MB / 0.5107 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.7369, allocations: 0 / 0.5107 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.7379, allocations: 0.7258 MB / 0.5114 GB, free: 2.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.7396, allocations: 264.6 kB / 0.5116 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.7539, allocations: 8.827 MB / 0.5202 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/0.7568, allocations: 2.402 MB / 0.5226 GB, free: 7.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009535/0.7577, allocations: 235.4 kB / 0.5228 GB, free: 7.051 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/0.7578, allocations: 0 / 0.5228 GB, free: 7.051 MB / 446.1 MB Notification: Performance of Templates: time 0.3422/1.1, allocations: 40.03 MB / 0.5619 GB, free: 127.9 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o] Error 1