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.001172/0.001172, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001208/0.001208, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1922/0.1922, allocations: 5.202 MB / 296.2 MB, free: 4.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 8 kB / 358.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 51.55 MB / 409.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01336/0.1467, allocations: 12.67 MB / 422.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.262/0.4088, allocations: 4.428 MB / 426.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.4117, allocations: 58.47 kB / 426.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.4138, allocations: 0.607 MB / 427.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.421, allocations: 1.991 MB / 429.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.4225, allocations: 420 kB / 430 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.4259, allocations: 1.548 MB / 431.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.4295, allocations: 1.925 MB / 433.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.4309, allocations: 0.6561 MB / 434.1 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.4322, allocations: 0.901 MB / 435 MB, free: 33.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.4325, allocations: 87.25 kB / 435.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.4341, allocations: 0.7357 MB / 435.8 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.4351, allocations: 0.9331 MB / 436.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006524/0.4358, allocations: 0.5263 MB / 437.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.4391, allocations: 3.29 MB / 440.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4391, allocations: 0 / 440.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4391, allocations: 0 / 440.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.17e-05/0.4392, allocations: 0 / 440.6 MB, free: 32.54 MB / 350.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.005957/0.4452, allocations: 2.721 MB / 443.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4453, allocations: 6.031 kB / 443.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006554/0.4518, allocations: 1.999 MB / 445.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.4551, allocations: 1.526 MB / 446.8 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.4553, allocations: 133.3 kB / 446.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.4556, allocations: 176 kB / 447.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009359/0.465, allocations: 6.747 MB / 453.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.139e-05/0.4651, allocations: 32.56 kB / 453.9 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/0.4654, allocations: 89.41 kB / 454 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002269/0.4676, allocations: 1.452 MB / 455.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.4792, allocations: 6.003 MB / 461.4 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03694/0.5161, allocations: 27.52 MB / 489 MB, free: 22.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.5215, allocations: 2.376 MB / 491.3 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.724e-05/0.5216, allocations: 21.98 kB / 491.3 MB, free: 20.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.5217, allocations: 43.16 kB / 491.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 4.138e-06/0.5217, allocations: 0 / 491.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01809/0.5398, allocations: 8.134 MB / 499.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.5399, allocations: 137 kB / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/0.5434, allocations: 3.017 MB / 0.4909 GB, free: 11.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.5435, allocations: 41.7 kB / 0.4909 GB, free: 11.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.5452, allocations: 2.173 MB / 0.4931 GB, free: 9.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000512/0.5457, allocations: 454.2 kB / 0.4935 GB, free: 8.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.5459, allocations: 86.34 kB / 0.4936 GB, free: 8.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003119/0.5462, allocations: 0.5035 MB / 0.4941 GB, free: 8.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.5484, allocations: 1.433 MB / 0.4955 GB, free: 6.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004829/0.5533, allocations: 4.264 MB / 0.4996 GB, free: 1.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.5575, allocations: 2.431 MB / 0.502 GB, free: 14.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.021e-05/0.5576, allocations: 32 kB / 0.502 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01092/0.5685, allocations: 5.506 MB / 0.5074 GB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.5686, allocations: 50.84 kB / 0.5075 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.5687, allocations: 112 kB / 0.5076 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.5689, allocations: 148 kB / 0.5077 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004362/0.5733, allocations: 1.232 MB / 0.5089 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000184/0.5735, allocations: 199.2 kB / 0.5091 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.5769, allocations: 251.5 kB / 0.5093 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/0.5774, allocations: 278.6 kB / 0.5096 GB, free: 7.008 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.firstOrder.y:VARIABLE(flow=false start = idealActuatorVel.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real 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 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 (552): * Single equations (assignments): 549 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002947/0.5804, allocations: 1.444 MB / 0.511 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/0.581, allocations: 240.9 kB / 0.5112 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.5833, allocations: 1.288 MB / 0.5125 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.5833, allocations: 12 kB / 0.5125 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5833, allocations: 4 kB / 0.5125 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.5833, allocations: 7.969 kB / 0.5125 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008106/0.5914, allocations: 4.267 MB / 0.5167 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5915, allocations: 0 / 0.5167 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.5935, allocations: 375.3 kB / 0.517 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/0.5935, allocations: 8 kB / 0.5171 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/0.5936, allocations: 24.03 kB / 0.5171 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.5936, allocations: 4 kB / 0.5171 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5936, allocations: 1.25 kB / 0.5171 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.5986, allocations: 3.26 MB / 0.5203 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.6001, allocations: 314.2 kB / 0.5206 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.6004, allocations: 22.66 kB / 0.5206 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.6014, allocations: 55.92 kB / 0.5206 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.6016, allocations: 56.3 kB / 0.5207 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.6017, allocations: 28 kB / 0.5207 GB, free: 11.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003822/0.6055, allocations: 1.894 MB / 0.5226 GB, free: 9.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6055, allocations: 4 kB / 0.5226 GB, free: 9.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004118/0.6096, allocations: 0.6523 MB / 0.5232 GB, free: 8.914 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005171/0.6102, allocations: 160.3 kB / 0.5234 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005967/0.6162, allocations: 3.289 MB / 0.5266 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6162, allocations: 1.188 kB / 0.5266 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6173, allocations: 0.8115 MB / 0.5274 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.6191, allocations: 255.6 kB / 0.5276 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.6299, allocations: 6.782 MB / 0.5342 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/0.6323, allocations: 2.355 MB / 0.5365 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003682/0.636, allocations: 1.466 MB / 0.538 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/0.6365, allocations: 171.4 kB / 0.5381 GB, free: 9.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6365, allocations: 0 / 0.5381 GB, free: 9.59 MB / 414.1 MB Notification: Performance of Templates: time 0.04581/0.6823, allocations: 20.49 MB / 0.5581 GB, free: 5.23 MB / 430.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: