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.001097/0.001097, allocations: 114.8 kB / 16.37 MB, free: 6.012 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.001052/0.001052, allocations: 191.5 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.33/1.33, 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.02502/0.02502, allocations: 5.222 MB / 296.4 MB, free: 9.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2412, allocations: 50.56 MB / 409.2 MB, free: 29.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.006952/0.2482, allocations: 7.969 MB / 417.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.2537, allocations: 3.583 MB / 420.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009842/0.2547, allocations: 39.88 kB / 420.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.2565, allocations: 1.105 MB / 421.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.259, allocations: 1.385 MB / 423.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2601, allocations: 0.5877 MB / 423.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.2625, allocations: 2.779 MB / 426.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.2637, allocations: 1.665 MB / 428.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007995/0.2646, allocations: 0.8952 MB / 429.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009702/0.2655, allocations: 1.269 MB / 430.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.2658, allocations: 176 kB / 430.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.2669, allocations: 0.9243 MB / 431.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006006/0.2675, allocations: 1.106 MB / 432.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007911/0.2683, allocations: 1.355 MB / 434 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.2711, allocations: 4.418 MB / 438.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2711, allocations: 0 / 438.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2711, allocations: 0 / 438.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.81e-05/0.2712, allocations: 3.984 kB / 438.5 MB, free: 0.5898 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.005036/0.2762, allocations: 3.183 MB / 441.6 MB, free: 13.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2763, allocations: 8.031 kB / 441.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/0.2819, allocations: 1.662 MB / 443.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.2856, allocations: 1.5 MB / 444.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2857, allocations: 135.7 kB / 445 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.2861, allocations: 184 kB / 445.1 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009813/0.2959, allocations: 6.746 MB / 451.9 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-05/0.296, allocations: 31.66 kB / 451.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.2963, allocations: 91.89 kB / 452 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/0.2986, allocations: 1.456 MB / 453.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.3092, allocations: 5.998 MB / 459.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/0.3421, allocations: 27.46 MB / 486.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/0.3475, allocations: 2.412 MB / 489.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3491, allocations: 1.078 MB / 490.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.3492, allocations: 12.14 kB / 490.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.3492, allocations: 58.2 kB / 490.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.467e-06/0.3492, allocations: 0 / 490.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01911/0.3684, allocations: 7.934 MB / 498.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3685, allocations: 166.7 kB / 498.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/0.3724, allocations: 2.927 MB / 0.4897 GB, free: 15.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.3726, allocations: 41.69 kB / 0.4898 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.3741, allocations: 2.188 MB / 0.4919 GB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.3746, allocations: 454.5 kB / 0.4924 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.3757, allocations: 0.8966 MB / 0.4932 GB, free: 12.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3758, allocations: 305.1 kB / 0.4935 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.3781, allocations: 1.5 MB / 0.495 GB, free: 10.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004305/0.3824, allocations: 4.328 MB / 0.4992 GB, free: 4.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2049/0.5874, allocations: 6.267 MB / 0.5053 GB, free: 87.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.779e-05/0.5875, allocations: 29.97 kB / 0.5054 GB, free: 87.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00905/0.5966, allocations: 5.593 MB / 0.5108 GB, free: 85.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.5967, allocations: 49.34 kB / 0.5109 GB, free: 85.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.5968, allocations: 101.8 kB / 0.511 GB, free: 85.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.5969, allocations: 135.6 kB / 0.5111 GB, free: 85.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.6003, allocations: 1.245 MB / 0.5123 GB, free: 85.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001215/0.6005, allocations: 197.9 kB / 0.5125 GB, free: 85.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.6031, allocations: 253.4 kB / 0.5127 GB, free: 85.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.6033, allocations: 282.2 kB / 0.513 GB, free: 85.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002988/0.6063, allocations: 2.593 MB / 0.5155 GB, free: 84.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002629/0.609, allocations: 4.326 MB / 0.5198 GB, free: 79.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004552/0.6135, allocations: 6.23 MB / 0.5259 GB, free: 73.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.394e-05/0.6136, allocations: 29.31 kB / 0.5259 GB, free: 73.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.006699/0.6203, allocations: 5.575 MB / 0.5313 GB, free: 68.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.6203, allocations: 48 kB / 0.5314 GB, free: 68.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.359e-05/0.6204, allocations: 100 kB / 0.5315 GB, free: 68.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.038e-05/0.6205, allocations: 136 kB / 0.5316 GB, free: 68.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/0.6238, allocations: 1.236 MB / 0.5328 GB, free: 67.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.904e-05/0.624, allocations: 203.2 kB / 0.533 GB, free: 67.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.6265, allocations: 250.6 kB / 0.5332 GB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.6268, allocations: 276 kB / 0.5335 GB, free: 66.62 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.0008385/0.6276, allocations: 0.5525 MB / 0.534 GB, free: 66.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.6279, allocations: 244.6 kB / 0.5343 GB, free: 65.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6297, allocations: 1.308 MB / 0.5355 GB, free: 64.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.6297, allocations: 12 kB / 0.5356 GB, free: 64.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6298, allocations: 7.375 kB / 0.5356 GB, free: 64.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6298, allocations: 3.984 kB / 0.5356 GB, free: 64.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.6355, allocations: 4.3 MB / 0.5398 GB, free: 60.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6356, allocations: 0 / 0.5398 GB, free: 60.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.6373, allocations: 375.3 kB / 0.5401 GB, free: 59.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6373, allocations: 4 kB / 0.5401 GB, free: 59.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.6373, allocations: 21.81 kB / 0.5402 GB, free: 59.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.6374, allocations: 4 kB / 0.5402 GB, free: 59.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6374, allocations: 11.97 kB / 0.5402 GB, free: 59.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.6405, allocations: 3.214 MB / 0.5433 GB, free: 56.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/0.6414, allocations: 453.8 kB / 0.5437 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.6416, allocations: 16 kB / 0.5438 GB, free: 56.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.6425, allocations: 67.91 kB / 0.5438 GB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6426, allocations: 64.23 kB / 0.5439 GB, free: 56.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.6427, allocations: 27.52 kB / 0.5439 GB, free: 56.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001985/0.6447, allocations: 1.831 MB / 0.5457 GB, free: 54.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.6447, allocations: 0 / 0.5457 GB, free: 54.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005016/0.6497, allocations: 1.194 MB / 0.5469 GB, free: 53.01 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.0002978/0.65, allocations: 138.6 kB / 0.547 GB, free: 52.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007244/0.6573, allocations: 5.951 MB / 0.5528 GB, free: 46.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6573, allocations: 0 / 0.5528 GB, free: 46.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.6582, allocations: 0.8397 MB / 0.5536 GB, free: 46.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.6598, allocations: 277.3 kB / 0.5539 GB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007558/0.6673, allocations: 5.804 MB / 0.5596 GB, free: 40.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.6689, allocations: 2.304 MB / 0.5618 GB, free: 37.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004254/0.6732, allocations: 2.508 MB / 0.5643 GB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.6737, allocations: 167.4 kB / 0.5644 GB, free: 35.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6737, allocations: 0 / 0.5644 GB, free: 35.04 MB / 382.1 MB Notification: Performance of Templates: time 0.03414/0.7078, allocations: 19.48 MB / 0.5834 GB, free: 15.77 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 gbode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)