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.001302/0.001302, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001334/0.001334, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.847/1.847, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1861/0.1861, allocations: 5.2 MB / 296.2 MB, free: 4.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005353, allocations: 8 kB / 358.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1571, allocations: 51.55 MB / 409.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01456/0.1717, allocations: 12.74 MB / 422.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3429/0.5147, allocations: 4.497 MB / 427 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.5184, allocations: 59.08 kB / 427.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.521, allocations: 0.6065 MB / 427.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00827/0.5293, allocations: 1.992 MB / 429.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.5313, allocations: 470.4 kB / 430.1 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.5354, allocations: 1.578 MB / 431.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.5388, allocations: 1.929 MB / 433.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.5402, allocations: 0.6735 MB / 434.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.5415, allocations: 0.9247 MB / 435.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.5418, allocations: 88.69 kB / 435.3 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.5433, allocations: 0.7298 MB / 436.1 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.5442, allocations: 0.9371 MB / 437 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.5448, allocations: 0.5347 MB / 437.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.5481, allocations: 3.311 MB / 440.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5481, allocations: 4 kB / 440.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5482, allocations: 0 / 440.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.895e-05/0.5482, allocations: 0 / 440.9 MB, free: 32.45 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.00581/0.5541, allocations: 2.756 MB / 443.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5541, allocations: 10 kB / 443.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/0.5607, allocations: 2 MB / 445.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.5648, allocations: 1.544 MB / 447.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.5649, allocations: 141.4 kB / 447.3 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006058/0.5655, allocations: 177.3 kB / 447.5 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.5765, allocations: 6.781 MB / 454.3 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-05/0.5766, allocations: 37.73 kB / 454.3 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002889/0.5769, allocations: 92.58 kB / 454.4 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.5793, allocations: 1.456 MB / 455.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.5923, allocations: 6.03 MB / 461.9 MB, free: 26.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03911/0.6315, allocations: 27.62 MB / 489.5 MB, free: 22.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004844/0.6364, allocations: 2.423 MB / 491.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/0.6365, allocations: 11.42 kB / 491.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.6366, allocations: 42.34 kB / 492 MB, free: 20.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.607e-06/0.6366, allocations: 2.781 kB / 492 MB, free: 20.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01787/0.6545, allocations: 8.249 MB / 0.4885 GB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.6546, allocations: 166.6 kB / 0.4886 GB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.6588, allocations: 3.037 MB / 0.4916 GB, free: 10.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.6591, allocations: 37.7 kB / 0.4916 GB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.661, allocations: 2.188 MB / 0.4938 GB, free: 8.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006407/0.6616, allocations: 450.8 kB / 0.4942 GB, free: 8.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.6618, allocations: 90.66 kB / 0.4943 GB, free: 8.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.6621, allocations: 499.8 kB / 0.4948 GB, free: 7.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.6644, allocations: 1.457 MB / 0.4962 GB, free: 6.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/0.6698, allocations: 4.304 MB / 0.5004 GB, free: 432 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/0.674, allocations: 2.453 MB / 0.5028 GB, free: 13.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-05/0.6741, allocations: 28 kB / 0.5028 GB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01057/0.6847, allocations: 5.551 MB / 0.5082 GB, free: 8.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.02073/0.7055, allocations: 40.3 MB / 0.5476 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003506/0.7059, allocations: 108 kB / 0.5477 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.706, allocations: 144 kB / 0.5478 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005334/0.7114, allocations: 1.24 MB / 0.5491 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002366/0.7116, allocations: 195.2 kB / 0.5492 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/0.7162, allocations: 255.6 kB / 0.5495 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/0.7174, allocations: 284 kB / 0.5498 GB, free: 10.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7175, allocations: 4 kB / 0.5498 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01257/0.73, allocations: 5.29 MB / 0.5549 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005516/0.7307, allocations: 100 kB / 0.555 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.731, allocations: 152 kB / 0.5552 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/0.7366, allocations: 1.224 MB / 0.5564 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003106/0.737, allocations: 199.2 kB / 0.5565 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/0.7422, allocations: 251.8 kB / 0.5568 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/0.7439, allocations: 276 kB / 0.5571 GB, free: 3.383 MB / 430.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 (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006199/0.7501, allocations: 1.522 MB / 0.5585 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/0.7515, allocations: 244.8 kB / 0.5588 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.7551, allocations: 1.321 MB / 0.5601 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/0.7552, allocations: 15.94 kB / 0.5601 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.7552, allocations: 0 / 0.5601 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.7552, allocations: 11.98 kB / 0.5601 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.7683, allocations: 4.332 MB / 0.5643 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/0.7684, allocations: 0 / 0.5643 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/0.7707, allocations: 375.4 kB / 0.5647 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/0.7708, allocations: 8 kB / 0.5647 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.771, allocations: 24.36 kB / 0.5647 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.7711, allocations: 8.031 kB / 0.5647 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.7711, allocations: 3.953 kB / 0.5647 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/0.777, allocations: 3.32 MB / 0.568 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/0.7789, allocations: 469.6 kB / 0.5684 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008023/0.7797, allocations: 22.34 kB / 0.5684 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.7813, allocations: 72 kB / 0.5685 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.7815, allocations: 52.36 kB / 0.5685 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.7816, allocations: 35.98 kB / 0.5686 GB, free: 7.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004982/0.7866, allocations: 1.902 MB / 0.5704 GB, free: 5.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7866, allocations: 0 / 0.5704 GB, free: 5.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009378/0.796, allocations: 1.206 MB / 0.5716 GB, free: 4.32 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006295/0.7967, allocations: 169.7 kB / 0.5718 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2758/1.073, allocations: 5.892 MB / 0.5775 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.073, allocations: 0 / 0.5775 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/1.074, allocations: 0.834 MB / 0.5783 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.076, allocations: 255.1 kB / 0.5786 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.086, allocations: 6.878 MB / 0.5853 GB, free: 117.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/1.089, allocations: 2.361 MB / 0.5876 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005638/1.094, allocations: 2.508 MB / 0.5901 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/1.095, allocations: 172.8 kB / 0.5902 GB, free: 117 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/1.095, allocations: 0 / 0.5902 GB, free: 117 MB / 446.1 MB Notification: Performance of Templates: time 0.0544/1.149, allocations: 22.41 MB / 0.6121 GB, free: 113.5 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: