Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_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.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 111 kB / 16.42 MB, free: 6.426 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.001752/0.001752, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.361/1.361, 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.02516/0.02516, allocations: 5.223 MB / 296.4 MB, free: 9.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 409.7 MB, free: 26.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1021, allocations: 50.57 MB / 460.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009053/0.1112, allocations: 7.916 MB / 468.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.1182, allocations: 3.481 MB / 471.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.1197, allocations: 35.94 kB / 471.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.1226, allocations: 1.101 MB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.1268, allocations: 1.401 MB / 474.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1283, allocations: 0.538 MB / 474.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.1325, allocations: 2.725 MB / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.1354, allocations: 1.634 MB / 479.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.1373, allocations: 0.8796 MB / 480 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.1394, allocations: 1.246 MB / 481.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.1402, allocations: 172 kB / 481.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.1425, allocations: 0.9282 MB / 482.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.144, allocations: 1.091 MB / 483.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.1468, allocations: 1.347 MB / 484.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007096/0.1539, allocations: 4.404 MB / 489.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1539, allocations: 0 / 489.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1539, allocations: 0 / 489.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002038/0.1542, allocations: 0 / 489.2 MB, free: 10.59 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.008541/0.1627, allocations: 3.225 MB / 492.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.1628, allocations: 8.031 kB / 492.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/0.1688, allocations: 1.691 MB / 494.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.1719, allocations: 1.473 MB / 495.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.172, allocations: 135.7 kB / 495.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/0.1724, allocations: 176 kB / 495.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.1825, allocations: 6.718 MB / 0.4908 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.18e-05/0.1826, allocations: 31.75 kB / 0.4909 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.1829, allocations: 87.89 kB / 0.491 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002435/0.1853, allocations: 1.46 MB / 0.4924 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.1961, allocations: 5.97 MB / 0.4982 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2678/0.4639, allocations: 27.43 MB / 0.525 GB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/0.4687, allocations: 2.398 MB / 0.5273 GB, free: 26.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4702, allocations: 1.065 MB / 0.5284 GB, free: 25.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.4703, allocations: 16.39 kB / 0.5284 GB, free: 25.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4703, allocations: 49.5 kB / 0.5284 GB, free: 25.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.577e-06/0.4703, allocations: 1.031 kB / 0.5284 GB, free: 25.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01685/0.4872, allocations: 7.993 MB / 0.5363 GB, free: 22.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.4872, allocations: 135.8 kB / 0.5364 GB, free: 22.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.4905, allocations: 2.918 MB / 0.5392 GB, free: 20.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.4907, allocations: 43.05 kB / 0.5393 GB, free: 20.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.4917, allocations: 2.277 MB / 0.5415 GB, free: 18.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.4921, allocations: 463.5 kB / 0.5419 GB, free: 18.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008716/0.4929, allocations: 0.9073 MB / 0.5428 GB, free: 17.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.493, allocations: 305.1 kB / 0.5431 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4948, allocations: 1.457 MB / 0.5445 GB, free: 16.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/0.4974, allocations: 4.307 MB / 0.5487 GB, free: 10.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.5094, allocations: 8.072 MB / 0.5566 GB, free: 1.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-05/0.5095, allocations: 28 kB / 0.5567 GB, free: 1.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009606/0.5191, allocations: 5.573 MB / 0.5621 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.5192, allocations: 48 kB / 0.5621 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.5194, allocations: 104 kB / 0.5622 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.5195, allocations: 132 kB / 0.5624 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.5237, allocations: 1.232 MB / 0.5636 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001656/0.5239, allocations: 195.5 kB / 0.5638 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.527, allocations: 258.4 kB / 0.564 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/0.5274, allocations: 283.9 kB / 0.5643 GB, free: 9.391 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = "rad" fixed = true stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real 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],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 553 * 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.002203/0.5296, allocations: 1.454 MB / 0.5657 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/0.5302, allocations: 254.3 kB / 0.5659 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.5325, allocations: 1.273 MB / 0.5672 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.5325, allocations: 7.984 kB / 0.5672 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5325, allocations: 3.5 kB / 0.5672 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.533, allocations: 311.3 kB / 0.5675 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.5333, allocations: 19.94 kB / 0.5675 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5345, allocations: 63.91 kB / 0.5676 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.5347, allocations: 48.31 kB / 0.5676 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004094/0.5388, allocations: 2.13 MB / 0.5697 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004472/0.5433, allocations: 3.274 MB / 0.5729 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/0.5444, allocations: 0.7715 MB / 0.5736 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00337/0.5478, allocations: 1.811 MB / 0.5754 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Backend: time 8.71e-07/0.5478, allocations: 4 kB / 0.5754 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007028/0.5549, allocations: 2.856 MB / 0.5782 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 0.01058/0.5655, allocations: 6.07 MB / 0.5841 GB, free: 5.012 MB / 414.1 MB Notification: Performance of Templates: time 0.05926/0.6248, allocations: 29.31 MB / 0.6128 GB, free: 7.836 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1)