Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 215.4 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.288/1.288, allocations: 230.5 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_OneAxis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_OneAxis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 75.8 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2029, allocations: 53.32 MB / 429.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis): time 0.01024/0.2131, allocations: 9.455 MB / 438.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.2171, allocations: 2.454 MB / 441.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.2176, allocations: 35.88 kB / 441.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.2184, allocations: 348.9 kB / 441.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009474/0.2193, allocations: 0.5036 MB / 442.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.2203, allocations: 0.6593 MB / 442.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.2224, allocations: 2.364 MB / 445.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.2234, allocations: 0.7481 MB / 446 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.2243, allocations: 0.8724 MB / 446.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000959/0.2253, allocations: 0.8949 MB / 447.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.2256, allocations: 276 kB / 448 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.226, allocations: 336 kB / 448.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.2264, allocations: 0.5181 MB / 448.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.2273, allocations: 0.9842 MB / 449.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.2302, allocations: 3.399 MB / 453.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2302, allocations: 3.984 kB / 453.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2302, allocations: 0 / 453.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.2302, allocations: 0 / 453.2 MB, free: 15.44 MB / 366.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.003328/0.2335, allocations: 1.995 MB / 455.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2336, allocations: 15.97 kB / 455.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002666/0.2338, allocations: 228 kB / 455.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.2341, allocations: 191.8 kB / 455.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.2353, allocations: 0.8541 MB / 456.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.2356, allocations: 240.5 kB / 456.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.2358, allocations: 160 kB / 456.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.2386, allocations: 1.667 MB / 458.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.2387, allocations: 15.95 kB / 458.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.2388, allocations: 60 kB / 458.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.2388, allocations: 40 kB / 458.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.2419, allocations: 1.527 MB / 460.2 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008221/0.2501, allocations: 5.843 MB / 466.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.252, allocations: 0.8783 MB / 466.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009614/0.253, allocations: 484.5 kB / 467.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.253, allocations: 9 kB / 467.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.2542, allocations: 0.645 MB / 468.1 MB, free: 176 kB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.244e-06/0.2542, allocations: 0 / 468.1 MB, free: 176 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.03274/0.2869, allocations: 8.823 MB / 476.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.2871, allocations: 295.7 kB / 477.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2882, allocations: 0.8053 MB / 478 MB, free: 6.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.2883, allocations: 57.69 kB / 478 MB, free: 5.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.2888, allocations: 0.6761 MB / 478.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.2892, allocations: 432.3 kB / 479.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004471/0.2896, allocations: 243.5 kB / 479.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.2898, allocations: 418.7 kB / 479.8 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.2917, allocations: 0.7887 MB / 480.6 MB, free: 3.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.2938, allocations: 1.111 MB / 481.7 MB, free: 2.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.2973, allocations: 1.603 MB / 483.3 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2973, allocations: 0 / 483.3 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004498/0.3018, allocations: 2.034 MB / 485.3 MB, free: 14.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3018, allocations: 8 kB / 485.3 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3018, allocations: 8 kB / 485.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.3023, allocations: 226.4 kB / 485.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.3038, allocations: 351.5 kB / 485.9 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.308, allocations: 4.851 MB / 490.8 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3094, allocations: 159.9 kB / 490.9 MB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3095, allocations: 51.98 kB / 491 MB, free: 8.387 MB / 398.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 (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.0006736/0.3101, allocations: 391.1 kB / 491.3 MB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.3103, allocations: 111.3 kB / 491.5 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3106, allocations: 142.1 kB / 491.6 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.3106, allocations: 12 kB / 491.6 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3106, allocations: 0 / 491.6 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.3106, allocations: 3.984 kB / 491.6 MB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007285/0.3179, allocations: 4.353 MB / 496 MB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.3179, allocations: 8 kB / 496 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.319, allocations: 264.1 kB / 496.2 MB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/0.3195, allocations: 277.6 kB / 496.5 MB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.3196, allocations: 39.98 kB / 496.5 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.3213, allocations: 2.205 MB / 498.7 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.3213, allocations: 15.94 kB / 498.8 MB, free: 224 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/0.3258, allocations: 2.386 MB / 0.4894 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.3263, allocations: 328.3 kB / 0.4897 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.3265, allocations: 55.92 kB / 0.4898 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.3275, allocations: 135.9 kB / 0.4899 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.3278, allocations: 168.2 kB / 0.4901 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.3279, allocations: 47.98 kB / 0.4901 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.3286, allocations: 0.5458 MB / 0.4906 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3286, allocations: 0 / 0.4906 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001095/0.3297, allocations: 336 kB / 0.491 GB, free: 12.07 MB / 414.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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005955/0.3356, allocations: 3.252 MB / 0.4941 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003916/0.3395, allocations: 1.875 MB / 0.496 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.3395, allocations: 8.562 kB / 0.496 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.3416, allocations: 1.012 MB / 0.497 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3427, allocations: 200.1 kB / 0.4971 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.3631, allocations: 12.07 MB / 0.5089 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.3639, allocations: 1.186 MB / 0.5101 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.3646, allocations: 172.4 kB / 0.5102 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/0.3654, allocations: 0.5149 MB / 0.5108 GB, free: 7.125 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3654, allocations: 0 / 0.5108 GB, free: 7.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.5965, allocations: 30.27 MB / 0.5403 GB, free: 105.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.29, allocations: 5.375 kB / 0.5403 GB, free: 105.6 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_OneAxis_fmu --startTime=0 --stopTime=1.6 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_OneAxis.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.OneAxis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.507947056001285]