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.001354/0.001354, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001526/0.001526, allocations: 162 kB / 23.01 MB, free: 4.949 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.02734/0.02734, allocations: 4.094 MB / 263.9 MB, free: 12.63 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.002183/0.002183, allocations: 71.89 kB / 388.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1141, allocations: 54.53 MB / 443.1 MB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009432/0.1235, allocations: 7.062 MB / 450.1 MB, free: 1.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.1303, allocations: 3.302 MB / 453.4 MB, free: 14.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.1314, allocations: 43.75 kB / 453.5 MB, free: 14.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.1339, allocations: 1.082 MB / 454.6 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.1373, allocations: 1.378 MB / 455.9 MB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1385, allocations: 0.5341 MB / 456.5 MB, free: 11.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.1428, allocations: 2.761 MB / 459.2 MB, free: 8.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.145, allocations: 1.407 MB / 460.6 MB, free: 7.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.1465, allocations: 0.8991 MB / 461.5 MB, free: 6.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.1483, allocations: 1.292 MB / 462.8 MB, free: 5.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000347/0.1486, allocations: 172 kB / 463 MB, free: 4.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1502, allocations: 0.8034 MB / 463.8 MB, free: 4.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.1513, allocations: 1.102 MB / 464.9 MB, free: 2.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.1524, allocations: 0.9624 MB / 465.9 MB, free: 2.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.1574, allocations: 4.357 MB / 470.2 MB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1574, allocations: 3.938 kB / 470.2 MB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1574, allocations: 4 kB / 470.2 MB, free: 13.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.559e-05/0.1574, allocations: 0 / 470.2 MB, free: 13.64 MB / 446.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.006525/0.164, allocations: 3.135 MB / 473.4 MB, free: 10.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/0.164, allocations: 12.03 kB / 473.4 MB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.1705, allocations: 1.762 MB / 475.1 MB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.1736, allocations: 1.384 MB / 476.5 MB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.1738, allocations: 135.7 kB / 476.7 MB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.1741, allocations: 188 kB / 476.8 MB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2465/0.4207, allocations: 6.718 MB / 483.6 MB, free: 75.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.436e-05/0.4208, allocations: 30.33 kB / 483.6 MB, free: 75.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.421, allocations: 92.3 kB / 483.7 MB, free: 75.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002163/0.4232, allocations: 1.458 MB / 485.1 MB, free: 75.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008865/0.4321, allocations: 5.973 MB / 491.1 MB, free: 74.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.4545, allocations: 25.89 MB / 0.5049 GB, free: 55.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.4589, allocations: 1.908 MB / 0.5067 GB, free: 54.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.4601, allocations: 0.9865 MB / 0.5077 GB, free: 54.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.847e-05/0.4601, allocations: 8.188 kB / 0.5077 GB, free: 54.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.4602, allocations: 48.59 kB / 0.5078 GB, free: 54.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 3.556e-06/0.4602, allocations: 1.125 kB / 0.5078 GB, free: 54.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.01635/0.4765, allocations: 8.026 MB / 0.5156 GB, free: 51.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4766, allocations: 137.9 kB / 0.5157 GB, free: 50.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.4798, allocations: 2.728 MB / 0.5184 GB, free: 49.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.4799, allocations: 40.88 kB / 0.5184 GB, free: 49.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009519/0.4808, allocations: 2.29 MB / 0.5207 GB, free: 48.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.4811, allocations: 476.1 kB / 0.5211 GB, free: 47.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/0.4821, allocations: 0.8971 MB / 0.522 GB, free: 47.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.4822, allocations: 365.1 kB / 0.5224 GB, free: 47.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.4842, allocations: 1.464 MB / 0.5238 GB, free: 46.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.4874, allocations: 4.317 MB / 0.528 GB, free: 42.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/0.5, allocations: 8.098 MB / 0.5359 GB, free: 36.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-05/0.5001, allocations: 28.72 kB / 0.5359 GB, free: 36.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.007749/0.5078, allocations: 5.562 MB / 0.5414 GB, free: 32.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.5079, allocations: 52.69 kB / 0.5414 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.508, allocations: 104 kB / 0.5415 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.5081, allocations: 132 kB / 0.5416 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003742/0.5119, allocations: 1.242 MB / 0.5429 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.512, allocations: 201.8 kB / 0.543 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.5149, allocations: 262.8 kB / 0.5433 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.5152, allocations: 283.7 kB / 0.5436 GB, free: 30.82 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.001863/0.5171, allocations: 1.458 MB / 0.545 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.5176, allocations: 231 kB / 0.5452 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.5193, allocations: 1.247 MB / 0.5464 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.5193, allocations: 12 kB / 0.5464 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5193, allocations: 1.031 kB / 0.5464 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5194, allocations: 4.266 kB / 0.5464 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.5252, allocations: 3.592 MB / 0.55 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5252, allocations: 4 kB / 0.55 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.5272, allocations: 366.9 kB / 0.5503 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.5272, allocations: 4.609 kB / 0.5503 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/0.5273, allocations: 18.64 kB / 0.5503 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5273, allocations: 4.797 kB / 0.5503 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.5273, allocations: 6.719 kB / 0.5503 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.5307, allocations: 3.149 MB / 0.5534 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/0.5312, allocations: 211 kB / 0.5536 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.5315, allocations: 20.41 kB / 0.5536 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.5325, allocations: 67.17 kB / 0.5537 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5326, allocations: 60.56 kB / 0.5538 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.5327, allocations: 33.25 kB / 0.5538 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001858/0.5345, allocations: 1.564 MB / 0.5553 GB, free: 20.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5345, allocations: 0 / 0.5553 GB, free: 20.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003146/0.5377, allocations: 0.6237 MB / 0.5559 GB, free: 19.84 MB / 446.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.0002786/0.538, allocations: 141.6 kB / 0.5561 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.5425, allocations: 3.203 MB / 0.5592 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5425, allocations: 0 / 0.5592 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008368/0.5433, allocations: 0.7527 MB / 0.5599 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.5447, allocations: 249.5 kB / 0.5602 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/0.5525, allocations: 5.759 MB / 0.5658 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.5541, allocations: 1.726 MB / 0.5675 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002531/0.5566, allocations: 1.427 MB / 0.5689 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.557, allocations: 160.5 kB / 0.569 GB, free: 7.434 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.557, allocations: 0 / 0.569 GB, free: 7.434 MB / 446.1 MB Notification: Performance of Templates: time 0.03518/0.5922, allocations: 16.22 MB / 0.5849 GB, free: 7.531 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 -s ida -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.608312854077667] Failed to read output from testmodel.py, exit status != 0: 0.6014029670041054 0.6162018859999999 0.455598756 Calling exit ...