Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001253/0.001253, allocations: 110.3 kB / 17.81 MB, free: 5.559 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.001352/0.001352, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 46.62 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0184/0.1548, allocations: 14.02 MB / 341.3 MB, free: 6.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.1675, allocations: 4.414 MB / 345.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/0.1716, allocations: 51.88 kB / 345.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.1744, allocations: 0.8647 MB / 346.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.1796, allocations: 1.277 MB / 347.9 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.1812, allocations: 495.3 kB / 348.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007052/0.1883, allocations: 4.494 MB / 352.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.1913, allocations: 1.271 MB / 354.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.1934, allocations: 0.708 MB / 354.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.1961, allocations: 1.312 MB / 356.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008984/0.197, allocations: 104 kB / 356.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.1995, allocations: 0.9593 MB / 357.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.2007, allocations: 1.079 MB / 358.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.2021, allocations: 1.25 MB / 359.5 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003705/0.2058, allocations: 3.419 MB / 363 MB, free: 1.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2058, allocations: 4 kB / 363 MB, free: 1.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2058, allocations: 0 / 363 MB, free: 1.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.255e-05/0.2059, allocations: 0 / 363 MB, free: 1.051 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: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.00752/0.2134, allocations: 3.273 MB / 366.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.2135, allocations: 8.031 kB / 366.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/0.2195, allocations: 1.651 MB / 367.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.2229, allocations: 1.55 MB / 369.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.2231, allocations: 135.1 kB / 369.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.2234, allocations: 171.8 kB / 369.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.2344, allocations: 6.596 MB / 376.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.159e-05/0.2345, allocations: 35.66 kB / 376.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.2348, allocations: 87.91 kB / 376.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001999/0.2368, allocations: 1.335 MB / 377.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3027/0.5395, allocations: 5.831 MB / 383.6 MB, free: 49.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03477/0.5743, allocations: 28.08 MB / 411.7 MB, free: 28.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.5796, allocations: 2.738 MB / 414.4 MB, free: 26.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.581, allocations: 1.278 MB / 415.7 MB, free: 25.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.5815, allocations: 0.6352 MB / 416.4 MB, free: 24.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.5816, allocations: 39.12 kB / 416.4 MB, free: 24.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 4.859e-06/0.5816, allocations: 4 kB / 416.4 MB, free: 24.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06483/0.6465, allocations: 20.55 MB / 436.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.6465, allocations: 149.5 kB / 437.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.6501, allocations: 2.848 MB / 439.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.6504, allocations: 53.61 kB / 440 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.6518, allocations: 2.098 MB / 442.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007429/0.6525, allocations: 0.6009 MB / 442.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/0.6541, allocations: 1.008 MB / 443.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6542, allocations: 313.1 kB / 444 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/0.6576, allocations: 2.215 MB / 446.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/0.6638, allocations: 5.185 MB / 451.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.6752, allocations: 7.989 MB / 459.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.6754, allocations: 32 kB / 459.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02585/0.7012, allocations: 10.3 MB / 469.7 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.7014, allocations: 48 kB / 469.8 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.7016, allocations: 108 kB / 469.9 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.7134, allocations: 3.432 MB / 473.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.7171, allocations: 1.103 MB / 474.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.7368, allocations: 12.01 MB / 486.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.7415, allocations: 331.4 kB / 486.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005475/0.7421, allocations: 308 kB / 487 MB, free: 14.89 MB / 382.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 (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002589/0.7447, allocations: 1.469 MB / 488.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/0.7452, allocations: 256.8 kB / 488.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/0.7615, allocations: 6.002 MB / 494.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.288e-05/0.7616, allocations: 16 kB / 494.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/0.7616, allocations: 8 kB / 494.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-05/0.7617, allocations: 7.969 kB / 494.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03034/0.792, allocations: 13.2 MB / 0.4961 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/0.7921, allocations: 0 / 0.4961 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.7934, allocations: 235.6 kB / 0.4963 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/0.8066, allocations: 4.012 MB / 0.5002 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005148/0.8071, allocations: 51.89 kB / 0.5003 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/0.8289, allocations: 12.01 MB / 0.512 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.829, allocations: 0 / 0.512 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3007/1.13, allocations: 9.888 MB / 0.5217 GB, free: 132.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.131, allocations: 306.9 kB / 0.522 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/1.132, allocations: 36.78 kB / 0.522 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.135, allocations: 185.5 kB / 0.5222 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008694/1.136, allocations: 110.3 kB / 0.5223 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/1.136, allocations: 48.78 kB / 0.5223 GB, free: 132.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004464/1.141, allocations: 1.771 MB / 0.524 GB, free: 132.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.141, allocations: 3.938 kB / 0.5241 GB, free: 132.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005506/1.146, allocations: 0.8253 MB / 0.5249 GB, free: 132.4 MB / 414.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 (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005078/1.147, allocations: 159.1 kB / 0.525 GB, free: 132.3 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.01428/1.161, allocations: 6.223 MB / 0.5311 GB, free: 130.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.161, allocations: 2.062 kB / 0.5311 GB, free: 130.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006306/1.168, allocations: 2.865 MB / 0.5339 GB, free: 129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.171, allocations: 284.9 kB / 0.5342 GB, free: 128.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.187, allocations: 8.826 MB / 0.5428 GB, free: 124.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/1.19, allocations: 2.324 MB / 0.545 GB, free: 123.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008583/1.191, allocations: 224.1 kB / 0.5453 GB, free: 123.3 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/1.191, allocations: 0 / 0.5453 GB, free: 123.3 MB / 414.1 MB Notification: Performance of Templates: time 0.1167/1.307, allocations: 129.2 MB / 0.6714 GB, free: 14.92 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelCalcHelperMain.o] Error 1