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.001356/0.001356, allocations: 75.48 kB / 19.16 MB, free: 2.566 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.001471/0.001471, allocations: 172.5 kB / 22.44 MB, free: 5.309 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.476/1.476, allocations: 177.2 MB / 202.8 MB, free: 9.191 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.02723/0.02723, allocations: 4.081 MB / 263.3 MB, free: 12.71 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: DeltaRobot requested package Modelica of version 4.0.0. Modelica 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.002176/0.002176, allocations: 71.88 kB / 388.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.1, allocations: 54.53 MB / 442.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009688/0.1097, allocations: 7.061 MB / 449.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1923/0.302, allocations: 3.293 MB / 453.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009867/0.303, allocations: 53.2 kB / 453.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.3055, allocations: 1.114 MB / 454.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.309, allocations: 1.411 MB / 455.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.3104, allocations: 0.5717 MB / 456.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004001/0.3144, allocations: 3.063 MB / 459.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.3167, allocations: 1.639 MB / 460.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.3194, allocations: 1.338 MB / 462.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.3222, allocations: 1.451 MB / 463.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005727/0.3227, allocations: 177.4 kB / 463.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.3245, allocations: 0.8139 MB / 464.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009954/0.3255, allocations: 1.118 MB / 465.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.3266, allocations: 0.967 MB / 466.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005369/0.332, allocations: 4.612 MB / 471.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.332, allocations: 0.9375 kB / 471.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.332, allocations: 0 / 471.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.3321, allocations: 4 kB / 471.4 MB, free: 7.008 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.007075/0.3392, allocations: 3.196 MB / 474.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3393, allocations: 9.344 kB / 474.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/0.3452, allocations: 1.763 MB / 476.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.3485, allocations: 1.385 MB / 477.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3486, allocations: 132.1 kB / 477.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.3491, allocations: 180.1 kB / 478.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.3592, allocations: 6.73 MB / 484.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.3593, allocations: 32.11 kB / 484.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.3596, allocations: 91.33 kB / 484.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002637/0.3622, allocations: 1.448 MB / 486.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.3743, allocations: 5.967 MB / 492.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03465/0.409, allocations: 25.99 MB / 0.5062 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.4139, allocations: 1.901 MB / 0.508 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.4155, allocations: 0.985 MB / 0.509 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/0.4155, allocations: 8 kB / 0.509 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4156, allocations: 46.56 kB / 0.5091 GB, free: 9.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.096e-06/0.4156, allocations: 0 / 0.5091 GB, free: 9.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.0204/0.436, allocations: 8.139 MB / 0.517 GB, free: 1.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.4361, allocations: 137 kB / 0.5171 GB, free: 1.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.4401, allocations: 2.807 MB / 0.5199 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.4403, allocations: 37.7 kB / 0.5199 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.4422, allocations: 2.291 MB / 0.5221 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/0.4429, allocations: 468.6 kB / 0.5226 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.4442, allocations: 0.9012 MB / 0.5235 GB, free: 10.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.4444, allocations: 357.9 kB / 0.5238 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/0.4469, allocations: 1.469 MB / 0.5252 GB, free: 8.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005303/0.4522, allocations: 4.315 MB / 0.5295 GB, free: 2.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/0.4675, allocations: 8.101 MB / 0.5374 GB, free: 9.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.179e-05/0.4676, allocations: 31.94 kB / 0.5374 GB, free: 9.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01002/0.4776, allocations: 5.566 MB / 0.5428 GB, free: 3.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.4777, allocations: 48 kB / 0.5429 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.4778, allocations: 104 kB / 0.543 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.4779, allocations: 132 kB / 0.5431 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/0.4819, allocations: 1.236 MB / 0.5443 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001686/0.482, allocations: 203.2 kB / 0.5445 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.4848, allocations: 299.8 kB / 0.5448 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/0.4852, allocations: 283.9 kB / 0.5451 GB, free: 1.52 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.0022/0.4874, allocations: 1.458 MB / 0.5465 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/0.4879, allocations: 226.5 kB / 0.5467 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.4903, allocations: 1.248 MB / 0.5479 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.4903, allocations: 12 kB / 0.5479 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4903, allocations: 4 kB / 0.5479 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4903, allocations: 3.984 kB / 0.5479 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.4967, allocations: 3.627 MB / 0.5515 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4968, allocations: 0 / 0.5515 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.4985, allocations: 375.4 kB / 0.5518 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.4985, allocations: 4.5 kB / 0.5518 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.4986, allocations: 16 kB / 0.5519 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.4986, allocations: 4 kB / 0.5519 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4986, allocations: 0.875 kB / 0.5519 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/0.5029, allocations: 3.157 MB / 0.555 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.5034, allocations: 226.4 kB / 0.5552 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.5036, allocations: 12 kB / 0.5552 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009868/0.5046, allocations: 95.84 kB / 0.5553 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.5047, allocations: 60.39 kB / 0.5553 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.5048, allocations: 28.27 kB / 0.5554 GB, free: 6.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002451/0.5073, allocations: 1.619 MB / 0.5569 GB, free: 5.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5073, allocations: 0 / 0.5569 GB, free: 5.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003114/0.5104, allocations: 0.6834 MB / 0.5576 GB, free: 4.562 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.0003409/0.5107, allocations: 158.9 kB / 0.5578 GB, free: 4.398 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004985/0.5157, allocations: 3.208 MB / 0.5609 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5157, allocations: 4 kB / 0.5609 GB, free: 1.215 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.5169, allocations: 0.7406 MB / 0.5616 GB, free: 488 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.5183, allocations: 251.5 kB / 0.5619 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009271/0.5275, allocations: 5.764 MB / 0.5675 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.5299, allocations: 1.727 MB / 0.5692 GB, free: 8.668 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003211/0.5331, allocations: 1.431 MB / 0.5706 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.5336, allocations: 160.5 kB / 0.5707 GB, free: 7.074 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5336, allocations: 0 / 0.5707 GB, free: 7.074 MB / 478.1 MB Notification: Performance of Templates: time 0.03898/0.5726, allocations: 17.49 MB / 0.5878 GB, free: 5.879 MB / 494.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: 5.60980680398643] Failed to read output from testmodel.py, exit status != 0: 0.5815898850560188 0.595653423 0.26043742799999997 Calling exit ...