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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 106.7 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.1359/0.1359, allocations: 5.208 MB / 303.1 MB, free: 3.672 MB / 238.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.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(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 0.001883/0.001883, allocations: 67.89 kB / 418.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2714, allocations: 50.56 MB / 469 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008217/0.2797, allocations: 7.908 MB / 476.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006589/0.2863, allocations: 3.48 MB / 480.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.288, allocations: 33.66 kB / 480.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.2905, allocations: 1.105 MB / 481.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.2945, allocations: 1.38 MB / 482.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.2959, allocations: 0.5292 MB / 483.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.3003, allocations: 2.73 MB / 486.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.3023, allocations: 1.629 MB / 487.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.3038, allocations: 0.8773 MB / 488.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.3053, allocations: 1.249 MB / 489.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.3057, allocations: 172.5 kB / 490.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.3074, allocations: 0.9271 MB / 491 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009537/0.3084, allocations: 1.089 MB / 492.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.3095, allocations: 1.343 MB / 493.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.3146, allocations: 4.399 MB / 497.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3146, allocations: 0 / 497.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3146, allocations: 0 / 497.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3147, allocations: 1.344 kB / 497.9 MB, free: 3.73 MB / 350.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.006861/0.3216, allocations: 3.236 MB / 0.4894 GB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3217, allocations: 12.53 kB / 0.4894 GB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.3272, allocations: 1.684 MB / 0.491 GB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.3306, allocations: 1.473 MB / 0.4925 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.3308, allocations: 135.7 kB / 0.4926 GB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/0.3312, allocations: 180 kB / 0.4928 GB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.3426, allocations: 6.722 MB / 0.4993 GB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.3427, allocations: 31.75 kB / 0.4993 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/0.3432, allocations: 91.89 kB / 0.4994 GB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002748/0.3459, allocations: 1.452 MB / 0.5009 GB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.3584, allocations: 5.974 MB / 0.5067 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04347/0.4019, allocations: 27.43 MB / 0.5335 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00546/0.4074, allocations: 2.382 MB / 0.5358 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.4092, allocations: 1.064 MB / 0.5368 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/0.4093, allocations: 15.98 kB / 0.5369 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.4094, allocations: 46.5 kB / 0.5369 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.957e-06/0.4094, allocations: 0 / 0.5369 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.0212/0.4306, allocations: 8.011 MB / 0.5447 GB, free: 7.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4307, allocations: 140.9 kB / 0.5449 GB, free: 7.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005623/0.4364, allocations: 2.923 MB / 0.5477 GB, free: 4.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.4366, allocations: 45.69 kB / 0.5478 GB, free: 4.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002072/0.4387, allocations: 2.264 MB / 0.55 GB, free: 1.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.4393, allocations: 468.5 kB / 0.5504 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.4411, allocations: 0.9052 MB / 0.5513 GB, free: 384 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4412, allocations: 305.1 kB / 0.5516 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.4438, allocations: 1.453 MB / 0.553 GB, free: 14.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.449, allocations: 4.303 MB / 0.5572 GB, free: 8.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/0.4642, allocations: 8.07 MB / 0.5651 GB, free: 15.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.4643, allocations: 32 kB / 0.5651 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01064/0.475, allocations: 5.575 MB / 0.5706 GB, free: 9.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4751, allocations: 54.19 kB / 0.5706 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/0.4753, allocations: 100 kB / 0.5707 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.4754, allocations: 132 kB / 0.5708 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/0.4798, allocations: 1.233 MB / 0.572 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/0.48, allocations: 207.2 kB / 0.5722 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.4833, allocations: 243.6 kB / 0.5725 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005533/0.4838, allocations: 283.9 kB / 0.5727 GB, free: 7.535 MB / 446.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.002804/0.4866, allocations: 1.455 MB / 0.5742 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.4872, allocations: 254.3 kB / 0.5744 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.4897, allocations: 1.273 MB / 0.5756 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.4898, allocations: 12 kB / 0.5757 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4898, allocations: 0 / 0.5757 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.4898, allocations: 11.92 kB / 0.5757 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/0.4981, allocations: 4.244 MB / 0.5798 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4981, allocations: 0 / 0.5798 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.5, allocations: 367.4 kB / 0.5802 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.5001, allocations: 4 kB / 0.5802 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.5002, allocations: 23.94 kB / 0.5802 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.5002, allocations: 8.031 kB / 0.5802 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5002, allocations: 0 / 0.5802 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.5047, allocations: 3.182 MB / 0.5833 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/0.5055, allocations: 311.3 kB / 0.5836 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/0.5061, allocations: 19.97 kB / 0.5836 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.5073, allocations: 59.92 kB / 0.5837 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.5075, allocations: 64.17 kB / 0.5837 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.5076, allocations: 28 kB / 0.5838 GB, free: 12.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00343/0.511, allocations: 1.815 MB / 0.5855 GB, free: 10.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.511, allocations: 0 / 0.5855 GB, free: 10.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003887/0.5149, allocations: 0.6367 MB / 0.5862 GB, free: 9.664 MB / 462.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.0004257/0.5153, allocations: 147.9 kB / 0.5863 GB, free: 9.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.5211, allocations: 3.327 MB / 0.5896 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5211, allocations: 0 / 0.5896 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.5224, allocations: 0.8105 MB / 0.5903 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.5245, allocations: 278.5 kB / 0.5906 GB, free: 5.129 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2137/0.7382, allocations: 6.096 MB / 0.5966 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.7407, allocations: 2.289 MB / 0.5988 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009067/0.7416, allocations: 205.1 kB / 0.599 GB, free: 114.9 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7417, allocations: 0 / 0.599 GB, free: 114.9 MB / 462.1 MB Notification: Performance of Templates: time 0.05864/0.8003, allocations: 38.88 MB / 0.637 GB, free: 96.68 MB / 462.1 MB " [Timeout remaining time 659] 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: 9.70023927395232] Failed to read output from testmodel.py, exit status != 0: 0.8064637510105968 0.813818259 0.49752694100000006 Calling exit ...