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.001189/0.001189, allocations: 106.4 kB / 16.29 MB, free: 6.43 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.001136/0.001136, allocations: 185.9 kB / 17.22 MB, free: 5.934 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.208/1.208, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02387/0.02387, allocations: 5.226 MB / 296.3 MB, free: 9.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 357.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 50.56 MB / 408.5 MB, free: 30.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.006112/0.1881, allocations: 7.915 MB / 416.4 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.1927, allocations: 3.475 MB / 419.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008128/0.1935, allocations: 39.88 kB / 419.9 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.1953, allocations: 1.101 MB / 421 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.1976, allocations: 1.385 MB / 422.4 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.1985, allocations: 0.5419 MB / 422.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.2005, allocations: 2.719 MB / 425.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.2016, allocations: 1.638 MB / 427.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.2022, allocations: 0.8757 MB / 428.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008739/0.2031, allocations: 1.246 MB / 429.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.2033, allocations: 172 kB / 429.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.2042, allocations: 0.9204 MB / 430.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.2047, allocations: 1.099 MB / 431.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.2054, allocations: 1.335 MB / 432.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.2076, allocations: 4.387 MB / 437.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2076, allocations: 0 / 437.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.2076, allocations: 0 / 437.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.2076, allocations: 0 / 437.3 MB, free: 1.113 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.004233/0.2119, allocations: 3.148 MB / 440.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2119, allocations: 8.031 kB / 440.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/0.2174, allocations: 1.662 MB / 442.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.2199, allocations: 1.453 MB / 443.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/0.22, allocations: 135.7 kB / 443.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.2203, allocations: 188 kB / 443.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008878/0.2292, allocations: 6.714 MB / 450.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-05/0.2293, allocations: 39.64 kB / 450.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.2295, allocations: 87.89 kB / 450.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/0.232, allocations: 1.452 MB / 452.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009781/0.2417, allocations: 5.963 MB / 458.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.2704, allocations: 27.39 MB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/0.275, allocations: 2.387 MB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.2764, allocations: 1.075 MB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.2764, allocations: 12.67 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2765, allocations: 42.56 kB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.805e-06/0.2765, allocations: 0 / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01664/0.2931, allocations: 7.848 MB / 496.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.2932, allocations: 141 kB / 497 MB, free: 3.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.2965, allocations: 2.91 MB / 500 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/0.2966, allocations: 37.7 kB / 500 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.2979, allocations: 2.18 MB / 0.4904 GB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.2982, allocations: 450.5 kB / 0.4908 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009407/0.2992, allocations: 0.8965 MB / 0.4917 GB, free: 13.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.2993, allocations: 305.1 kB / 0.492 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.3012, allocations: 1.461 MB / 0.4934 GB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/0.3048, allocations: 4.307 MB / 0.4976 GB, free: 5.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1474/0.4522, allocations: 8.065 MB / 0.5055 GB, free: 86.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.86e-05/0.4523, allocations: 28.72 kB / 0.5055 GB, free: 86.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.007424/0.4597, allocations: 5.569 MB / 0.511 GB, free: 85.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.4598, allocations: 45.19 kB / 0.511 GB, free: 85.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.278e-05/0.4599, allocations: 104.6 kB / 0.5111 GB, free: 85.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.925e-05/0.46, allocations: 133.8 kB / 0.5112 GB, free: 85.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.4633, allocations: 1.232 MB / 0.5124 GB, free: 84.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.721e-05/0.4634, allocations: 198 kB / 0.5126 GB, free: 84.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.4657, allocations: 247.2 kB / 0.5129 GB, free: 84.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.4659, allocations: 275.5 kB / 0.5131 GB, free: 84.84 MB / 382.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.001363/0.4673, allocations: 1.462 MB / 0.5146 GB, free: 84.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.4676, allocations: 243 kB / 0.5148 GB, free: 84.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.4691, allocations: 1.277 MB / 0.516 GB, free: 83.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.4691, allocations: 14.78 kB / 0.5161 GB, free: 83.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4691, allocations: 0 / 0.5161 GB, free: 83.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4691, allocations: 3.75 kB / 0.5161 GB, free: 83.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/0.4742, allocations: 4.241 MB / 0.5202 GB, free: 82.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4742, allocations: 0 / 0.5202 GB, free: 82.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.4759, allocations: 372.2 kB / 0.5206 GB, free: 81.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.476, allocations: 4 kB / 0.5206 GB, free: 81.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.476, allocations: 12 kB / 0.5206 GB, free: 81.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.476, allocations: 8 kB / 0.5206 GB, free: 81.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.476, allocations: 15.7 kB / 0.5206 GB, free: 81.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.4788, allocations: 3.153 MB / 0.5237 GB, free: 79.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.4792, allocations: 307.8 kB / 0.524 GB, free: 78.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.4794, allocations: 16 kB / 0.524 GB, free: 78.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/0.4802, allocations: 59.44 kB / 0.524 GB, free: 78.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4803, allocations: 56.58 kB / 0.5241 GB, free: 78.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.4804, allocations: 32.11 kB / 0.5241 GB, free: 78.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.4821, allocations: 1.813 MB / 0.5259 GB, free: 76.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4821, allocations: 0.9844 kB / 0.5259 GB, free: 76.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002379/0.4845, allocations: 0.6469 MB / 0.5265 GB, free: 76.19 MB / 382.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 (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.0002304/0.4847, allocations: 137.3 kB / 0.5267 GB, free: 76.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.4879, allocations: 3.326 MB / 0.5299 GB, free: 72.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4879, allocations: 0 / 0.5299 GB, free: 72.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.4887, allocations: 0.8141 MB / 0.5307 GB, free: 71.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.49, allocations: 279.3 kB / 0.531 GB, free: 71.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.4961, allocations: 6.014 MB / 0.5368 GB, free: 65.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.4975, allocations: 2.291 MB / 0.5391 GB, free: 63.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.4981, allocations: 207.4 kB / 0.5393 GB, free: 63.12 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4981, allocations: 0 / 0.5393 GB, free: 63.12 MB / 382.1 MB Notification: Performance of Templates: time 0.03856/0.5367, allocations: 38.41 MB / 0.5768 GB, free: 24.84 MB / 382.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)