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.001351/0.001351, allocations: 119.2 kB / 16.37 MB, free: 6.016 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.001345/0.001345, allocations: 193 kB / 17.31 MB, free: 5.613 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.0257/0.0257, allocations: 5.216 MB / 296.4 MB, free: 9.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.89 kB / 358.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2117, allocations: 50.56 MB / 409.2 MB, free: 29.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.00661/0.2183, allocations: 7.988 MB / 417.2 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.2236, allocations: 3.581 MB / 420.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2246, allocations: 35.88 kB / 420.8 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.2266, allocations: 1.093 MB / 421.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.2298, allocations: 1.381 MB / 423.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.231, allocations: 0.5887 MB / 423.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.2339, allocations: 2.783 MB / 426.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.2355, allocations: 1.665 MB / 428.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.2368, allocations: 0.8952 MB / 429.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.2381, allocations: 1.269 MB / 430.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.2384, allocations: 180 kB / 430.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2399, allocations: 0.9204 MB / 431.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.2407, allocations: 1.106 MB / 432.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008882/0.2415, allocations: 1.359 MB / 434 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.2451, allocations: 4.418 MB / 438.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2451, allocations: 0 / 438.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2451, allocations: 0 / 438.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.983e-05/0.2452, allocations: 0 / 438.5 MB, free: 0.5742 MB / 302.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.00528/0.2504, allocations: 3.183 MB / 441.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2505, allocations: 12.03 kB / 441.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/0.256, allocations: 1.662 MB / 443.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.2592, allocations: 1.492 MB / 444.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2593, allocations: 143.7 kB / 445 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.2596, allocations: 176 kB / 445.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009108/0.2687, allocations: 6.746 MB / 451.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.018e-05/0.2688, allocations: 39.66 kB / 451.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.2691, allocations: 91.89 kB / 452 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002251/0.2714, allocations: 1.452 MB / 453.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.2817, allocations: 5.998 MB / 459.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.3128, allocations: 27.46 MB / 486.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.3174, allocations: 2.409 MB / 489.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.3189, allocations: 1.078 MB / 490.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.817e-05/0.319, allocations: 12 kB / 490.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.319, allocations: 46.28 kB / 490.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 5.129e-06/0.319, allocations: 3.938 kB / 490.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01741/0.3364, allocations: 7.954 MB / 498.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.3366, allocations: 162.7 kB / 498.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.3403, allocations: 2.927 MB / 0.4897 GB, free: 15.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.3405, allocations: 41.7 kB / 0.4898 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.3419, allocations: 2.188 MB / 0.4919 GB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/0.3424, allocations: 454.4 kB / 0.4924 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.3434, allocations: 0.8966 MB / 0.4932 GB, free: 12.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.3436, allocations: 305.1 kB / 0.4935 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.3457, allocations: 1.5 MB / 0.495 GB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/0.3498, allocations: 4.332 MB / 0.4992 GB, free: 4.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2118/0.5615, allocations: 6.264 MB / 0.5053 GB, free: 87.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.133e-05/0.5617, allocations: 28.72 kB / 0.5054 GB, free: 87.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009678/0.5714, allocations: 5.597 MB / 0.5108 GB, free: 85.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.5715, allocations: 48.12 kB / 0.5109 GB, free: 85.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.5716, allocations: 105.5 kB / 0.511 GB, free: 85.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.5717, allocations: 132.5 kB / 0.5111 GB, free: 85.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/0.5754, allocations: 1.237 MB / 0.5123 GB, free: 85.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001157/0.5755, allocations: 198.6 kB / 0.5125 GB, free: 85.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.5782, allocations: 257.5 kB / 0.5127 GB, free: 85.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.5785, allocations: 282.6 kB / 0.513 GB, free: 85.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003058/0.5816, allocations: 2.593 MB / 0.5155 GB, free: 84.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002619/0.5842, allocations: 4.326 MB / 0.5198 GB, free: 79.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004697/0.5889, allocations: 6.237 MB / 0.5259 GB, free: 73.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.355e-05/0.589, allocations: 31.94 kB / 0.5259 GB, free: 73.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.006909/0.5959, allocations: 5.565 MB / 0.5313 GB, free: 68.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.596, allocations: 48 kB / 0.5314 GB, free: 68.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.868e-05/0.5961, allocations: 104 kB / 0.5315 GB, free: 68.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.926e-05/0.5961, allocations: 132 kB / 0.5316 GB, free: 68.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.5996, allocations: 1.234 MB / 0.5328 GB, free: 67.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.5997, allocations: 203.2 kB / 0.533 GB, free: 67.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.6023, allocations: 251.1 kB / 0.5332 GB, free: 66.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.6026, allocations: 278.9 kB / 0.5335 GB, free: 66.58 MB / 382.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.0008485/0.6034, allocations: 0.5507 MB / 0.534 GB, free: 66.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.6038, allocations: 245.3 kB / 0.5343 GB, free: 65.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6056, allocations: 1.312 MB / 0.5356 GB, free: 64.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.6056, allocations: 16 kB / 0.5356 GB, free: 64.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6056, allocations: 0.75 kB / 0.5356 GB, free: 64.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6056, allocations: 3.984 kB / 0.5356 GB, free: 64.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00603/0.6117, allocations: 4.297 MB / 0.5398 GB, free: 60.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6117, allocations: 0 / 0.5398 GB, free: 60.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.6134, allocations: 379.3 kB / 0.5401 GB, free: 59.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.6134, allocations: 4 kB / 0.5401 GB, free: 59.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.6135, allocations: 20.03 kB / 0.5402 GB, free: 59.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.6135, allocations: 11.75 kB / 0.5402 GB, free: 59.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6135, allocations: 0 / 0.5402 GB, free: 59.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.6168, allocations: 3.225 MB / 0.5433 GB, free: 56.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.6179, allocations: 453.8 kB / 0.5437 GB, free: 56.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.6182, allocations: 20 kB / 0.5438 GB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/0.619, allocations: 63.91 kB / 0.5438 GB, free: 56.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.6192, allocations: 52.31 kB / 0.5439 GB, free: 56.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.6193, allocations: 39.98 kB / 0.5439 GB, free: 55.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002138/0.6214, allocations: 1.823 MB / 0.5457 GB, free: 54.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6215, allocations: 0 / 0.5457 GB, free: 54.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005414/0.6269, allocations: 1.187 MB / 0.5469 GB, free: 52.96 MB / 382.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.0003421/0.6272, allocations: 143.3 kB / 0.547 GB, free: 52.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007378/0.6346, allocations: 5.962 MB / 0.5528 GB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6347, allocations: 4 kB / 0.5528 GB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.6357, allocations: 0.823 MB / 0.5536 GB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.6374, allocations: 287.8 kB / 0.5539 GB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.6448, allocations: 5.801 MB / 0.5596 GB, free: 40 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.6464, allocations: 2.296 MB / 0.5618 GB, free: 37.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004195/0.6506, allocations: 2.512 MB / 0.5643 GB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.6511, allocations: 171.4 kB / 0.5644 GB, free: 34.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6511, allocations: 0 / 0.5644 GB, free: 34.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03353/0.6846, allocations: 19.48 MB / 0.5834 GB, free: 15.72 MB / 382.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 -s cvode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)