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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001855/0.001855, allocations: 216.9 kB / 22.25 MB, free: 5.258 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.805 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.02897/0.02897, allocations: 5.287 MB / 317.7 MB, free: 13.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.002024/0.002024, allocations: 67.89 kB / 442.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 54.55 MB / 496.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009833/0.1261, allocations: 7.066 MB / 0.4922 GB, free: 9.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007077/0.1332, allocations: 3.318 MB / 0.4954 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1342, allocations: 39.81 kB / 0.4955 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.137, allocations: 1.082 MB / 0.4965 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.1402, allocations: 1.382 MB / 0.4979 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1414, allocations: 0.5419 MB / 0.4984 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.145, allocations: 2.744 MB / 0.5011 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.1471, allocations: 1.403 MB / 0.5025 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.1487, allocations: 0.8952 MB / 0.5033 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.1507, allocations: 1.296 MB / 0.5046 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.1511, allocations: 172 kB / 0.5048 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.1526, allocations: 0.8034 MB / 0.5055 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.1537, allocations: 1.102 MB / 0.5066 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.1548, allocations: 0.9624 MB / 0.5076 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.1595, allocations: 4.369 MB / 0.5118 GB, free: 5.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1595, allocations: 0 / 0.5118 GB, free: 5.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1595, allocations: 0 / 0.5118 GB, free: 5.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.168e-05/0.1595, allocations: 0 / 0.5118 GB, free: 5.574 MB / 382.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.005453/0.165, allocations: 3.131 MB / 0.5149 GB, free: 2.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.165, allocations: 15.97 kB / 0.5149 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006006/0.171, allocations: 1.687 MB / 0.5166 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2517/0.4227, allocations: 1.387 MB / 0.5179 GB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.4228, allocations: 136.2 kB / 0.518 GB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.4231, allocations: 178.1 kB / 0.5182 GB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009799/0.4329, allocations: 6.715 MB / 0.5248 GB, free: 28.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.433, allocations: 30.83 kB / 0.5248 GB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.4332, allocations: 89.3 kB / 0.5249 GB, free: 28.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.4357, allocations: 1.462 MB / 0.5263 GB, free: 28.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.4475, allocations: 5.954 MB / 0.5321 GB, free: 26.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.4742, allocations: 25.8 MB / 0.5573 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.4779, allocations: 1.853 MB / 0.5591 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.479, allocations: 0.9777 MB / 0.5601 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.479, allocations: 18.61 kB / 0.5601 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.479, allocations: 50.42 kB / 0.5601 GB, free: 2.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.196e-06/0.479, allocations: 2.844 kB / 0.5601 GB, free: 2.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01791/0.497, allocations: 7.843 MB / 0.5678 GB, free: 11.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4971, allocations: 140.9 kB / 0.5679 GB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003719/0.5008, allocations: 2.742 MB / 0.5706 GB, free: 8.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.5009, allocations: 37.7 kB / 0.5707 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.5026, allocations: 2.292 MB / 0.5729 GB, free: 5.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.503, allocations: 468.6 kB / 0.5733 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.5042, allocations: 0.9012 MB / 0.5742 GB, free: 4.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5044, allocations: 357.9 kB / 0.5746 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.5066, allocations: 1.457 MB / 0.576 GB, free: 2.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004714/0.5114, allocations: 4.307 MB / 0.5802 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/0.5263, allocations: 8.074 MB / 0.5881 GB, free: 3.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.307e-05/0.5264, allocations: 28 kB / 0.5881 GB, free: 3.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01002/0.5364, allocations: 5.547 MB / 0.5935 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/0.5365, allocations: 48 kB / 0.5936 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/0.5366, allocations: 103.9 kB / 0.5937 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.5368, allocations: 132 kB / 0.5938 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/0.5411, allocations: 1.24 MB / 0.595 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001942/0.5413, allocations: 195.5 kB / 0.5952 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.544, allocations: 259.6 kB / 0.5954 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/0.5445, allocations: 276 kB / 0.5957 GB, free: 11.56 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.002347/0.5468, allocations: 1.452 MB / 0.5971 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/0.5473, allocations: 226.5 kB / 0.5973 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.5496, allocations: 1.254 MB / 0.5986 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.5496, allocations: 15.94 kB / 0.5986 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5496, allocations: 0 / 0.5986 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5496, allocations: 11.92 kB / 0.5986 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/0.557, allocations: 3.563 MB / 0.6021 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5571, allocations: 4 kB / 0.6021 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.559, allocations: 371.4 kB / 0.6024 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.5591, allocations: 4 kB / 0.6024 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.5592, allocations: 22.06 kB / 0.6024 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.5592, allocations: 4 kB / 0.6025 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5592, allocations: 4 kB / 0.6025 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.5637, allocations: 3.149 MB / 0.6055 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.5643, allocations: 202.4 kB / 0.6057 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.5646, allocations: 19.94 kB / 0.6057 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5658, allocations: 59.91 kB / 0.6058 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.566, allocations: 56.28 kB / 0.6059 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.5661, allocations: 27.98 kB / 0.6059 GB, free: 1.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003826/0.5699, allocations: 1.561 MB / 0.6074 GB, free: 15.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5699, allocations: 0 / 0.6074 GB, free: 15.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004853/0.5747, allocations: 0.6287 MB / 0.608 GB, free: 14.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.0004253/0.5752, allocations: 139 kB / 0.6082 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005793/0.5809, allocations: 3.191 MB / 0.6113 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.581, allocations: 4.25 kB / 0.6113 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.5822, allocations: 0.7523 MB / 0.612 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.584, allocations: 249.8 kB / 0.6122 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.5954, allocations: 5.767 MB / 0.6179 GB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.5985, allocations: 1.719 MB / 0.6196 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00372/0.6022, allocations: 1.428 MB / 0.6209 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.6028, allocations: 163.4 kB / 0.6211 GB, free: 1.387 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6028, allocations: 0 / 0.6211 GB, free: 1.387 MB / 446.1 MB Notification: Performance of Templates: time 0.04329/0.6461, allocations: 18.93 MB / 0.6396 GB, free: 14.75 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.043598422780633] Failed to read output from testmodel.py, exit status != 0: 0.6557721123099327 0.680157342 0.516239141 Calling exit ...