Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.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.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007867/0.0007875, allocations: 93.97 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.0008479/0.0008479, allocations: 183.9 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.694/1.694, 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.0004647/0.0004647, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.008475/0.1247, allocations: 8.037 MB / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.1309, allocations: 2.214 MB / 339.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.1324, allocations: 27.88 kB / 339.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009454/0.1333, allocations: 238.2 kB / 339.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.1347, allocations: 400.9 kB / 339.9 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.136, allocations: 359.5 kB / 340.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1383, allocations: 2.079 MB / 342.3 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.1398, allocations: 0.8054 MB / 343.1 MB, free: 5.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.1409, allocations: 0.5875 MB / 343.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008693/0.1418, allocations: 0.6493 MB / 344.4 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.142, allocations: 80 kB / 344.5 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.1423, allocations: 123.9 kB / 344.6 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.1427, allocations: 282.9 kB / 344.9 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.143, allocations: 337 kB / 345.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.1457, allocations: 2.68 MB / 347.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1457, allocations: 0 / 347.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1457, allocations: 0 / 347.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.1458, allocations: 4 kB / 347.9 MB, free: 1.098 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.003358/0.1491, allocations: 1.639 MB / 349.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.1492, allocations: 12.03 kB / 349.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.1495, allocations: 177.9 kB / 349.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.1508, allocations: 0.8061 MB / 350.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.1511, allocations: 236.1 kB / 350.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.1514, allocations: 159.9 kB / 350.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.1548, allocations: 1.682 MB / 352.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.1549, allocations: 3.906 kB / 352.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.155, allocations: 68 kB / 352.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.1551, allocations: 40 kB / 352.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.1583, allocations: 1.577 MB / 354.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008804/0.1671, allocations: 5.962 MB / 360.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1689, allocations: 0.9568 MB / 361.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/0.1699, allocations: 0.5431 MB / 361.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.1699, allocations: 16.89 kB / 361.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.1711, allocations: 0.6646 MB / 362.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=90): time 2.795e-06/0.1711, allocations: 4 kB / 362.4 MB, free: 2.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.02994/0.2011, allocations: 9.844 MB / 372.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.2013, allocations: 299.7 kB / 372.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2024, allocations: 0.7778 MB / 373.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.2026, allocations: 53.7 kB / 373.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.2031, allocations: 0.67 MB / 374 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.2035, allocations: 406.2 kB / 374.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.2036, allocations: 28 kB / 374.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.2038, allocations: 406.8 kB / 374.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.2055, allocations: 0.8433 MB / 375.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.2075, allocations: 1.165 MB / 376.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.2092, allocations: 0.8262 MB / 377.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2092, allocations: 0 / 377.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00423/0.2134, allocations: 2.139 MB / 379.8 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.2135, allocations: 11.94 kB / 379.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2135, allocations: 8 kB / 379.9 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.214, allocations: 174.5 kB / 380 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2429/0.4569, allocations: 365.1 kB / 380.4 MB, free: 51.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.4606, allocations: 4.476 MB / 384.9 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.4625, allocations: 202.4 kB / 385.1 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.4626, allocations: 49.44 kB / 385.1 MB, free: 47.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 12 (axis.gear.bearingFriction.free,$whenCondition1,$PRE.axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.mode,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001116/0.4637, allocations: 385.5 kB / 385.5 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.464, allocations: 106.1 kB / 385.6 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.4644, allocations: 134.6 kB / 385.7 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.4644, allocations: 14.83 kB / 385.7 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.4644, allocations: 3.594 kB / 385.7 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.4644, allocations: 6.953 kB / 385.7 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/0.4733, allocations: 4.535 MB / 390.3 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.4734, allocations: 9.812 kB / 390.3 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.4747, allocations: 281.3 kB / 390.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007355/0.4754, allocations: 379.6 kB / 390.9 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.4755, allocations: 37.64 kB / 391 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.4773, allocations: 2.167 MB / 393.1 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/0.4773, allocations: 13.66 kB / 393.1 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.4828, allocations: 2.599 MB / 395.7 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008138/0.4836, allocations: 320.8 kB / 396.1 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.4838, allocations: 51.58 kB / 396.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.4849, allocations: 177.1 kB / 396.3 MB, free: 41.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000466/0.4854, allocations: 182.5 kB / 396.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4855, allocations: 45.27 kB / 396.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008658/0.4864, allocations: 0.5288 MB / 397 MB, free: 41.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4864, allocations: 0 / 397 MB, free: 41.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001827/0.4882, allocations: 344.7 kB / 397.4 MB, free: 41.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 7 (axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.motor.Jmotor.w,axis.controller.PI.x,axis.initializeFlange.phi_flange) * Number of discrete variables: 8 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase) * Number of discrete states: 3 (axis.gear.bearingFriction.mode,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003882/0.4886, allocations: 181 kB / 397.5 MB, free: 41.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004349/0.493, allocations: 2.099 MB / 399.6 MB, free: 40.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.493, allocations: 5.438 kB / 399.6 MB, free: 40.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.4955, allocations: 1.053 MB / 400.7 MB, free: 39.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.497, allocations: 200.4 kB / 400.9 MB, free: 39.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006368/0.5034, allocations: 3.789 MB / 404.7 MB, free: 37.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.5042, allocations: 1.186 MB / 405.9 MB, free: 36.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.5048, allocations: 81.84 kB / 406 MB, free: 36.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5048, allocations: 3.469 kB / 406 MB, free: 36.54 MB / 318.1 MB Notification: Performance of Templates: time 0.03921/0.544, allocations: 35.92 MB / 441.9 MB, free: 1.09 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.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.Systems.RobotR3.oneAxisCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxisCalcHelperMain.o] Error 1