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.001073/0.001073, allocations: 91.88 kB / 17.95 MB, free: 5.629 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.001653/0.001654, allocations: 180 kB / 18.86 MB, free: 4.773 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.962/1.962, 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.000508/0.0005082, allocations: 12 kB / 282.1 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 47.58 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.01072/0.1333, allocations: 8.593 MB / 338.2 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006226/0.1395, allocations: 2.252 MB / 340.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.1417, allocations: 31.88 kB / 340.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.1431, allocations: 246.3 kB / 340.7 MB, free: 8.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.1458, allocations: 416.9 kB / 341.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1475, allocations: 0.5777 MB / 341.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003571/0.1511, allocations: 2.157 MB / 343.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.1531, allocations: 0.9998 MB / 344.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.1544, allocations: 0.5951 MB / 345.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.1557, allocations: 0.6724 MB / 346.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.156, allocations: 83.94 kB / 346.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1565, allocations: 131.9 kB / 346.4 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.1568, allocations: 290.7 kB / 346.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.1577, allocations: 0.7789 MB / 347.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.1599, allocations: 2.664 MB / 350.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.16, allocations: 0 / 350.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.16, allocations: 0 / 350.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.16, allocations: 0 / 350.1 MB, free: 15.13 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: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.003213/0.1632, allocations: 1.624 MB / 351.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1633, allocations: 8.031 kB / 351.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.1636, allocations: 186.9 kB / 351.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.1647, allocations: 0.8341 MB / 352.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.1651, allocations: 236.7 kB / 353 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.1654, allocations: 163.9 kB / 353.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.1687, allocations: 1.698 MB / 354.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.1687, allocations: 7.906 kB / 354.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.1689, allocations: 64 kB / 354.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.1689, allocations: 36 kB / 354.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.1723, allocations: 1.585 MB / 356.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009963/0.1823, allocations: 5.966 MB / 362.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.1845, allocations: 0.9675 MB / 363.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.1856, allocations: 0.5432 MB / 364 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/0.1857, allocations: 9 kB / 364 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.187, allocations: 0.6723 MB / 364.7 MB, free: 112 kB / 302.1 MB Notification: Performance of pre-optimization done (n=90): time 2.925e-06/0.187, allocations: 3.938 kB / 364.7 MB, free: 108 kB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.03505/0.2221, allocations: 9.86 MB / 374.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.2223, allocations: 299.7 kB / 374.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.2234, allocations: 0.7857 MB / 375.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.2235, allocations: 57.69 kB / 375.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000639/0.2242, allocations: 0.6622 MB / 376.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/0.2246, allocations: 410.1 kB / 376.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.2248, allocations: 113.6 kB / 376.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003231/0.2252, allocations: 414.7 kB / 377.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/0.2283, allocations: 0.8473 MB / 378.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/0.2319, allocations: 1.177 MB / 379.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2812/0.5131, allocations: 1.713 MB / 381 MB, free: 50.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.5132, allocations: 2.625 kB / 381 MB, free: 50.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005775/0.519, allocations: 2.143 MB / 383.1 MB, free: 50.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.519, allocations: 9.281 kB / 383.1 MB, free: 50.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.5191, allocations: 7.906 kB / 383.2 MB, free: 50.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.5195, allocations: 189 kB / 383.3 MB, free: 50.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.5213, allocations: 365.5 kB / 383.7 MB, free: 50.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.5247, allocations: 4.47 MB / 388.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5265, allocations: 207.3 kB / 388.4 MB, free: 46.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.5267, allocations: 51.19 kB / 388.4 MB, free: 46.43 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,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase,axis.gear.bearingFriction.mode,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.startBackward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startForward,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008889/0.5276, allocations: 392 kB / 388.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5278, allocations: 103.5 kB / 388.9 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.5281, allocations: 134.6 kB / 389 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.5281, allocations: 12.12 kB / 389 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.5281, allocations: 5.094 kB / 389.1 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.5281, allocations: 7.219 kB / 389.1 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00869/0.5368, allocations: 4.54 MB / 393.6 MB, free: 43.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.5369, allocations: 10.34 kB / 393.6 MB, free: 43.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.5381, allocations: 284.1 kB / 393.9 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006812/0.5388, allocations: 367.4 kB / 394.2 MB, free: 43.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.5389, allocations: 37.2 kB / 394.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.5406, allocations: 2.173 MB / 396.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/0.5406, allocations: 15.75 kB / 396.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.5458, allocations: 2.613 MB / 399.1 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.5464, allocations: 321.6 kB / 399.4 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5466, allocations: 44.38 kB / 399.4 MB, free: 40.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5477, allocations: 180.8 kB / 399.6 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.5481, allocations: 169 kB / 399.8 MB, free: 39.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/0.5482, allocations: 44.8 kB / 399.8 MB, free: 39.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000887/0.549, allocations: 0.53 MB / 400.4 MB, free: 39.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5491, allocations: 4 kB / 400.4 MB, free: 39.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001277/0.5503, allocations: 350.9 kB / 400.7 MB, free: 39.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/0.5507, allocations: 185.6 kB / 400.9 MB, free: 39.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.5545, allocations: 2.1 MB / 403 MB, free: 38.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5545, allocations: 0 / 403 MB, free: 38.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.5564, allocations: 1.065 MB / 404 MB, free: 38.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.5584, allocations: 190.1 kB / 404.2 MB, free: 38.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.5635, allocations: 3.963 MB / 408.2 MB, free: 34.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.5641, allocations: 1.182 MB / 409.4 MB, free: 33.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.5646, allocations: 79.44 kB / 409.5 MB, free: 33.51 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5646, allocations: 0 / 409.5 MB, free: 33.51 MB / 318.1 MB Notification: Performance of Templates: time 0.03346/0.598, allocations: 35.9 MB / 445.4 MB, free: 13.55 MB / 334.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++ -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.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