Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_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.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 192 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1385/0.1385, allocations: 5.195 MB / 295.6 MB, free: 3.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 357.2 MB, free: 1.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, allocations: 50.55 MB / 407.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009935/0.1249, allocations: 7.989 MB / 415.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.132, allocations: 3.571 MB / 419.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1334, allocations: 39.88 kB / 419.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.1361, allocations: 1.101 MB / 420.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.1398, allocations: 1.381 MB / 421.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1413, allocations: 0.5846 MB / 422.4 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.244/0.3853, allocations: 2.763 MB / 425.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.3876, allocations: 1.661 MB / 426.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.3892, allocations: 0.9015 MB / 427.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.3907, allocations: 1.266 MB / 429 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.391, allocations: 183.2 kB / 429.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.3928, allocations: 0.9235 MB / 430.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009238/0.3937, allocations: 1.103 MB / 431.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.3949, allocations: 1.356 MB / 432.6 MB, free: 35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.3987, allocations: 4.24 MB / 436.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3987, allocations: 3.375 kB / 436.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3987, allocations: 0 / 436.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.3988, allocations: 0 / 436.8 MB, free: 34.03 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.004554/0.4034, allocations: 3.182 MB / 440 MB, free: 32.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4034, allocations: 9.938 kB / 440 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/0.4087, allocations: 1.666 MB / 441.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.4108, allocations: 1.473 MB / 443.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.4109, allocations: 145.8 kB / 443.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.4112, allocations: 176.2 kB / 443.4 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007217/0.4184, allocations: 6.749 MB / 450.2 MB, free: 28.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/0.4185, allocations: 31.66 kB / 450.2 MB, free: 28.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.4187, allocations: 89.8 kB / 450.3 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/0.4208, allocations: 1.464 MB / 451.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009294/0.4301, allocations: 5.994 MB / 457.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4611, allocations: 27.57 MB / 485.3 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/0.4659, allocations: 2.41 MB / 487.8 MB, free: 21.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4673, allocations: 1.075 MB / 488.8 MB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.4673, allocations: 23.31 kB / 488.8 MB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.4674, allocations: 37.62 kB / 488.9 MB, free: 20.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.396e-06/0.4674, allocations: 0 / 488.9 MB, free: 20.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01611/0.4835, allocations: 7.952 MB / 496.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.4836, allocations: 168.8 kB / 497 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.4867, allocations: 2.935 MB / 499.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.539e-05/0.4868, allocations: 41.7 kB / 500 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.4881, allocations: 2.185 MB / 0.4904 GB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.4885, allocations: 450.4 kB / 0.4908 GB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.4895, allocations: 0.8966 MB / 0.4917 GB, free: 9.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.4896, allocations: 309.1 kB / 0.492 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.4918, allocations: 1.496 MB / 0.4935 GB, free: 7.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.4957, allocations: 4.337 MB / 0.4977 GB, free: 1.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006455/0.5022, allocations: 6.268 MB / 0.5038 GB, free: 9.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/0.5022, allocations: 32 kB / 0.5038 GB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008228/0.5104, allocations: 5.579 MB / 0.5093 GB, free: 4.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.5105, allocations: 52 kB / 0.5093 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.742e-05/0.5106, allocations: 104 kB / 0.5094 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.5108, allocations: 132 kB / 0.5096 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.5147, allocations: 1.24 MB / 0.5108 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/0.5148, allocations: 199.2 kB / 0.511 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.5174, allocations: 247.6 kB / 0.5112 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.5177, allocations: 280.5 kB / 0.5115 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003616/0.5214, allocations: 2.601 MB / 0.514 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003662/0.525, allocations: 4.316 MB / 0.5182 GB, free: 9.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006305/0.5313, allocations: 6.25 MB / 0.5243 GB, free: 2.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.067e-05/0.5314, allocations: 28 kB / 0.5244 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.008688/0.5401, allocations: 5.571 MB / 0.5298 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.5402, allocations: 55.86 kB / 0.5298 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.782e-05/0.5403, allocations: 104 kB / 0.5299 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5404, allocations: 136 kB / 0.5301 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.5442, allocations: 1.228 MB / 0.5313 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001346/0.5443, allocations: 199.2 kB / 0.5315 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.5469, allocations: 245 kB / 0.5317 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.5473, allocations: 284 kB / 0.532 GB, free: 10.21 MB / 414.1 MB 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],idealActuatorPos.revolute.cylinderColor[3],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * 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.0008434/0.5481, allocations: 0.5576 MB / 0.5325 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.5485, allocations: 244.8 kB / 0.5327 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.5506, allocations: 1.296 MB / 0.534 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.5506, allocations: 16 kB / 0.534 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5506, allocations: 0 / 0.534 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5507, allocations: 7.984 kB / 0.534 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006635/0.5573, allocations: 4.315 MB / 0.5383 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5573, allocations: 0 / 0.5383 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.5593, allocations: 379.4 kB / 0.5386 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5593, allocations: 4 kB / 0.5386 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/0.5594, allocations: 20 kB / 0.5386 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5594, allocations: 4 kB / 0.5386 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5594, allocations: 0 / 0.5386 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.5633, allocations: 3.219 MB / 0.5418 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.5641, allocations: 461.8 kB / 0.5422 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.5644, allocations: 14.66 kB / 0.5422 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/0.5653, allocations: 71.91 kB / 0.5423 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5655, allocations: 56.3 kB / 0.5424 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.5656, allocations: 28 kB / 0.5424 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002442/0.568, allocations: 1.827 MB / 0.5442 GB, free: 13.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.568, allocations: 0 / 0.5442 GB, free: 13.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005294/0.5733, allocations: 1.19 MB / 0.5453 GB, free: 12.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.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 (88): * Single equations (assignments): 85 * 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.0003238/0.5736, allocations: 150.7 kB / 0.5455 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009069/0.5827, allocations: 6.209 MB / 0.5515 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.5828, allocations: 0 / 0.5515 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.5839, allocations: 0.827 MB / 0.5523 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.5856, allocations: 296.6 kB / 0.5526 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008703/0.5943, allocations: 5.879 MB / 0.5584 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.5964, allocations: 2.3 MB / 0.5606 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00533/0.6017, allocations: 2.5 MB / 0.5631 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.6021, allocations: 171.4 kB / 0.5632 GB, free: 10.08 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6022, allocations: 0 / 0.5632 GB, free: 10.08 MB / 446.1 MB Notification: Performance of Templates: time 0.238/0.8402, allocations: 23.31 MB / 0.586 GB, free: 119.2 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)