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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) 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=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 109.3 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 197.9 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02255/0.02255, allocations: 5.208 MB / 295.9 MB, free: 9.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.89 kB / 357.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2176, allocations: 50.56 MB / 407.9 MB, free: 30.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01029/0.2279, allocations: 14.87 MB / 422.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00726/0.2352, allocations: 4.632 MB / 427.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2373, allocations: 59.81 kB / 427.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.2391, allocations: 1.036 MB / 428.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.2415, allocations: 1.285 MB / 429.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.2423, allocations: 0.4953 MB / 430.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.2445, allocations: 2.752 MB / 433 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.2458, allocations: 1.72 MB / 434.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009264/0.2467, allocations: 0.8874 MB / 435.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.2479, allocations: 1.386 MB / 437 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.2481, allocations: 172 kB / 437.2 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.2495, allocations: 0.9438 MB / 438.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.2504, allocations: 1.118 MB / 439.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.2516, allocations: 1.359 MB / 440.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.2546, allocations: 3.399 MB / 444 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2546, allocations: 0 / 444 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2546, allocations: 0 / 444 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.2546, allocations: 0 / 444 MB, free: 10.02 MB / 318.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.004811/0.2595, allocations: 3.148 MB / 447.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2595, allocations: 8.031 kB / 447.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.2649, allocations: 1.662 MB / 448.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.2672, allocations: 1.457 MB / 450.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/0.2673, allocations: 139.6 kB / 450.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.2676, allocations: 180 kB / 450.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008283/0.2759, allocations: 6.71 MB / 457.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/0.276, allocations: 35.66 kB / 457.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.2762, allocations: 91.89 kB / 457.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.2784, allocations: 1.449 MB / 458.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008985/0.2874, allocations: 5.974 MB / 464.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.3148, allocations: 27.5 MB / 492.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/0.3191, allocations: 2.379 MB / 494.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.3205, allocations: 1.067 MB / 495.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.3206, allocations: 12.67 kB / 495.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3206, allocations: 46.5 kB / 495.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.897e-06/0.3206, allocations: 0 / 495.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01844/0.3391, allocations: 7.856 MB / 0.4919 GB, free: 12.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.3392, allocations: 141 kB / 0.492 GB, free: 12.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/0.343, allocations: 2.914 MB / 0.4949 GB, free: 9.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.3431, allocations: 33.7 kB / 0.4949 GB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.3443, allocations: 2.18 MB / 0.497 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.3447, allocations: 450.5 kB / 0.4975 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009441/0.3456, allocations: 0.8926 MB / 0.4983 GB, free: 5.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.3457, allocations: 309.2 kB / 0.4986 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.3476, allocations: 1.457 MB / 0.5001 GB, free: 4.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2045/0.5521, allocations: 4.302 MB / 0.5043 GB, free: 90.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/0.5648, allocations: 8.083 MB / 0.5122 GB, free: 85.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-05/0.5649, allocations: 27.62 kB / 0.5122 GB, free: 85.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.007218/0.5721, allocations: 5.567 MB / 0.5176 GB, free: 83.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.5722, allocations: 51.22 kB / 0.5177 GB, free: 83.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.519e-05/0.5722, allocations: 104.5 kB / 0.5178 GB, free: 83.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.5724, allocations: 131.8 kB / 0.5179 GB, free: 83.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.5757, allocations: 1.229 MB / 0.5191 GB, free: 83.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.5758, allocations: 200.6 kB / 0.5193 GB, free: 83.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.5781, allocations: 248.9 kB / 0.5195 GB, free: 83.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.5784, allocations: 277.8 kB / 0.5198 GB, free: 83.1 MB / 382.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.00158/0.58, allocations: 1.458 MB / 0.5212 GB, free: 82.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.5802, allocations: 246 kB / 0.5214 GB, free: 82.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.5818, allocations: 1.271 MB / 0.5227 GB, free: 81.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.5818, allocations: 12 kB / 0.5227 GB, free: 81.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.5818, allocations: 8 kB / 0.5227 GB, free: 81.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5818, allocations: 3.75 kB / 0.5227 GB, free: 81.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.5864, allocations: 4.242 MB / 0.5269 GB, free: 77.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5864, allocations: 2.375 kB / 0.5269 GB, free: 77.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.588, allocations: 371.4 kB / 0.5272 GB, free: 76.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.5881, allocations: 8.031 kB / 0.5272 GB, free: 76.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.5881, allocations: 19.98 kB / 0.5272 GB, free: 76.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.5881, allocations: 7.938 kB / 0.5272 GB, free: 76.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5881, allocations: 3.938 kB / 0.5272 GB, free: 76.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.5909, allocations: 3.165 MB / 0.5303 GB, free: 73.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.5912, allocations: 301.8 kB / 0.5306 GB, free: 73.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.5914, allocations: 16 kB / 0.5306 GB, free: 73.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.5922, allocations: 59.91 kB / 0.5307 GB, free: 73.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.5924, allocations: 59.48 kB / 0.5308 GB, free: 73.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.5924, allocations: 31.27 kB / 0.5308 GB, free: 73.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.5941, allocations: 1.819 MB / 0.5326 GB, free: 71.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5941, allocations: 0 / 0.5326 GB, free: 71.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002603/0.5967, allocations: 0.6318 MB / 0.5332 GB, free: 70.7 MB / 382.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.0002594/0.597, allocations: 139.8 kB / 0.5333 GB, free: 70.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.6008, allocations: 3.58 MB / 0.5368 GB, free: 67.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6008, allocations: 0 / 0.5368 GB, free: 67.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.6015, allocations: 0.8156 MB / 0.5376 GB, free: 66.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6029, allocations: 287.9 kB / 0.5379 GB, free: 65.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/0.6096, allocations: 7.309 MB / 0.545 GB, free: 58.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.6111, allocations: 2.288 MB / 0.5473 GB, free: 56.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.6116, allocations: 207.4 kB / 0.5474 GB, free: 56.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6116, allocations: 0 / 0.5474 GB, free: 56.09 MB / 382.1 MB Notification: Performance of Templates: time 0.04827/0.6599, allocations: 38.39 MB / 0.5849 GB, free: 17.83 MB / 382.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile (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)