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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 107 kB / 21.98 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 217.5 kB / 25.28 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4704,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=4704,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.86 kB / 348.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2195, allocations: 49.15 MB / 397.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.008403/0.2279, allocations: 8.014 MB / 405.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.2322, allocations: 2.269 MB / 408 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.2337, allocations: 35.81 kB / 408 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.2347, allocations: 326.4 kB / 408.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2366, allocations: 0.4915 MB / 408.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.238, allocations: 0.6615 MB / 409.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.2407, allocations: 2.344 MB / 411.8 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.2419, allocations: 0.6946 MB / 412.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.243, allocations: 0.8447 MB / 413.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.244, allocations: 0.7827 MB / 414.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.2444, allocations: 278 kB / 414.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.2449, allocations: 332.4 kB / 414.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.2454, allocations: 0.5029 MB / 415.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007842/0.2461, allocations: 0.7952 MB / 416 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.2494, allocations: 3.392 MB / 419.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2494, allocations: 4 kB / 419.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2494, allocations: 1.906 kB / 419.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.848e-05/0.2494, allocations: 0 / 419.4 MB, free: 10.91 MB / 334.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.004007/0.2534, allocations: 1.889 MB / 421.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2535, allocations: 16.58 kB / 421.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.2539, allocations: 187.4 kB / 421.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.2553, allocations: 0.7897 MB / 422.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.2557, allocations: 442.1 kB / 422.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.256, allocations: 170.2 kB / 422.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.2594, allocations: 1.89 MB / 424.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/0.2595, allocations: 14.91 kB / 424.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.2596, allocations: 61.16 kB / 424.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.2596, allocations: 37.19 kB / 424.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.2632, allocations: 1.568 MB / 426.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008986/0.2722, allocations: 4.995 MB / 431.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.2745, allocations: 0.9023 MB / 432.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.2756, allocations: 0.493 MB / 432.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.2757, allocations: 13 kB / 432.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.2772, allocations: 0.8692 MB / 433.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.427e-06/0.2772, allocations: 0 / 433.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.03679/0.314, allocations: 8.708 MB / 442.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.3142, allocations: 295.7 kB / 442.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3153, allocations: 0.7736 MB / 443.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.3154, allocations: 53.7 kB / 443.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.316, allocations: 0.6838 MB / 444.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.3164, allocations: 436.3 kB / 444.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/0.3169, allocations: 243.5 kB / 444.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.3171, allocations: 406.7 kB / 445.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.3193, allocations: 0.8199 MB / 446.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.3219, allocations: 1.339 MB / 447.5 MB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/0.326, allocations: 1.65 MB / 449.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.326, allocations: 0 / 449.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005153/0.3311, allocations: 2.084 MB / 451.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3311, allocations: 8 kB / 451.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3311, allocations: 11.94 kB / 451.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.3316, allocations: 174.5 kB / 451.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.3334, allocations: 359.5 kB / 451.8 MB, free: 12.04 MB / 366.1 MB Error: Too many equations, over-determined system. The model has 4 equation(s) and 1 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/Rotational.mo:7851:7-7852:44:writable] Error: axis.gear.bearingFriction.locked = not ($PRE.axis.gear.bearingFriction.mode == 1 or axis.gear.bearingFriction.startForward or $PRE.axis.gear.bearingFriction.mode == -1 or axis.gear.bearingFriction.startBackward) has size 1 but 0 variables () Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2272:9-2272:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.3364, allocations: 3.357 MB / 455.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.338, allocations: 167.9 kB / 455.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.3381, allocations: 48 kB / 455.3 MB, free: 8.23 MB / 366.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: 13 (axis.gear.bearingFriction.free,pathPlanning.terminateSimulation.condition,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase,pathPlanning.path.motion_ref,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 (169): * Single equations (assignments): 166 * 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.0007224/0.3388, allocations: 383.5 kB / 455.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.339, allocations: 111.3 kB / 455.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.3393, allocations: 133.6 kB / 455.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.3393, allocations: 7.969 kB / 456 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3393, allocations: 4 kB / 456 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.3399, allocations: 271.3 kB / 456.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.3401, allocations: 39.98 kB / 456.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.3414, allocations: 147.8 kB / 456.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.3418, allocations: 160.7 kB / 456.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005597/0.3474, allocations: 1.962 MB / 458.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006625/0.354, allocations: 2.779 MB / 461.3 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002012/0.356, allocations: 0.7534 MB / 462.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007605/0.3568, allocations: 0.5147 MB / 462.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of Backend: time 6.91e-07/0.3568, allocations: 0 / 462.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003853/0.3607, allocations: 1.414 MB / 464 MB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 0.004593/0.3652, allocations: 2.98 MB / 467 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.0397/0.405, allocations: 25.94 MB / 492.9 MB, free: 2.434 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.858950457070023] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.41307666106149554 0.42732949499999995 0.17488762599999993 Calling exit ...