Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009751/0.0009749, allocations: 94.52 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 10.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002578/0.0002579, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01324/0.151, allocations: 12.56 MB / 371.4 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2585/0.4095, allocations: 4.093 MB / 375.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.4122, allocations: 54.62 kB / 375.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.4141, allocations: 0.598 MB / 376.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009392/0.4235, allocations: 2.167 MB / 378.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.4251, allocations: 436.1 kB / 378.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.04195/0.4671, allocations: 31.37 MB / 410.1 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.4701, allocations: 1.544 MB / 411.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.4718, allocations: 0.7355 MB / 412.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.4736, allocations: 1.231 MB / 413.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.4738, allocations: 84 kB / 413.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.4756, allocations: 0.7683 MB / 414.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.4767, allocations: 1.036 MB / 415.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.4773, allocations: 0.5118 MB / 416 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.4813, allocations: 3.337 MB / 419.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.4813, allocations: 0 / 419.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4813, allocations: 0 / 419.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001925/0.4815, allocations: 0 / 419.3 MB, free: 15.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.009002/0.4905, allocations: 2.872 MB / 422.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4906, allocations: 8.031 kB / 422.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005939/0.4965, allocations: 1.704 MB / 423.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.5001, allocations: 1.442 MB / 425.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.5002, allocations: 135.1 kB / 425.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/0.5007, allocations: 171.8 kB / 425.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.5137, allocations: 6.596 MB / 432.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.5139, allocations: 39.59 kB / 432.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.5142, allocations: 83.89 kB / 432.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002345/0.5166, allocations: 1.332 MB / 433.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.5287, allocations: 5.816 MB / 439.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04141/0.5702, allocations: 28.09 MB / 467.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/0.5765, allocations: 2.743 MB / 470.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.5785, allocations: 1.266 MB / 471.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/0.5792, allocations: 0.6356 MB / 472.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.5793, allocations: 51.02 kB / 472.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=120): time 3.808e-06/0.5793, allocations: 0 / 472.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.06773/0.647, allocations: 20.56 MB / 492.9 MB, free: 3.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6472, allocations: 141.5 kB / 493 MB, free: 3.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.6515, allocations: 2.822 MB / 495.8 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004096/0.6519, allocations: 45.7 kB / 495.9 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.6536, allocations: 2.108 MB / 498 MB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008092/0.6544, allocations: 0.6016 MB / 498.6 MB, free: 14.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.6546, allocations: 104 kB / 498.7 MB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003413/0.655, allocations: 0.5203 MB / 499.2 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/0.6584, allocations: 2.196 MB / 0.4896 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006491/0.6649, allocations: 5.169 MB / 0.4947 GB, free: 4.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/0.6711, allocations: 3.306 MB / 0.4979 GB, free: 1.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.128e-05/0.6712, allocations: 32 kB / 0.498 GB, free: 1.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.03278/0.704, allocations: 10.28 MB / 0.508 GB, free: 6.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.7042, allocations: 52.28 kB / 0.508 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002954/0.7046, allocations: 104 kB / 0.5081 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02083/0.7254, allocations: 3.521 MB / 0.5116 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006615/0.7321, allocations: 1.107 MB / 0.5127 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03385/0.766, allocations: 12.03 MB / 0.5244 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/0.7738, allocations: 339.4 kB / 0.5247 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/0.7754, allocations: 308.1 kB / 0.525 GB, free: 5.328 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (585): * Single equations (assignments): 575 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004852/0.7802, allocations: 1.458 MB / 0.5265 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/0.7809, allocations: 248.8 kB / 0.5267 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2957/1.077, allocations: 6.024 MB / 0.5326 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-05/1.077, allocations: 16.72 kB / 0.5326 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/1.077, allocations: 8.781 kB / 0.5326 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/1.077, allocations: 11.72 kB / 0.5326 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03069/1.107, allocations: 13.21 MB / 0.5455 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/1.108, allocations: 4.766 kB / 0.5455 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.109, allocations: 234.4 kB / 0.5457 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/1.121, allocations: 4.139 MB / 0.5498 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004871/1.122, allocations: 39.66 kB / 0.5498 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/1.138, allocations: 12.09 MB / 0.5616 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.138, allocations: 0 / 0.5616 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.156, allocations: 9.924 MB / 0.5713 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/1.157, allocations: 313.2 kB / 0.5716 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/1.158, allocations: 35.98 kB / 0.5717 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.159, allocations: 191.1 kB / 0.5718 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/1.16, allocations: 106.8 kB / 0.5719 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.16, allocations: 49.16 kB / 0.572 GB, free: 124 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002371/1.162, allocations: 1.747 MB / 0.5737 GB, free: 122.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.162, allocations: 0 / 0.5737 GB, free: 122.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004202/1.166, allocations: 0.8293 MB / 0.5745 GB, free: 121.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[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 (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004507/1.167, allocations: 167.1 kB / 0.5747 GB, free: 121.3 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009332/1.176, allocations: 6.2 MB / 0.5807 GB, free: 115 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.176, allocations: 0 / 0.5807 GB, free: 115 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004462/1.181, allocations: 2.863 MB / 0.5835 GB, free: 112 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.183, allocations: 293.2 kB / 0.5838 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.195, allocations: 8.685 MB / 0.5923 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/1.197, allocations: 2.319 MB / 0.5945 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/1.197, allocations: 227.4 kB / 0.5948 GB, free: 100.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/1.197, allocations: 0 / 0.5948 GB, free: 100.4 MB / 446.1 MB Notification: Performance of Templates: time 0.4295/1.627, allocations: 128.7 MB / 0.7205 GB, free: 131.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheelCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.o] Error 1