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.001506/0.001506, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001253/0.001254, allocations: 187 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02571/0.02571, allocations: 5.218 MB / 296.4 MB, free: 9.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 409.7 MB, free: 26.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 50.57 MB / 460.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008978/0.113, allocations: 7.982 MB / 468.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006937/0.12, allocations: 3.571 MB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.1214, allocations: 39.88 kB / 471.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.1241, allocations: 1.093 MB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.1279, allocations: 1.397 MB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1294, allocations: 0.5838 MB / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003889/0.1333, allocations: 2.769 MB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002667/0.136, allocations: 1.662 MB / 479.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.1378, allocations: 0.903 MB / 480.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.1399, allocations: 1.273 MB / 481.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006677/0.1405, allocations: 176 kB / 481.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.1427, allocations: 0.9283 MB / 482.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.1442, allocations: 1.102 MB / 483.8 MB, free: 16 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.146, allocations: 1.351 MB / 485.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.1514, allocations: 4.426 MB / 489.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1514, allocations: 0 / 489.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1514, allocations: 0 / 489.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.1515, allocations: 0 / 489.6 MB, free: 10.21 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.006303/0.1578, allocations: 3.183 MB / 492.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1579, allocations: 8.031 kB / 492.7 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005446/0.1633, allocations: 1.67 MB / 494.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.1662, allocations: 1.488 MB / 495.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1663, allocations: 135.7 kB / 496 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.1667, allocations: 187.9 kB / 496.2 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009213/0.1759, allocations: 6.746 MB / 0.4912 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.465e-05/0.176, allocations: 31.66 kB / 0.4912 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.1763, allocations: 91.89 kB / 0.4913 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002277/0.1785, allocations: 1.456 MB / 0.4927 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009721/0.1883, allocations: 5.998 MB / 0.4986 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2921/0.4804, allocations: 27.47 MB / 0.5254 GB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.4852, allocations: 2.407 MB / 0.5278 GB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.4867, allocations: 1.077 MB / 0.5288 GB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.497e-05/0.4868, allocations: 15.34 kB / 0.5288 GB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4868, allocations: 41.94 kB / 0.5289 GB, free: 25.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 4.819e-06/0.4868, allocations: 4.75 kB / 0.5289 GB, free: 25.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.01607/0.5029, allocations: 7.949 MB / 0.5366 GB, free: 22.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.503, allocations: 173.1 kB / 0.5368 GB, free: 21.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.506, allocations: 2.929 MB / 0.5397 GB, free: 20.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.5061, allocations: 40.58 kB / 0.5397 GB, free: 20.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/0.507, allocations: 2.184 MB / 0.5418 GB, free: 18.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.5073, allocations: 450.4 kB / 0.5423 GB, free: 17.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008122/0.5082, allocations: 0.9029 MB / 0.5431 GB, free: 17.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.5082, allocations: 309 kB / 0.5434 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.5099, allocations: 1.494 MB / 0.5449 GB, free: 15.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.5125, allocations: 4.333 MB / 0.5491 GB, free: 9.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/0.5175, allocations: 6.264 MB / 0.5552 GB, free: 2.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.434e-05/0.5175, allocations: 36 kB / 0.5553 GB, free: 2.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008757/0.5263, allocations: 5.593 MB / 0.5607 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.5264, allocations: 48 kB / 0.5608 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.5265, allocations: 104 kB / 0.5609 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.5267, allocations: 132 kB / 0.561 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/0.5307, allocations: 1.245 MB / 0.5622 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001788/0.5309, allocations: 199.2 kB / 0.5624 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/0.5341, allocations: 247.6 kB / 0.5626 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.5346, allocations: 280 kB / 0.5629 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004339/0.5389, allocations: 2.596 MB / 0.5655 GB, free: 7.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004791/0.5437, allocations: 4.324 MB / 0.5697 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007753/0.5515, allocations: 6.236 MB / 0.5758 GB, free: 10.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000114/0.5517, allocations: 29.33 kB / 0.5758 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.0109/0.5626, allocations: 5.575 MB / 0.5812 GB, free: 4.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.893e-05/0.5627, allocations: 52.03 kB / 0.5813 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001964/0.5629, allocations: 100 kB / 0.5814 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.5631, allocations: 139.7 kB / 0.5815 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/0.5672, allocations: 1.235 MB / 0.5827 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000212/0.5675, allocations: 199.2 kB / 0.5829 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/0.5708, allocations: 243.6 kB / 0.5831 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/0.5714, allocations: 284 kB / 0.5834 GB, free: 2.488 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.001372/0.5727, allocations: 0.5542 MB / 0.584 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.5735, allocations: 240.8 kB / 0.5842 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.5761, allocations: 1.304 MB / 0.5855 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.5762, allocations: 12 kB / 0.5855 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.5762, allocations: 4 kB / 0.5855 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5762, allocations: 7.984 kB / 0.5855 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009514/0.5858, allocations: 4.302 MB / 0.5897 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.5858, allocations: 0 / 0.5897 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.5876, allocations: 375.4 kB / 0.59 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.5877, allocations: 4 kB / 0.59 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.941e-05/0.5878, allocations: 19.52 kB / 0.5901 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.5878, allocations: 4.875 kB / 0.5901 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5878, allocations: 0 / 0.5901 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/0.5924, allocations: 3.227 MB / 0.5932 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.5936, allocations: 457.8 kB / 0.5937 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005942/0.5943, allocations: 16 kB / 0.5937 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.5955, allocations: 67.91 kB / 0.5937 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.5957, allocations: 52.62 kB / 0.5938 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.5958, allocations: 35.75 kB / 0.5938 GB, free: 7.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003433/0.5992, allocations: 1.827 MB / 0.5956 GB, free: 5.898 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5993, allocations: 4 kB / 0.5956 GB, free: 5.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006725/0.606, allocations: 1.194 MB / 0.5968 GB, free: 4.707 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.000469/0.6065, allocations: 137.3 kB / 0.5969 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.6169, allocations: 5.957 MB / 0.6027 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.617, allocations: 0 / 0.6027 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.6182, allocations: 0.8264 MB / 0.6035 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.6207, allocations: 285.4 kB / 0.6038 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.6331, allocations: 6.11 MB / 0.6098 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/0.6363, allocations: 2.304 MB / 0.612 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009933/0.6373, allocations: 207.4 kB / 0.6122 GB, free: 4.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.975e-06/0.6374, allocations: 0 / 0.6122 GB, free: 4.91 MB / 446.1 MB Notification: Performance of Templates: time 0.06451/0.7019, allocations: 39.22 MB / 0.6505 GB, free: 13.75 MB / 494.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)