Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009082/0.0009078, allocations: 91.17 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 191.8 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003508, allocations: 4 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 51.49 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.2643/0.4037, allocations: 16.28 MB / 375.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.4159, allocations: 4.772 MB / 379.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.4194, allocations: 72.31 kB / 379.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.4221, allocations: 0.786 MB / 380.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009506/0.4317, allocations: 2.632 MB / 383.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.4336, allocations: 466.5 kB / 383.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005454/0.4391, allocations: 2.867 MB / 386.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.4424, allocations: 1.577 MB / 388.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.4447, allocations: 0.7537 MB / 389 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.4474, allocations: 1.162 MB / 390.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.4478, allocations: 82.06 kB / 390.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.4506, allocations: 0.7403 MB / 391 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.4521, allocations: 0.9827 MB / 392 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.4529, allocations: 0.4978 MB / 392.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.4568, allocations: 3.067 MB / 395.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4569, allocations: 3.938 kB / 395.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4569, allocations: 0 / 395.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.072e-05/0.457, allocations: 1.438 kB / 395.5 MB, free: 3.559 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.00508/0.462, allocations: 2.542 MB / 398.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4621, allocations: 9.75 kB / 398.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.467, allocations: 1.614 MB / 399.7 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.4696, allocations: 1.348 MB / 401 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.4698, allocations: 123.5 kB / 401.2 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.4701, allocations: 156.2 kB / 401.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.481, allocations: 6.531 MB / 407.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-05/0.4811, allocations: 39.64 kB / 407.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.4814, allocations: 84.52 kB / 408 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.4838, allocations: 1.464 MB / 409.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.4954, allocations: 5.817 MB / 415.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03966/0.5351, allocations: 25.74 MB / 441 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006136/0.5413, allocations: 2.579 MB / 443.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.5433, allocations: 1.215 MB / 444.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009382/0.5527, allocations: 4.793 MB / 449.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.5528, allocations: 46.45 kB / 449.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 6.482e-06/0.5528, allocations: 0 / 449.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=105): time 0.02422/0.577, allocations: 9.739 MB / 459.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.5772, allocations: 148.9 kB / 459.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/0.5814, allocations: 2.691 MB / 462.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.5816, allocations: 41.7 kB / 462.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.5832, allocations: 2.055 MB / 464.3 MB, free: 172 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.5838, allocations: 415.3 kB / 464.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.5839, allocations: 84 kB / 464.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.5843, allocations: 491.3 kB / 465.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.5864, allocations: 1.433 MB / 466.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/0.5915, allocations: 4.057 MB / 470.7 MB, free: 8.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.5955, allocations: 2.354 MB / 473.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.143e-05/0.5956, allocations: 24 kB / 473.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01092/0.6065, allocations: 6.01 MB / 479.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.6066, allocations: 44 kB / 479.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-05/0.6067, allocations: 92 kB / 479.3 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.6088, allocations: 0.832 MB / 480.1 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.6113, allocations: 0.9435 MB / 481 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00569/0.617, allocations: 4.343 MB / 485.4 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.6204, allocations: 239.6 kB / 485.6 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/0.6208, allocations: 267.9 kB / 485.9 MB, free: 9.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (502): * Single equations (assignments): 498 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002511/0.6233, allocations: 1.365 MB / 487.2 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.6239, allocations: 221.1 kB / 487.5 MB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.6281, allocations: 2.13 MB / 489.6 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.6282, allocations: 14.81 kB / 489.6 MB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.6282, allocations: 4 kB / 489.6 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6282, allocations: 3.984 kB / 489.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.6384, allocations: 5.071 MB / 494.7 MB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.6384, allocations: 4 kB / 494.7 MB, free: 204 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.6392, allocations: 155.8 kB / 494.8 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.6411, allocations: 0.6798 MB / 495.5 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.6413, allocations: 19.98 kB / 495.5 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005184/0.6465, allocations: 3.896 MB / 499.4 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6465, allocations: 3.938 kB / 499.4 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006567/0.6531, allocations: 4.047 MB / 0.4917 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009642/0.654, allocations: 290.1 kB / 0.492 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/0.6547, allocations: 12 kB / 0.492 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.656, allocations: 75.84 kB / 0.4921 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6561, allocations: 58.94 kB / 0.4921 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.6562, allocations: 35.92 kB / 0.4921 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003825/0.6601, allocations: 1.678 MB / 0.4938 GB, free: 5.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6601, allocations: 0 / 0.4938 GB, free: 5.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004869/0.665, allocations: 0.6718 MB / 0.4944 GB, free: 4.391 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006114/0.6656, allocations: 188 kB / 0.4946 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006639/0.6722, allocations: 3.461 MB / 0.498 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6723, allocations: 0 / 0.498 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.6739, allocations: 1.036 MB / 0.499 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.6766, allocations: 256.4 kB / 0.4993 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.6917, allocations: 6.937 MB / 0.506 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/0.6952, allocations: 2.233 MB / 0.5082 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000866/0.6961, allocations: 195.4 kB / 0.5084 GB, free: 6.004 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6961, allocations: 0 / 0.5084 GB, free: 6.004 MB / 430.1 MB Notification: Performance of Templates: time 0.3515/1.048, allocations: 47.94 MB / 0.5552 GB, free: 134.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityFieldCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.o] Error 1