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.001048/0.001048, allocations: 92.45 kB / 17.59 MB, free: 6.168 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.001332/0.001331, allocations: 184 kB / 18.47 MB, free: 5.336 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.707/1.707, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004653/0.0004653, allocations: 16 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01263/0.1454, allocations: 12.57 MB / 341.6 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.1547, allocations: 4.073 MB / 345.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.1573, allocations: 51.88 kB / 345.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.1594, allocations: 0.5871 MB / 346.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.1675, allocations: 2.184 MB / 348.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.169, allocations: 435.3 kB / 348.9 MB, free: 136 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02364/0.1927, allocations: 17.65 MB / 366.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.1961, allocations: 1.552 MB / 368.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.198, allocations: 0.7355 MB / 368.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.2003, allocations: 1.238 MB / 370 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008615/0.2012, allocations: 88 kB / 370.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.2035, allocations: 0.7761 MB / 370.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.2051, allocations: 1.04 MB / 372 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.2062, allocations: 0.5079 MB / 372.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.2104, allocations: 3.348 MB / 375.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2104, allocations: 0 / 375.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.2104, allocations: 0 / 375.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001561/0.2106, allocations: 3.938 kB / 375.8 MB, free: 5.109 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.007243/0.2178, allocations: 2.758 MB / 378.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.2179, allocations: 12.03 kB / 378.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005952/0.2238, allocations: 1.701 MB / 380.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2147/0.4385, allocations: 1.533 MB / 381.8 MB, free: 52.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.4387, allocations: 122.3 kB / 381.9 MB, free: 52.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.439, allocations: 174.3 kB / 382.1 MB, free: 52.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.4493, allocations: 6.594 MB / 388.7 MB, free: 49.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.44e-05/0.4494, allocations: 34.25 kB / 388.7 MB, free: 49.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.4497, allocations: 89.33 kB / 388.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00221/0.4519, allocations: 1.326 MB / 390.1 MB, free: 49.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.4626, allocations: 5.82 MB / 396 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02486/0.4875, allocations: 28.09 MB / 424.1 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/0.4923, allocations: 2.745 MB / 426.8 MB, free: 16.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.4935, allocations: 1.263 MB / 428.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/0.494, allocations: 0.633 MB / 428.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.494, allocations: 51.06 kB / 428.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.997e-06/0.494, allocations: 4 kB / 428.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.05957/0.5536, allocations: 20.59 MB / 449.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.5537, allocations: 141.5 kB / 449.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.558, allocations: 2.832 MB / 452.3 MB, free: 7.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.5584, allocations: 45.7 kB / 452.3 MB, free: 7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.56, allocations: 2.104 MB / 454.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000773/0.5608, allocations: 0.6035 MB / 455.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.5611, allocations: 96 kB / 455.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003178/0.5614, allocations: 0.5127 MB / 455.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.5645, allocations: 2.204 MB / 457.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005606/0.5701, allocations: 5.162 MB / 463 MB, free: 10.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.5755, allocations: 3.321 MB / 466.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-05/0.5756, allocations: 28 kB / 466.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02286/0.5985, allocations: 10.28 MB / 476.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/0.5986, allocations: 52 kB / 476.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-05/0.5987, allocations: 104 kB / 476.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/0.6096, allocations: 3.522 MB / 480.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.6133, allocations: 1.103 MB / 481.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.6323, allocations: 12.04 MB / 493.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/0.637, allocations: 331.5 kB / 493.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005938/0.6376, allocations: 308 kB / 494.1 MB, free: 11.57 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 (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.002924/0.6406, allocations: 1.478 MB / 495.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/0.6412, allocations: 248.7 kB / 495.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.6561, allocations: 6.018 MB / 0.4901 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.6561, allocations: 16 kB / 0.4901 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.6561, allocations: 8 kB / 0.4901 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.6562, allocations: 11.91 kB / 0.4901 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.6834, allocations: 13.22 MB / 0.503 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/0.6834, allocations: 0 / 0.503 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6846, allocations: 243.6 kB / 0.5033 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/0.6965, allocations: 4.131 MB / 0.5073 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004625/0.697, allocations: 49.17 kB / 0.5073 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01897/0.716, allocations: 12.09 MB / 0.5191 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7161, allocations: 7.938 kB / 0.5192 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2549/0.971, allocations: 9.923 MB / 0.5288 GB, free: 129.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/0.972, allocations: 306.9 kB / 0.5291 GB, free: 129.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/0.9724, allocations: 38.23 kB / 0.5292 GB, free: 129.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.9739, allocations: 183.6 kB / 0.5293 GB, free: 129.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/0.9743, allocations: 106.2 kB / 0.5294 GB, free: 129.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.9745, allocations: 49.53 kB / 0.5295 GB, free: 129.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003844/0.9783, allocations: 1.758 MB / 0.5312 GB, free: 129.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9783, allocations: 0 / 0.5312 GB, free: 129.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004729/0.9831, allocations: 0.8233 MB / 0.532 GB, free: 129.2 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 (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.0004483/0.9835, allocations: 158.6 kB / 0.5322 GB, free: 129.1 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.01051/0.994, allocations: 6.206 MB / 0.5382 GB, free: 126.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9941, allocations: 0 / 0.5382 GB, free: 126.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004619/0.9987, allocations: 2.866 MB / 0.541 GB, free: 125.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.001, allocations: 286.6 kB / 0.5413 GB, free: 125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.012, allocations: 8.696 MB / 0.5498 GB, free: 120.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.014, allocations: 2.324 MB / 0.5521 GB, free: 119.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/1.015, allocations: 226.5 kB / 0.5523 GB, free: 119.7 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/1.015, allocations: 0 / 0.5523 GB, free: 119.7 MB / 414.1 MB Notification: Performance of Templates: time 0.3517/1.366, allocations: 128.8 MB / 0.6781 GB, free: 145.6 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++ 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_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