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.001763/0.001763, allocations: 103.9 kB / 16.4 MB, free: 6.465 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.001746/0.001746, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02405/0.02405, allocations: 5.232 MB / 296.4 MB, free: 9.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 409.7 MB, free: 26.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08799, allocations: 50.56 MB / 460.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008667/0.09669, allocations: 7.99 MB / 468.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006139/0.1029, allocations: 3.571 MB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008818/0.1038, allocations: 35.88 kB / 471.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.1059, allocations: 1.105 MB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.1085, allocations: 1.381 MB / 474.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1096, allocations: 0.5871 MB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.1124, allocations: 2.784 MB / 477.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.114, allocations: 1.658 MB / 479.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000918/0.1149, allocations: 0.903 MB / 480.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1163, allocations: 1.265 MB / 481.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.1166, allocations: 180 kB / 481.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.118, allocations: 0.9321 MB / 482.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008113/0.1188, allocations: 1.099 MB / 483.8 MB, free: 0 / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.1198, allocations: 1.355 MB / 485.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.1236, allocations: 4.426 MB / 489.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1237, allocations: 4 kB / 489.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1237, allocations: 0 / 489.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.429e-05/0.1237, allocations: 0 / 489.6 MB, free: 10.19 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.004868/0.1286, allocations: 3.172 MB / 492.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1286, allocations: 16.03 kB / 492.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/0.1343, allocations: 1.67 MB / 494.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.1365, allocations: 1.488 MB / 495.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.615e-05/0.1366, allocations: 139.7 kB / 496.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.1369, allocations: 183.9 kB / 496.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008442/0.1454, allocations: 6.746 MB / 0.4912 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-05/0.1455, allocations: 31.66 kB / 0.4912 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.1457, allocations: 87.89 kB / 0.4913 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.1481, allocations: 1.456 MB / 0.4927 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00947/0.1575, allocations: 5.998 MB / 0.4986 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2505/0.408, allocations: 27.47 MB / 0.5254 GB, free: 27.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/0.4125, allocations: 2.41 MB / 0.5278 GB, free: 26.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.4138, allocations: 1.079 MB / 0.5288 GB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.4139, allocations: 11.55 kB / 0.5288 GB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4139, allocations: 54.23 kB / 0.5289 GB, free: 25.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.277e-06/0.4139, allocations: 0 / 0.5289 GB, free: 25.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.01601/0.4299, allocations: 7.943 MB / 0.5366 GB, free: 22.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.43, allocations: 173.1 kB / 0.5368 GB, free: 21.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.4329, allocations: 2.925 MB / 0.5397 GB, free: 20.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.433, allocations: 46.45 kB / 0.5397 GB, free: 20.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008933/0.4339, allocations: 2.186 MB / 0.5418 GB, free: 18.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.4342, allocations: 446.7 kB / 0.5423 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008492/0.435, allocations: 0.904 MB / 0.5431 GB, free: 17.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.4351, allocations: 305.1 kB / 0.5434 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.4367, allocations: 1.496 MB / 0.5449 GB, free: 15.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.4393, allocations: 4.337 MB / 0.5491 GB, free: 9.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/0.4441, allocations: 6.263 MB / 0.5552 GB, free: 2.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.916e-05/0.4442, allocations: 28 kB / 0.5553 GB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007752/0.4519, allocations: 5.597 MB / 0.5607 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.452, allocations: 48 kB / 0.5608 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.4521, allocations: 100.8 kB / 0.5609 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.4522, allocations: 135.9 kB / 0.561 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/0.4561, allocations: 1.244 MB / 0.5622 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001394/0.4563, allocations: 199.2 kB / 0.5624 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.459, allocations: 246.5 kB / 0.5626 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.4593, allocations: 280 kB / 0.5629 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003576/0.4629, allocations: 2.605 MB / 0.5655 GB, free: 7.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003932/0.4668, allocations: 4.32 MB / 0.5697 GB, free: 1.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006425/0.4733, allocations: 6.239 MB / 0.5758 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.311e-05/0.4733, allocations: 32 kB / 0.5758 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.007931/0.4813, allocations: 5.569 MB / 0.5812 GB, free: 4.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.4813, allocations: 48 kB / 0.5813 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.838e-05/0.4814, allocations: 106.9 kB / 0.5814 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/0.4815, allocations: 132 kB / 0.5815 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.4854, allocations: 1.24 MB / 0.5827 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001521/0.4856, allocations: 195.2 kB / 0.5829 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.4883, allocations: 251.7 kB / 0.5832 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/0.4886, allocations: 280 kB / 0.5834 GB, free: 2.445 MB / 414.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.0009131/0.4895, allocations: 0.544 MB / 0.5839 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.4899, allocations: 244.8 kB / 0.5842 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.4921, allocations: 1.308 MB / 0.5855 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.4921, allocations: 12 kB / 0.5855 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4922, allocations: 4 kB / 0.5855 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4922, allocations: 7.922 kB / 0.5855 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.4985, allocations: 4.304 MB / 0.5897 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.4985, allocations: 4 kB / 0.5897 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.5005, allocations: 375.4 kB / 0.59 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.5005, allocations: 4 kB / 0.5901 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.5006, allocations: 16.86 kB / 0.5901 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5006, allocations: 4 kB / 0.5901 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5006, allocations: 11.97 kB / 0.5901 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.5046, allocations: 3.219 MB / 0.5932 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008128/0.5054, allocations: 453.8 kB / 0.5937 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.5057, allocations: 20 kB / 0.5937 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.5066, allocations: 68.09 kB / 0.5937 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.5068, allocations: 60.23 kB / 0.5938 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/0.5069, allocations: 28 kB / 0.5938 GB, free: 7.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002465/0.5094, allocations: 1.827 MB / 0.5956 GB, free: 5.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5094, allocations: 7.938 kB / 0.5956 GB, free: 5.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00553/0.5149, allocations: 1.19 MB / 0.5968 GB, free: 4.672 MB / 430.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.0003393/0.5153, allocations: 137.3 kB / 0.5969 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008968/0.5243, allocations: 5.952 MB / 0.6027 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5243, allocations: 0.6875 kB / 0.6027 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.5255, allocations: 0.8295 MB / 0.6035 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.5274, allocations: 285 kB / 0.6038 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/0.5369, allocations: 6.101 MB / 0.6098 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.539, allocations: 2.304 MB / 0.612 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.5398, allocations: 211.4 kB / 0.6122 GB, free: 4.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5398, allocations: 0 / 0.6122 GB, free: 4.875 MB / 446.1 MB Notification: Performance of Templates: time 0.05607/0.5959, allocations: 39.22 MB / 0.6505 GB, free: 13.71 MB / 494.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 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)