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.001384/0.001384, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001423/0.001423, allocations: 186.8 kB / 22.23 MB, free: 5.137 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.39/1.39, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.02645/0.02645, allocations: 5.28 MB / 311.5 MB, free: 3.41 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.001969/0.001969, allocations: 67.89 kB / 434 MB, free: 17.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 53.36 MB / 487.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01033/0.1242, allocations: 7.999 MB / 495.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006947/0.1311, allocations: 3.528 MB / 498.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.1319, allocations: 47.75 kB / 498.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.1344, allocations: 1.117 MB / 0.4883 GB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.1376, allocations: 1.419 MB / 0.4897 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1388, allocations: 0.5302 MB / 0.4902 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.1424, allocations: 2.729 MB / 0.4929 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.1442, allocations: 1.271 MB / 0.4941 GB, free: 9.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.1455, allocations: 0.8991 MB / 0.495 GB, free: 8.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.1472, allocations: 1.355 MB / 0.4963 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.1475, allocations: 172 kB / 0.4965 GB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.1492, allocations: 0.9594 MB / 0.4974 GB, free: 5.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.1503, allocations: 1.11 MB / 0.4985 GB, free: 4.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.1517, allocations: 1.343 MB / 0.4998 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2535/0.4052, allocations: 4.4 MB / 0.5041 GB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.4052, allocations: 6.906 kB / 0.5041 GB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4052, allocations: 0 / 0.5041 GB, free: 10.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000164/0.4053, allocations: 0 / 0.5041 GB, free: 10.85 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.007397/0.4127, allocations: 3.154 MB / 0.5072 GB, free: 9.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4128, allocations: 10.45 kB / 0.5072 GB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006427/0.4192, allocations: 1.684 MB / 0.5088 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/0.4228, allocations: 1.412 MB / 0.5102 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.4229, allocations: 134.1 kB / 0.5104 GB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.4233, allocations: 180.1 kB / 0.5105 GB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.4361, allocations: 6.718 MB / 0.5171 GB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.4362, allocations: 30.34 kB / 0.5171 GB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.4365, allocations: 92.62 kB / 0.5172 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/0.4393, allocations: 1.454 MB / 0.5186 GB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.4499, allocations: 5.972 MB / 0.5245 GB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03801/0.4879, allocations: 27.32 MB / 0.5511 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.4932, allocations: 1.852 MB / 0.5529 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.4948, allocations: 0.9794 MB / 0.5539 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.4949, allocations: 18.23 kB / 0.5539 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.4949, allocations: 54.17 kB / 0.554 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.948e-06/0.4949, allocations: 4 kB / 0.554 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.02116/0.5161, allocations: 7.843 MB / 0.5616 GB, free: 2.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.5162, allocations: 141 kB / 0.5618 GB, free: 2.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/0.5216, allocations: 2.917 MB / 0.5646 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.5217, allocations: 47.89 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.5238, allocations: 2.269 MB / 0.5669 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006613/0.5245, allocations: 466.5 kB / 0.5673 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.5262, allocations: 0.9013 MB / 0.5682 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5263, allocations: 305.1 kB / 0.5685 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.5291, allocations: 1.455 MB / 0.5699 GB, free: 9.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.5348, allocations: 4.312 MB / 0.5741 GB, free: 4.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/0.5513, allocations: 8.077 MB / 0.582 GB, free: 11.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/0.5514, allocations: 32 kB / 0.582 GB, free: 11.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01043/0.5619, allocations: 5.574 MB / 0.5875 GB, free: 5.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.562, allocations: 48 kB / 0.5875 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/0.5622, allocations: 100 kB / 0.5876 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.5624, allocations: 136 kB / 0.5878 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/0.5668, allocations: 1.232 MB / 0.589 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002389/0.5671, allocations: 199.2 kB / 0.5892 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.5706, allocations: 247.9 kB / 0.5894 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000615/0.5713, allocations: 276 kB / 0.5897 GB, free: 3.504 MB / 430.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.003002/0.5743, allocations: 1.451 MB / 0.5911 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007049/0.575, allocations: 254.3 kB / 0.5913 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.5777, allocations: 1.273 MB / 0.5926 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.5777, allocations: 12 kB / 0.5926 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.5777, allocations: 4 kB / 0.5926 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5777, allocations: 3.984 kB / 0.5926 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008901/0.5866, allocations: 4.216 MB / 0.5967 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5866, allocations: 4 kB / 0.5967 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.5887, allocations: 371.3 kB / 0.597 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/0.5887, allocations: 4 kB / 0.5971 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.5888, allocations: 16 kB / 0.5971 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.5888, allocations: 9.281 kB / 0.5971 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5889, allocations: 4.281 kB / 0.5971 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/0.5941, allocations: 3.185 MB / 0.6002 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/0.595, allocations: 239.6 kB / 0.6004 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/0.5956, allocations: 20.02 kB / 0.6004 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.5968, allocations: 59.92 kB / 0.6005 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.597, allocations: 64.25 kB / 0.6006 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/0.5971, allocations: 28 kB / 0.6006 GB, free: 8.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003864/0.601, allocations: 1.811 MB / 0.6024 GB, free: 6.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.601, allocations: 4 kB / 0.6024 GB, free: 6.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003973/0.605, allocations: 0.6435 MB / 0.603 GB, free: 5.789 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.0004214/0.6054, allocations: 134.3 kB / 0.6031 GB, free: 5.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006424/0.6118, allocations: 3.202 MB / 0.6062 GB, free: 2.469 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6118, allocations: 5.203 kB / 0.6062 GB, free: 2.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.6131, allocations: 0.744 MB / 0.607 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.6152, allocations: 280.3 kB / 0.6072 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.6266, allocations: 5.809 MB / 0.6129 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/0.6298, allocations: 2.291 MB / 0.6151 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003637/0.6335, allocations: 1.459 MB / 0.6166 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.6342, allocations: 175.4 kB / 0.6167 GB, free: 7.656 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6342, allocations: 0 / 0.6167 GB, free: 7.656 MB / 462.1 MB Notification: Performance of Templates: time 0.05119/0.6854, allocations: 22.22 MB / 0.6384 GB, free: 1.633 MB / 478.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: 6.240021280944347] Failed to read output from testmodel.py, exit status != 0: 0.6947701871395111 0.7113800379999999 0.30291441699999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f26b02017b0>