Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 88.98 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.001106/0.001106, allocations: 177.5 kB / 17.84 MB, free: 5.621 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.544/1.544, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 12 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 50.41 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01315/0.1493, allocations: 12.56 MB / 364.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009684/0.159, allocations: 4.079 MB / 368.5 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.1618, allocations: 55.81 kB / 368.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.1635, allocations: 0.591 MB / 369.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.1702, allocations: 2.172 MB / 371.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1716, allocations: 439.3 kB / 371.8 MB, free: 64 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.4028/0.5744, allocations: 31.25 MB / 403 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004445/0.579, allocations: 1.526 MB / 404.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.5814, allocations: 0.7422 MB / 405.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.5842, allocations: 1.229 MB / 406.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004736/0.5848, allocations: 87.09 kB / 406.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.5871, allocations: 0.7875 MB / 407.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.5887, allocations: 1.034 MB / 408.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009622/0.5897, allocations: 0.5226 MB / 408.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.5951, allocations: 3.34 MB / 412.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.5951, allocations: 0 / 412.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.5952, allocations: 0 / 412.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.5953, allocations: 0 / 412.3 MB, free: 7.934 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: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.008329/0.6036, allocations: 2.758 MB / 415 MB, free: 5.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.6037, allocations: 12.03 kB / 415 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006331/0.6101, allocations: 1.701 MB / 416.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.6152, allocations: 1.483 MB / 418.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.6155, allocations: 128 kB / 418.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.6165, allocations: 166.5 kB / 418.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.631, allocations: 6.589 MB / 425.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.6312, allocations: 35.66 kB / 425.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007973/0.6321, allocations: 91.83 kB / 425.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.6344, allocations: 1.332 MB / 426.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.6468, allocations: 5.82 MB / 432.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03967/0.6865, allocations: 28.07 MB / 460.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006031/0.6926, allocations: 2.742 MB / 463.2 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.6945, allocations: 1.27 MB / 464.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000843/0.6954, allocations: 0.6356 MB / 465.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.6955, allocations: 47.06 kB / 465.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.647e-06/0.6955, allocations: 3.938 kB / 465.2 MB, free: 2.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06896/0.7645, allocations: 20.58 MB / 485.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.7646, allocations: 141.5 kB / 485.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006021/0.7706, allocations: 2.826 MB / 488.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004497/0.7711, allocations: 45.7 kB / 488.7 MB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00251/0.7736, allocations: 2.115 MB / 490.9 MB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/0.7749, allocations: 0.5978 MB / 491.5 MB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.7756, allocations: 92 kB / 491.5 MB, free: 7.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0005185/0.7761, allocations: 0.5166 MB / 492.1 MB, free: 7.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003986/0.7801, allocations: 2.196 MB / 494.3 MB, free: 5.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007549/0.7877, allocations: 5.177 MB / 499.4 MB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/0.7937, allocations: 3.299 MB / 0.4909 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/0.7938, allocations: 28 kB / 0.491 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02662/0.8204, allocations: 10.29 MB / 0.501 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.8206, allocations: 56.22 kB / 0.5011 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/0.8209, allocations: 104 kB / 0.5012 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/0.8326, allocations: 3.517 MB / 0.5046 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.8368, allocations: 1.107 MB / 0.5057 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/0.8585, allocations: 12.05 MB / 0.5175 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/0.8629, allocations: 335.4 kB / 0.5178 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/0.8643, allocations: 304 kB / 0.5181 GB, free: 15.16 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.004032/0.8683, allocations: 1.48 MB / 0.5195 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000897/0.8692, allocations: 252.8 kB / 0.5197 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/0.8938, allocations: 6.014 MB / 0.5256 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-05/0.8939, allocations: 16 kB / 0.5256 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.474e-05/0.894, allocations: 12 kB / 0.5256 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.894, allocations: 8.625 kB / 0.5257 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.33/1.224, allocations: 13.19 MB / 0.5385 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/1.224, allocations: 2.266 kB / 0.5385 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.225, allocations: 230.2 kB / 0.5388 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01282/1.238, allocations: 4.133 MB / 0.5428 GB, free: 146.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003972/1.239, allocations: 51.42 kB / 0.5428 GB, free: 146.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/1.257, allocations: 12.09 MB / 0.5547 GB, free: 141.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.257, allocations: 0 / 0.5547 GB, free: 141.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/1.275, allocations: 9.927 MB / 0.5643 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/1.276, allocations: 305.5 kB / 0.5646 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/1.277, allocations: 39.72 kB / 0.5647 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.278, allocations: 190.6 kB / 0.5649 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/1.279, allocations: 105.5 kB / 0.565 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.279, allocations: 50.78 kB / 0.565 GB, free: 136.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002407/1.281, allocations: 1.745 MB / 0.5667 GB, free: 136 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.222e-06/1.281, allocations: 0 / 0.5667 GB, free: 136 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004844/1.286, allocations: 0.8294 MB / 0.5675 GB, free: 135.7 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.0005203/1.286, allocations: 172.3 kB / 0.5677 GB, free: 135.5 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.009192/1.296, allocations: 6.206 MB / 0.5737 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.296, allocations: 4 kB / 0.5738 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004189/1.3, allocations: 2.862 MB / 0.5765 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.302, allocations: 280.1 kB / 0.5768 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.314, allocations: 8.703 MB / 0.5853 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/1.316, allocations: 2.318 MB / 0.5876 GB, free: 114.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/1.317, allocations: 223.4 kB / 0.5878 GB, free: 114.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/1.317, allocations: 0 / 0.5878 GB, free: 114.7 MB / 446.1 MB Notification: Performance of Templates: time 0.3616/1.678, allocations: 128.7 MB / 0.7135 GB, free: 137.8 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.o] Error 1