Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000961/0.0009612, allocations: 91.72 kB / 16.95 MB, free: 5.621 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.001074/0.001074, allocations: 187.9 kB / 17.85 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.2 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003106, allocations: 4 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 50.42 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.0101/0.1593, allocations: 8.129 MB / 360 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.1662, allocations: 2.201 MB / 362.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.1684, allocations: 31.88 kB / 362.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.1695, allocations: 234.3 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.1717, allocations: 404.8 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1731, allocations: 353.5 kB / 363.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.1769, allocations: 2.083 MB / 365.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.1785, allocations: 0.8125 MB / 366.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.1802, allocations: 0.5914 MB / 366.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.1812, allocations: 0.6454 MB / 367.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.1814, allocations: 80 kB / 367.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.1818, allocations: 120 kB / 367.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.1821, allocations: 282.8 kB / 367.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.1826, allocations: 348.8 kB / 368.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.1855, allocations: 2.664 MB / 370.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.1856, allocations: 4 kB / 370.8 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.364e-06/0.1856, allocations: 0 / 370.8 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-05/0.1857, allocations: 4 kB / 370.8 MB, free: 0.9375 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.2986/0.4842, allocations: 1.631 MB / 372.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4843, allocations: 10.03 kB / 372.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.4849, allocations: 176.4 kB / 372.6 MB, free: 23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.4864, allocations: 0.8098 MB / 373.5 MB, free: 22.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.4867, allocations: 238.7 kB / 373.7 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.487, allocations: 161.8 kB / 373.8 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.4908, allocations: 1.684 MB / 375.5 MB, free: 22.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.4909, allocations: 15 kB / 375.5 MB, free: 22.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.4911, allocations: 62.06 kB / 375.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.4911, allocations: 38.98 kB / 375.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/0.4947, allocations: 1.578 MB / 377.2 MB, free: 21.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.5048, allocations: 5.949 MB / 383.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.5069, allocations: 0.9585 MB / 384.1 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.508, allocations: 0.5378 MB / 384.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.315e-05/0.5081, allocations: 10.28 kB / 384.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.5094, allocations: 0.6694 MB / 385.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=90): time 3.016e-06/0.5094, allocations: 0 / 385.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.03152/0.5409, allocations: 9.848 MB / 395.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.5411, allocations: 304.8 kB / 395.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5422, allocations: 0.7874 MB / 396.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5423, allocations: 53.7 kB / 396.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.5428, allocations: 0.6561 MB / 397 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.5432, allocations: 411.7 kB / 397.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.5433, allocations: 28 kB / 397.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5434, allocations: 406.7 kB / 397.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.545, allocations: 0.8434 MB / 398.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.5467, allocations: 1.168 MB / 399.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.5482, allocations: 0.8262 MB / 400.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5483, allocations: 0 / 400.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003916/0.5522, allocations: 2.127 MB / 402.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.5522, allocations: 8 kB / 402.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.5523, allocations: 8 kB / 402.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.5527, allocations: 175.3 kB / 403 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5542, allocations: 381.7 kB / 403.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.5578, allocations: 4.465 MB / 407.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.5595, allocations: 195.9 kB / 408 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.5597, allocations: 52 kB / 408 MB, free: 14.42 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.001119/0.5608, allocations: 391.1 kB / 408.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.5612, allocations: 102.8 kB / 408.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.5616, allocations: 134 kB / 408.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.5616, allocations: 15.94 kB / 408.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5616, allocations: 0 / 408.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.5616, allocations: 7.969 kB / 408.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009076/0.5707, allocations: 4.544 MB / 413.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/0.5708, allocations: 8 kB / 413.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.572, allocations: 279.7 kB / 413.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006334/0.5726, allocations: 366.7 kB / 413.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.5727, allocations: 43.98 kB / 413.9 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.5749, allocations: 2.176 MB / 416.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.5749, allocations: 16.09 kB / 416.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/0.5802, allocations: 2.595 MB / 418.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/0.5809, allocations: 327.7 kB / 419 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/0.5813, allocations: 44 kB / 419.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.5824, allocations: 183.8 kB / 419.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.5828, allocations: 188.1 kB / 419.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.5829, allocations: 44 kB / 419.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009523/0.5839, allocations: 0.5264 MB / 420 MB, free: 1.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5839, allocations: 0 / 420 MB, free: 1.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001622/0.5855, allocations: 346.6 kB / 420.3 MB, free: 1.629 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.0004113/0.5859, allocations: 173.8 kB / 420.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004329/0.5903, allocations: 2.095 MB / 422.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.5903, allocations: 4 kB / 422.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.5925, allocations: 1.063 MB / 423.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.5941, allocations: 193.5 kB / 423.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007092/0.6012, allocations: 3.792 MB / 427.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.6024, allocations: 1.182 MB / 428.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.6029, allocations: 87.44 kB / 428.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6029, allocations: 0 / 428.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of Templates: time 0.05091/0.6538, allocations: 35.93 MB / 464.8 MB, free: 4.906 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxisCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxisCalcHelperMain.o] Error 1