Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.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.00143/0.00143, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001602/0.001602, allocations: 163.4 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02743/0.02743, allocations: 4.076 MB / 263.3 MB, free: 12.7 MB / 254.1 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 388.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.495e-05, allocations: 2.281 kB / 388.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009539/0.009574, allocations: 7.07 MB / 395.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.01745, allocations: 3.309 MB / 398.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.01866, allocations: 43.75 kB / 398.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.02179, allocations: 1.117 MB / 399.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.02594, allocations: 1.435 MB / 401 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.02747, allocations: 0.5767 MB / 401.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.03208, allocations: 3.114 MB / 404.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.0351, allocations: 1.645 MB / 406.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.03838, allocations: 1.387 MB / 407.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.04113, allocations: 1.411 MB / 409.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006212/0.04175, allocations: 176 kB / 409.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.04383, allocations: 0.8462 MB / 410.2 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.04544, allocations: 1.153 MB / 411.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.04713, allocations: 0.728 MB / 412.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006757/0.05389, allocations: 4.368 MB / 416.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.05389, allocations: 0 / 416.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05389, allocations: 0 / 416.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.05402, allocations: 0 / 416.4 MB, free: 1.801 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.007356/0.06138, allocations: 3.158 MB / 419.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.06142, allocations: 8.031 kB / 419.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/0.06833, allocations: 1.762 MB / 421.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.07152, allocations: 1.392 MB / 422.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.07167, allocations: 135.7 kB / 422.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/0.07232, allocations: 176.2 kB / 423.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.08455, allocations: 6.719 MB / 429.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.08467, allocations: 31.73 kB / 429.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005427/0.08521, allocations: 91.88 kB / 429.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.08809, allocations: 1.456 MB / 431.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.1006, allocations: 5.958 MB / 437.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1991/0.2997, allocations: 25.91 MB / 463.2 MB, free: 45.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004611/0.3043, allocations: 1.896 MB / 465.1 MB, free: 45.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.3056, allocations: 0.9792 MB / 466.1 MB, free: 44.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/0.3056, allocations: 26.09 kB / 466.1 MB, free: 44.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3056, allocations: 49.28 kB / 466.2 MB, free: 44.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.457e-06/0.3056, allocations: 0 / 466.2 MB, free: 44.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.0188/0.3244, allocations: 8.128 MB / 474.3 MB, free: 41.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3245, allocations: 139.6 kB / 474.4 MB, free: 41.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.3274, allocations: 2.802 MB / 477.2 MB, free: 40.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3276, allocations: 41.2 kB / 477.3 MB, free: 40.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/0.3284, allocations: 2.268 MB / 479.6 MB, free: 38.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.3288, allocations: 468.7 kB / 480 MB, free: 38.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000854/0.3296, allocations: 0.8815 MB / 480.9 MB, free: 37.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.3297, allocations: 367.1 kB / 481.3 MB, free: 37.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.3315, allocations: 1.466 MB / 482.7 MB, free: 36.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.3341, allocations: 4.306 MB / 487 MB, free: 32.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.3455, allocations: 8.104 MB / 495.1 MB, free: 23.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-05/0.3456, allocations: 28 kB / 495.2 MB, free: 23.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.007317/0.3529, allocations: 5.56 MB / 0.489 GB, free: 17.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.353, allocations: 51.94 kB / 0.489 GB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/0.3531, allocations: 100 kB / 0.4891 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.694e-05/0.3532, allocations: 132 kB / 0.4893 GB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.3569, allocations: 1.24 MB / 0.4905 GB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.917e-05/0.357, allocations: 199.2 kB / 0.4907 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.3603, allocations: 295.8 kB / 0.4909 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/0.3606, allocations: 280 kB / 0.4912 GB, free: 15.35 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = \"rad\" fixed = true stateSelect=StateSelect.prefer ) \"Relative rotation angle from frame_a to frame_b\" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"First derivative of angle phi (relative angular velocity)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 553 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001715/0.3623, allocations: 1.449 MB / 0.4926 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/0.3628, allocations: 234.4 kB / 0.4928 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.3644, allocations: 1.252 MB / 0.4941 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.3644, allocations: 12 kB / 0.4941 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3645, allocations: 0 / 0.4941 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3645, allocations: 3.984 kB / 0.4941 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.3696, allocations: 3.63 MB / 0.4976 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3696, allocations: 4 kB / 0.4976 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.3715, allocations: 367.4 kB / 0.498 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.3715, allocations: 8 kB / 0.498 GB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/0.3716, allocations: 16 kB / 0.498 GB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3716, allocations: 5.688 kB / 0.498 GB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3716, allocations: 7.938 kB / 0.498 GB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.3749, allocations: 3.144 MB / 0.5011 GB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.3753, allocations: 230.4 kB / 0.5013 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.3756, allocations: 12 kB / 0.5013 GB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.3767, allocations: 99.84 kB / 0.5014 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.3769, allocations: 68.2 kB / 0.5015 GB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.377, allocations: 31.83 kB / 0.5015 GB, free: 4.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.3789, allocations: 1.615 MB / 0.5031 GB, free: 3.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3789, allocations: 0 / 0.5031 GB, free: 3.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003098/0.382, allocations: 0.6757 MB / 0.5037 GB, free: 2.441 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003739/0.3824, allocations: 161.2 kB / 0.5039 GB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004522/0.3869, allocations: 3.203 MB / 0.507 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3869, allocations: 4.188 kB / 0.507 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.3881, allocations: 0.7451 MB / 0.5078 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.3898, allocations: 255.9 kB / 0.508 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.3998, allocations: 5.683 MB / 0.5136 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.4021, allocations: 1.723 MB / 0.5152 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003404/0.4055, allocations: 1.435 MB / 0.5166 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.4062, allocations: 160.5 kB / 0.5168 GB, free: 5.055 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4062, allocations: 0 / 0.5168 GB, free: 5.055 MB / 382.1 MB Notification: Performance of Templates: time 0.04243/0.4486, allocations: 17.42 MB / 0.5338 GB, free: 4.023 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.57308716326952] Failed to read output from testmodel.py, exit status != 0: 0.4588308744132519 0.475774704 0.418252643 Calling exit ...