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.01085/0.01085, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001999/0.001999, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02397/0.02397, allocations: 5.224 MB / 295.7 MB, free: 9.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 409 MB, free: 26.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 50.57 MB / 459.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008798/0.1184, allocations: 7.99 MB / 467.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006827/0.1253, allocations: 3.567 MB / 471.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.1266, allocations: 35.88 kB / 471.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.129, allocations: 1.097 MB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.1327, allocations: 1.424 MB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1342, allocations: 0.5723 MB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003904/0.1381, allocations: 2.785 MB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.1403, allocations: 1.658 MB / 478.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1417, allocations: 0.903 MB / 479.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.1433, allocations: 1.273 MB / 480.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.1436, allocations: 176 kB / 481.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1452, allocations: 0.9322 MB / 482 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009075/0.1462, allocations: 1.099 MB / 483.1 MB, free: 4 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1474, allocations: 1.355 MB / 484.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.1523, allocations: 4.446 MB / 488.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1523, allocations: 0 / 488.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1523, allocations: 0 / 488.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.617e-05/0.1524, allocations: 0 / 488.9 MB, free: 10.18 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.005963/0.1583, allocations: 3.264 MB / 492.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1584, allocations: 8.031 kB / 492.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.164, allocations: 1.691 MB / 493.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.1672, allocations: 1.493 MB / 495.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1673, allocations: 131.7 kB / 495.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/0.1679, allocations: 184 kB / 495.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.1787, allocations: 6.758 MB / 0.4907 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.1789, allocations: 31.75 kB / 0.4907 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.1793, allocations: 91.89 kB / 0.4908 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002444/0.1818, allocations: 1.452 MB / 0.4922 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.1932, allocations: 6.001 MB / 0.4981 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3279/0.5212, allocations: 27.51 MB / 0.5249 GB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/0.5258, allocations: 2.405 MB / 0.5273 GB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.5273, allocations: 1.08 MB / 0.5283 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.5274, allocations: 15.3 kB / 0.5284 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5274, allocations: 46.44 kB / 0.5284 GB, free: 25.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.765e-06/0.5274, allocations: 0 / 0.5284 GB, free: 25.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02024/0.5477, allocations: 8.09 MB / 0.5363 GB, free: 21.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.5478, allocations: 170 kB / 0.5365 GB, free: 21.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/0.553, allocations: 2.94 MB / 0.5393 GB, free: 20.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.5532, allocations: 45.52 kB / 0.5394 GB, free: 20.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.5546, allocations: 2.272 MB / 0.5416 GB, free: 18.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/0.5551, allocations: 477.5 kB / 0.5421 GB, free: 17.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.5563, allocations: 0.9079 MB / 0.5429 GB, free: 17.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.5564, allocations: 305.1 kB / 0.5432 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.5581, allocations: 1.496 MB / 0.5447 GB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.5608, allocations: 4.33 MB / 0.5489 GB, free: 9.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/0.5659, allocations: 6.274 MB / 0.555 GB, free: 2.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.794e-05/0.566, allocations: 28 kB / 0.5551 GB, free: 2.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008799/0.5748, allocations: 5.604 MB / 0.5605 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.5749, allocations: 48 kB / 0.5606 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/0.5751, allocations: 100 kB / 0.5607 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.5752, allocations: 136 kB / 0.5608 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/0.5793, allocations: 1.24 MB / 0.562 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001893/0.5795, allocations: 200.2 kB / 0.5622 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.5829, allocations: 247.7 kB / 0.5625 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004614/0.5834, allocations: 280 kB / 0.5627 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004358/0.5878, allocations: 2.593 MB / 0.5653 GB, free: 7.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004728/0.5925, allocations: 4.324 MB / 0.5695 GB, free: 1.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006927/0.5994, allocations: 6.246 MB / 0.5756 GB, free: 10.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000111/0.5996, allocations: 28 kB / 0.5756 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.009397/0.609, allocations: 5.581 MB / 0.5811 GB, free: 4.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.6091, allocations: 48 kB / 0.5811 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.6093, allocations: 107.9 kB / 0.5812 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.6094, allocations: 136 kB / 0.5813 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/0.6134, allocations: 1.241 MB / 0.5825 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001752/0.6136, allocations: 199.2 kB / 0.5827 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/0.6171, allocations: 255.6 kB / 0.583 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004749/0.6176, allocations: 280 kB / 0.5832 GB, free: 2.312 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.001166/0.6188, allocations: 0.5467 MB / 0.5838 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007342/0.6195, allocations: 258.3 kB / 0.584 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.6219, allocations: 1.304 MB / 0.5853 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.622, allocations: 16 kB / 0.5853 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.622, allocations: 0.875 kB / 0.5853 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.622, allocations: 7.984 kB / 0.5853 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008667/0.6307, allocations: 4.308 MB / 0.5895 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.6307, allocations: 4.031 kB / 0.5895 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.6326, allocations: 371.4 kB / 0.5899 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.6327, allocations: 4 kB / 0.5899 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6328, allocations: 19.98 kB / 0.5899 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.6328, allocations: 8 kB / 0.5899 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6328, allocations: 5.5 kB / 0.5899 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.637, allocations: 3.225 MB / 0.5931 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.6382, allocations: 471.2 kB / 0.5935 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008445/0.639, allocations: 20 kB / 0.5935 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.6406, allocations: 63.91 kB / 0.5936 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.6408, allocations: 60.23 kB / 0.5937 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.6409, allocations: 32 kB / 0.5937 GB, free: 7.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003401/0.6443, allocations: 1.823 MB / 0.5955 GB, free: 5.684 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.6443, allocations: 0 / 0.5955 GB, free: 5.684 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008747/0.6531, allocations: 1.195 MB / 0.5966 GB, free: 4.492 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.0006625/0.6538, allocations: 139.8 kB / 0.5968 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01239/0.6662, allocations: 5.943 MB / 0.6026 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.6662, allocations: 1.625 kB / 0.6026 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.6677, allocations: 0.8305 MB / 0.6034 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/0.6715, allocations: 300.5 kB / 0.6037 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.6858, allocations: 5.891 MB / 0.6094 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/0.6892, allocations: 2.304 MB / 0.6117 GB, free: 5.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006258/0.6955, allocations: 2.501 MB / 0.6141 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/0.6963, allocations: 179.3 kB / 0.6143 GB, free: 2.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6963, allocations: 0 / 0.6143 GB, free: 2.41 MB / 446.1 MB Notification: Performance of Templates: time 0.0453/0.7416, allocations: 20.98 MB / 0.6348 GB, free: 13.57 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)