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.00898/0.008981, allocations: 109.3 kB / 15.74 MB, free: 5.578 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.001402/0.001402, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02565/0.02565, allocations: 5.222 MB / 295.7 MB, free: 9.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 409.1 MB, free: 26.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 50.57 MB / 459.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.00953/0.1149, allocations: 7.978 MB / 467.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007208/0.1222, allocations: 3.571 MB / 471.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.1238, allocations: 35.88 kB / 471.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.1263, allocations: 1.105 MB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.1301, allocations: 1.413 MB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1315, allocations: 0.5848 MB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004051/0.1356, allocations: 2.772 MB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.1378, allocations: 1.665 MB / 478.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1392, allocations: 0.903 MB / 479.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.1406, allocations: 1.265 MB / 480.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.141, allocations: 179.9 kB / 481.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.1425, allocations: 0.9321 MB / 482 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008851/0.1434, allocations: 1.099 MB / 483.1 MB, free: 16 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.1445, allocations: 1.355 MB / 484.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.1487, allocations: 4.426 MB / 488.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1487, allocations: 0 / 488.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1488, allocations: 4 kB / 488.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.338e-05/0.1488, allocations: 0 / 488.9 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.005533/0.1544, allocations: 3.18 MB / 492.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1544, allocations: 11.97 kB / 492.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/0.1604, allocations: 1.67 MB / 493.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/0.1635, allocations: 1.492 MB / 495.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1636, allocations: 135.7 kB / 495.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.164, allocations: 187.9 kB / 495.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009092/0.1731, allocations: 6.738 MB / 0.4905 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.75e-05/0.1732, allocations: 31.66 kB / 0.4906 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.1734, allocations: 91.89 kB / 0.4907 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002423/0.1759, allocations: 1.456 MB / 0.4921 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009979/0.1859, allocations: 6.002 MB / 0.4979 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2406/0.4264, allocations: 27.47 MB / 0.5248 GB, free: 28.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005252/0.4317, allocations: 2.401 MB / 0.5271 GB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.4334, allocations: 1.078 MB / 0.5282 GB, free: 26.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.4334, allocations: 15.16 kB / 0.5282 GB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4335, allocations: 46.44 kB / 0.5282 GB, free: 26.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 4.038e-06/0.4335, allocations: 0 / 0.5282 GB, free: 26.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.01794/0.4514, allocations: 7.948 MB / 0.536 GB, free: 22.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.4515, allocations: 173.5 kB / 0.5362 GB, free: 22.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.4545, allocations: 2.927 MB / 0.539 GB, free: 20.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.4546, allocations: 41.27 kB / 0.5391 GB, free: 20.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00082/0.4554, allocations: 2.185 MB / 0.5412 GB, free: 18.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.4557, allocations: 448.7 kB / 0.5416 GB, free: 18.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000839/0.4566, allocations: 0.8995 MB / 0.5425 GB, free: 18.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.4566, allocations: 305.1 kB / 0.5428 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.4583, allocations: 1.5 MB / 0.5442 GB, free: 16.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.461, allocations: 4.333 MB / 0.5485 GB, free: 10.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.4658, allocations: 6.27 MB / 0.5546 GB, free: 2.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-05/0.4658, allocations: 28 kB / 0.5546 GB, free: 2.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007392/0.4732, allocations: 5.591 MB / 0.5601 GB, free: 13.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.4733, allocations: 48.94 kB / 0.5601 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.96e-05/0.4734, allocations: 104 kB / 0.5602 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.4735, allocations: 135.9 kB / 0.5604 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/0.4776, allocations: 1.24 MB / 0.5616 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001357/0.4777, allocations: 199.2 kB / 0.5618 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.4804, allocations: 251 kB / 0.562 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.4807, allocations: 280 kB / 0.5623 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003663/0.4844, allocations: 2.602 MB / 0.5648 GB, free: 8.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003674/0.4881, allocations: 4.324 MB / 0.569 GB, free: 2.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006466/0.4946, allocations: 6.238 MB / 0.5751 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.145e-05/0.4947, allocations: 28 kB / 0.5752 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.008719/0.5034, allocations: 5.577 MB / 0.5806 GB, free: 5.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.5035, allocations: 48 kB / 0.5806 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.54e-05/0.5036, allocations: 100 kB / 0.5807 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.5037, allocations: 132 kB / 0.5809 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.5078, allocations: 1.24 MB / 0.5821 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/0.5079, allocations: 195.2 kB / 0.5823 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.5109, allocations: 251.8 kB / 0.5825 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/0.5112, allocations: 290.1 kB / 0.5828 GB, free: 3.141 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.0009222/0.5121, allocations: 0.5468 MB / 0.5833 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.5126, allocations: 240.8 kB / 0.5835 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.5147, allocations: 1.304 MB / 0.5848 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.5148, allocations: 12 kB / 0.5848 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5148, allocations: 0 / 0.5848 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5148, allocations: 7.922 kB / 0.5848 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/0.5215, allocations: 4.305 MB / 0.589 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5216, allocations: 0 / 0.589 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.5236, allocations: 371.4 kB / 0.5894 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.5236, allocations: 4 kB / 0.5894 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.5237, allocations: 23.98 kB / 0.5894 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.5237, allocations: 8.031 kB / 0.5894 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5237, allocations: 7.875 kB / 0.5894 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.5277, allocations: 3.218 MB / 0.5926 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/0.5286, allocations: 461.8 kB / 0.593 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.5288, allocations: 19.81 kB / 0.593 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009685/0.5298, allocations: 63.91 kB / 0.5931 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.53, allocations: 60.23 kB / 0.5932 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/0.5301, allocations: 28 kB / 0.5932 GB, free: 8.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002498/0.5326, allocations: 1.827 MB / 0.595 GB, free: 6.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5326, allocations: 0 / 0.595 GB, free: 6.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005585/0.5382, allocations: 1.187 MB / 0.5961 GB, free: 5.367 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.0003689/0.5386, allocations: 149.1 kB / 0.5963 GB, free: 5.223 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008971/0.5476, allocations: 5.945 MB / 0.6021 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5476, allocations: 64 / 0.6021 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5488, allocations: 0.8264 MB / 0.6029 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.5507, allocations: 297.2 kB / 0.6032 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.5595, allocations: 5.801 MB / 0.6088 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/0.5615, allocations: 2.307 MB / 0.6111 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005182/0.5667, allocations: 2.501 MB / 0.6135 GB, free: 3.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.5672, allocations: 171.4 kB / 0.6137 GB, free: 3.398 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5672, allocations: 0 / 0.6137 GB, free: 3.398 MB / 446.1 MB Notification: Performance of Templates: time 0.03937/0.6066, allocations: 20.99 MB / 0.6342 GB, free: 14.55 MB / 478.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)