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.001012/0.001013, allocations: 101 kB / 17.96 MB, free: 5.766 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.001162/0.001163, allocations: 177.1 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 225 MB, free: 13.07 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.000498/0.000498, allocations: 15.98 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01535/0.1435, allocations: 13.44 MB / 343.1 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1545, allocations: 4.363 MB / 347.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.1578, allocations: 55.88 kB / 347.5 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.159, allocations: 266.8 kB / 347.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.1633, allocations: 1.285 MB / 349 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1647, allocations: 491.3 kB / 349.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00599/0.1707, allocations: 4.494 MB / 354 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.174, allocations: 1.658 MB / 355.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.1757, allocations: 0.6496 MB / 356.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.1781, allocations: 1.254 MB / 357.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006425/0.1788, allocations: 84 kB / 357.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.1811, allocations: 0.9397 MB / 358.6 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.1825, allocations: 1.06 MB / 359.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.1838, allocations: 1.236 MB / 360.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.1875, allocations: 3.344 MB / 364.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1875, allocations: 0 / 364.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1875, allocations: 0 / 364.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.1875, allocations: 0 / 364.2 MB, free: 1.008 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.006048/0.1936, allocations: 2.739 MB / 366.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1936, allocations: 8.031 kB / 367 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005875/0.1995, allocations: 1.705 MB / 368.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.2024, allocations: 1.557 MB / 370.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.2025, allocations: 135.1 kB / 370.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.2029, allocations: 167.9 kB / 370.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009454/0.2123, allocations: 6.608 MB / 377.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-05/0.2124, allocations: 31.66 kB / 377.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.2127, allocations: 91.88 kB / 377.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.215, allocations: 1.323 MB / 378.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2922/0.5072, allocations: 5.84 MB / 384.4 MB, free: 29.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04223/0.5495, allocations: 28.09 MB / 412.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/0.5554, allocations: 2.751 MB / 415.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.557, allocations: 1.273 MB / 416.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.5577, allocations: 0.6292 MB / 417.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.5578, allocations: 49.17 kB / 417.2 MB, free: 9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 4.278e-06/0.5578, allocations: 0.625 kB / 417.2 MB, free: 9 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.07188/0.6297, allocations: 20.6 MB / 437.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.6298, allocations: 145.5 kB / 437.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004533/0.6344, allocations: 2.848 MB / 440.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004359/0.6348, allocations: 51.42 kB / 440.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/0.6369, allocations: 2.102 MB / 442.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.6379, allocations: 0.5998 MB / 443.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006217/0.6385, allocations: 421.7 kB / 444 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6387, allocations: 301.1 kB / 444.2 MB, free: 280 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/0.6422, allocations: 2.217 MB / 446.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006397/0.6486, allocations: 5.193 MB / 451.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.6602, allocations: 7.99 MB / 459.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/0.6604, allocations: 28 kB / 459.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0275/0.6879, allocations: 10.33 MB / 470 MB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.6881, allocations: 52.91 kB / 470.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/0.6884, allocations: 104 kB / 470.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/0.7017, allocations: 3.51 MB / 473.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/0.7062, allocations: 1.103 MB / 474.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02346/0.7297, allocations: 12.05 MB / 486.8 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/0.7347, allocations: 331.5 kB / 487.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/0.736, allocations: 309.2 kB / 487.5 MB, free: 2.598 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.004023/0.74, allocations: 1.466 MB / 488.9 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008666/0.7409, allocations: 252.7 kB / 489.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01787/0.7588, allocations: 6.029 MB / 495.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-05/0.7589, allocations: 16 kB / 495.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.223e-05/0.7589, allocations: 8 kB / 495.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/0.759, allocations: 11.97 kB / 495.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/0.8035, allocations: 13.22 MB / 0.4965 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.8036, allocations: 4.125 kB / 0.4965 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.8048, allocations: 239.6 kB / 0.4968 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/0.8186, allocations: 4.132 MB / 0.5008 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003922/0.819, allocations: 43.95 kB / 0.5008 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/0.8394, allocations: 12.1 MB / 0.5127 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8395, allocations: 3.938 kB / 0.5127 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/0.8633, allocations: 9.95 MB / 0.5224 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.8646, allocations: 305.8 kB / 0.5227 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/0.8651, allocations: 32.61 kB / 0.5227 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.8668, allocations: 192.7 kB / 0.5229 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005833/0.8674, allocations: 108.8 kB / 0.523 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.8676, allocations: 51.97 kB / 0.523 GB, free: 2.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003073/0.8707, allocations: 1.762 MB / 0.5248 GB, free: 404 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.8707, allocations: 4 kB / 0.5248 GB, free: 400 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004361/0.875, allocations: 0.8305 MB / 0.5256 GB, free: 15.56 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 (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.0005409/0.8756, allocations: 160.7 kB / 0.5257 GB, free: 15.4 MB / 446.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.01162/0.8872, allocations: 6.223 MB / 0.5318 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.8872, allocations: 0 / 0.5318 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005829/0.8931, allocations: 2.867 MB / 0.5346 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.8955, allocations: 284.4 kB / 0.5349 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2325/1.128, allocations: 8.969 MB / 0.5436 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003011/1.131, allocations: 2.314 MB / 0.5459 GB, free: 159.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.132, allocations: 232.6 kB / 0.5461 GB, free: 159.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/1.132, allocations: 0 / 0.5461 GB, free: 159.8 MB / 446.1 MB Notification: Performance of Templates: time 0.1376/1.27, allocations: 128.7 MB / 0.6718 GB, free: 47.45 MB / 446.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