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.005486/0.005486, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001061/0.001061, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02466/0.02466, allocations: 5.217 MB / 295.7 MB, free: 9.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 409 MB, free: 26.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 50.58 MB / 459.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009274/0.1183, allocations: 7.915 MB / 467.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.1254, allocations: 3.481 MB / 471 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.1267, allocations: 39.88 kB / 471.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.1293, allocations: 1.101 MB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.1332, allocations: 1.411 MB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1346, allocations: 0.5341 MB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.1387, allocations: 2.717 MB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.1413, allocations: 1.622 MB / 478.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.1431, allocations: 0.8873 MB / 479.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1448, allocations: 1.246 MB / 480.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.1452, allocations: 172 kB / 480.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.1469, allocations: 0.9282 MB / 481.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.1479, allocations: 1.087 MB / 482.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.1492, allocations: 1.343 MB / 484.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.1542, allocations: 4.408 MB / 488.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1542, allocations: 0 / 488.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1542, allocations: 0 / 488.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.471e-05/0.1543, allocations: 0 / 488.5 MB, free: 10.6 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.006013/0.1604, allocations: 3.225 MB / 491.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1604, allocations: 12.03 kB / 491.7 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/0.166, allocations: 1.684 MB / 493.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.1692, allocations: 1.473 MB / 494.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.1693, allocations: 143.6 kB / 495 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.1697, allocations: 180 kB / 495.2 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.1798, allocations: 6.714 MB / 0.4902 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.804e-05/0.1799, allocations: 27.75 kB / 0.4902 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.1802, allocations: 87.89 kB / 0.4903 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002319/0.1825, allocations: 1.468 MB / 0.4917 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.1931, allocations: 5.974 MB / 0.4976 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2693/0.4624, allocations: 27.43 MB / 0.5243 GB, free: 27.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.4668, allocations: 2.388 MB / 0.5267 GB, free: 26.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.4682, allocations: 1.062 MB / 0.5277 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.4683, allocations: 19.31 kB / 0.5277 GB, free: 25.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4683, allocations: 49.23 kB / 0.5278 GB, free: 25.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 4.869e-06/0.4683, allocations: 0 / 0.5278 GB, free: 25.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01592/0.4842, allocations: 7.993 MB / 0.5356 GB, free: 22.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4843, allocations: 140.4 kB / 0.5357 GB, free: 22.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.4873, allocations: 2.92 MB / 0.5386 GB, free: 20.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.4874, allocations: 40.83 kB / 0.5386 GB, free: 20.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.4883, allocations: 2.272 MB / 0.5408 GB, free: 18.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.4886, allocations: 462.1 kB / 0.5413 GB, free: 18.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/0.4894, allocations: 0.9057 MB / 0.5421 GB, free: 17.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.4894, allocations: 308.5 kB / 0.5424 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.491, allocations: 1.457 MB / 0.5439 GB, free: 16.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.4936, allocations: 4.303 MB / 0.5481 GB, free: 10.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.5045, allocations: 8.078 MB / 0.556 GB, free: 1.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-05/0.5046, allocations: 35.94 kB / 0.556 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.008926/0.5136, allocations: 5.569 MB / 0.5614 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.5136, allocations: 52 kB / 0.5615 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-05/0.5137, allocations: 100 kB / 0.5616 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.5139, allocations: 132 kB / 0.5617 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.5177, allocations: 1.229 MB / 0.5629 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/0.5179, allocations: 203.2 kB / 0.5631 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.521, allocations: 255.1 kB / 0.5633 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/0.5214, allocations: 276 kB / 0.5636 GB, free: 9.352 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.00254/0.5239, allocations: 1.449 MB / 0.565 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.5244, allocations: 258.3 kB / 0.5653 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5266, allocations: 1.281 MB / 0.5665 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.5266, allocations: 12 kB / 0.5665 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5266, allocations: 0 / 0.5665 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5266, allocations: 11.92 kB / 0.5665 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.5332, allocations: 4.231 MB / 0.5707 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5332, allocations: 0 / 0.5707 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.535, allocations: 371.4 kB / 0.571 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.535, allocations: 7.938 kB / 0.571 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.5351, allocations: 19.67 kB / 0.571 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5351, allocations: 8.031 kB / 0.5711 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.5351, allocations: 3.938 kB / 0.5711 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.5396, allocations: 3.178 MB / 0.5742 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/0.5406, allocations: 311.3 kB / 0.5745 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.5408, allocations: 23.92 kB / 0.5745 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5419, allocations: 56.42 kB / 0.5745 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.542, allocations: 56.3 kB / 0.5746 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/0.5421, allocations: 29.12 kB / 0.5746 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002614/0.5448, allocations: 1.811 MB / 0.5764 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5448, allocations: 4 kB / 0.5764 GB, free: 12.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003084/0.5479, allocations: 0.6442 MB / 0.577 GB, free: 11.52 MB / 414.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.000346/0.5482, allocations: 135.8 kB / 0.5771 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005085/0.5533, allocations: 3.331 MB / 0.5804 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5533, allocations: 3.188 kB / 0.5804 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5544, allocations: 0.8075 MB / 0.5812 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.556, allocations: 286.2 kB / 0.5815 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.5647, allocations: 5.799 MB / 0.5871 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.567, allocations: 2.286 MB / 0.5894 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003047/0.57, allocations: 1.467 MB / 0.5908 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.5705, allocations: 175.4 kB / 0.591 GB, free: 13.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5705, allocations: 0 / 0.591 GB, free: 13.22 MB / 430.1 MB Notification: Performance of Templates: time 0.03904/0.6096, allocations: 19.01 MB / 0.6095 GB, free: 10.36 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)