Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009743, allocations: 87.98 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009831/0.0009837, allocations: 196.8 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 4 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.009714/0.1525, allocations: 8.228 MB / 367 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005712/0.1583, allocations: 2.314 MB / 369.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.1598, allocations: 31.88 kB / 369.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009246/0.1608, allocations: 254.2 kB / 369.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.1626, allocations: 404.8 kB / 370 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1639, allocations: 355.5 kB / 370.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.1669, allocations: 2.087 MB / 372.5 MB, free: 424 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2791/0.446, allocations: 0.808 MB / 373.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.4481, allocations: 0.5928 MB / 373.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.4494, allocations: 0.6524 MB / 374.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.4497, allocations: 79.5 kB / 374.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.4502, allocations: 127.8 kB / 374.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.4506, allocations: 288.5 kB / 375 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.4511, allocations: 342.2 kB / 375.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.4555, allocations: 2.724 MB / 378.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4555, allocations: 1.375 kB / 378.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4555, allocations: 0 / 378.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.4556, allocations: 0 / 378.1 MB, free: 9.301 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.004575/0.4602, allocations: 1.661 MB / 379.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4603, allocations: 9.562 kB / 379.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.4608, allocations: 178.5 kB / 379.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.4625, allocations: 0.8205 MB / 380.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.4628, allocations: 235.4 kB / 381 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.4631, allocations: 162.9 kB / 381.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004019/0.4671, allocations: 1.668 MB / 382.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.4672, allocations: 2.656 kB / 382.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.4674, allocations: 68.88 kB / 382.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.4674, allocations: 34.75 kB / 382.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003939/0.4714, allocations: 1.535 MB / 384.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.4819, allocations: 5.949 MB / 390.4 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.4841, allocations: 0.9433 MB / 391.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.4852, allocations: 0.518 MB / 391.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.4853, allocations: 9.281 kB / 391.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.4866, allocations: 0.6509 MB / 392.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 3.456e-06/0.4866, allocations: 4 kB / 392.5 MB, free: 3.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.03307/0.5196, allocations: 9.69 MB / 402.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.5199, allocations: 299.8 kB / 402.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.5214, allocations: 0.7935 MB / 403.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.5215, allocations: 53.7 kB / 403.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/0.5222, allocations: 0.6621 MB / 404 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.5227, allocations: 412.7 kB / 404.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.5228, allocations: 27.94 kB / 404.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.523, allocations: 410.7 kB / 404.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.5249, allocations: 0.816 MB / 405.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.527, allocations: 1.138 MB / 406.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.5289, allocations: 0.7992 MB / 407.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5289, allocations: 3.781 kB / 407.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004738/0.5336, allocations: 2.084 MB / 409.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.5337, allocations: 8 kB / 409.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.5337, allocations: 12 kB / 409.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.5342, allocations: 170.5 kB / 409.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.5358, allocations: 379.9 kB / 410.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/0.5403, allocations: 4.467 MB / 414.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5423, allocations: 203.9 kB / 414.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.5424, allocations: 48 kB / 414.9 MB, free: 1.219 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 (169): * Single equations (assignments): 166 * 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.00118/0.5436, allocations: 392.4 kB / 415.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.5438, allocations: 110.1 kB / 415.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.5441, allocations: 134 kB / 415.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5442, allocations: 12 kB / 415.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.5442, allocations: 0 / 415.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.5442, allocations: 7.969 kB / 415.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008778/0.553, allocations: 4.456 MB / 420 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.553, allocations: 8.969 kB / 420 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.5542, allocations: 286.1 kB / 420.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/0.5547, allocations: 249.9 kB / 420.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/0.5548, allocations: 36 kB / 420.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.5567, allocations: 2.086 MB / 422.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/0.5567, allocations: 18.97 kB / 422.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005179/0.5619, allocations: 2.481 MB / 425.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009272/0.5629, allocations: 327.7 kB / 425.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.5631, allocations: 43.98 kB / 425.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.5642, allocations: 179.8 kB / 425.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/0.5647, allocations: 179.3 kB / 425.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/0.5648, allocations: 51.94 kB / 425.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.566, allocations: 0.5376 MB / 426.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.566, allocations: 0 / 426.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001908/0.5679, allocations: 340 kB / 426.8 MB, free: 4.969 MB / 334.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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.5694, allocations: 424.5 kB / 427.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.5744, allocations: 2.054 MB / 429.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.5744, allocations: 0 / 429.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.5768, allocations: 1.036 MB / 430.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.5786, allocations: 204.2 kB / 430.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/0.587, allocations: 3.814 MB / 434.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.5884, allocations: 1.186 MB / 435.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007931/0.5892, allocations: 79.44 kB / 435.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5892, allocations: 4 kB / 435.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Templates: time 0.05611/0.6453, allocations: 36.36 MB / 472 MB, free: 7.812 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxisCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxisCalcHelperMain.o] Error 1