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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 83.08 kB / 19.16 MB, free: 2.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 167.3 kB / 22.44 MB, free: 5.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02754/0.02754, allocations: 4.094 MB / 263.3 MB, free: 12.69 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 63.91 kB / 388.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.11, allocations: 54.53 MB / 442.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009776/0.1198, allocations: 7.124 MB / 449.8 MB, free: 472 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1753/0.2951, allocations: 3.387 MB / 453.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/0.2957, allocations: 45.97 kB / 453.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2977, allocations: 1.124 MB / 454.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.3004, allocations: 1.418 MB / 455.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3015, allocations: 0.6215 MB / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.3049, allocations: 3.116 MB / 459.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.3071, allocations: 1.678 MB / 461.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.3093, allocations: 1.365 MB / 462.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.3115, allocations: 1.476 MB / 464.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005452/0.312, allocations: 181.8 kB / 464.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.3136, allocations: 0.8138 MB / 465.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008747/0.3145, allocations: 1.123 MB / 466.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009783/0.3155, allocations: 0.9823 MB / 467.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00467/0.3201, allocations: 4.655 MB / 471.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3201, allocations: 0 / 471.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3202, allocations: 0 / 471.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001176/0.3203, allocations: 9.875 kB / 471.8 MB, free: 6.707 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.00644/0.3267, allocations: 3.221 MB / 475.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3267, allocations: 12.72 kB / 475.1 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005802/0.3325, allocations: 1.759 MB / 476.8 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.3352, allocations: 1.41 MB / 478.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.3353, allocations: 133 kB / 478.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.3357, allocations: 184.9 kB / 478.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009687/0.3454, allocations: 6.794 MB / 485.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.948e-05/0.3455, allocations: 31.7 kB / 485.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.3457, allocations: 87.89 kB / 485.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002684/0.3484, allocations: 1.456 MB / 486.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.3604, allocations: 5.997 MB / 492.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03465/0.3951, allocations: 26.05 MB / 0.5068 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004911/0.4, allocations: 1.921 MB / 0.5087 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.4016, allocations: 0.9934 MB / 0.5097 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/0.4016, allocations: 11.94 kB / 0.5097 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.4017, allocations: 46.56 kB / 0.5097 GB, free: 8.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.246e-06/0.4017, allocations: 0 / 0.5097 GB, free: 8.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.02001/0.4217, allocations: 8.237 MB / 0.5177 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.4218, allocations: 178.6 kB / 0.5179 GB, free: 200 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/0.4258, allocations: 2.816 MB / 0.5207 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.4261, allocations: 41.7 kB / 0.5207 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.4279, allocations: 2.291 MB / 0.5229 GB, free: 10.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005931/0.4285, allocations: 472.5 kB / 0.5234 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.4297, allocations: 0.9091 MB / 0.5243 GB, free: 9.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4299, allocations: 361.8 kB / 0.5246 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/0.4325, allocations: 1.507 MB / 0.5261 GB, free: 7.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005154/0.4377, allocations: 4.365 MB / 0.5304 GB, free: 1.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/0.4461, allocations: 6.282 MB / 0.5365 GB, free: 10.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.4e-05/0.4462, allocations: 32 kB / 0.5365 GB, free: 10.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.011/0.4572, allocations: 5.597 MB / 0.542 GB, free: 4.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.4573, allocations: 52 kB / 0.542 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.4574, allocations: 100 kB / 0.5421 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.4575, allocations: 136 kB / 0.5423 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004429/0.462, allocations: 1.24 MB / 0.5435 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000186/0.4621, allocations: 203.2 kB / 0.5437 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.4654, allocations: 307.5 kB / 0.544 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/0.4659, allocations: 276 kB / 0.5442 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004648/0.4705, allocations: 2.606 MB / 0.5468 GB, free: 15.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005136/0.4757, allocations: 4.349 MB / 0.551 GB, free: 9.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008835/0.4845, allocations: 6.269 MB / 0.5571 GB, free: 2.172 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000103/0.4846, allocations: 32 kB / 0.5572 GB, free: 2.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01099/0.4956, allocations: 5.573 MB / 0.5626 GB, free: 12.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.04e-05/0.4957, allocations: 48 kB / 0.5627 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/0.4958, allocations: 100 kB / 0.5628 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.496, allocations: 136 kB / 0.5629 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/0.5002, allocations: 1.248 MB / 0.5641 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001985/0.5004, allocations: 199.2 kB / 0.5643 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/0.5036, allocations: 299.6 kB / 0.5646 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005971/0.5042, allocations: 276 kB / 0.5648 GB, free: 10.28 MB / 478.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.001289/0.5055, allocations: 0.5439 MB / 0.5654 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007257/0.5062, allocations: 234.4 kB / 0.5656 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.509, allocations: 1.28 MB / 0.5669 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/0.5091, allocations: 12 kB / 0.5669 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.5091, allocations: 3.938 kB / 0.5669 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.5091, allocations: 7.984 kB / 0.5669 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/0.5182, allocations: 3.692 MB / 0.5705 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5182, allocations: 0 / 0.5705 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.5201, allocations: 375.4 kB / 0.5708 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.5202, allocations: 7.984 kB / 0.5708 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.5203, allocations: 23.98 kB / 0.5709 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.5203, allocations: 5.188 kB / 0.5709 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5203, allocations: 3.938 kB / 0.5709 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/0.5257, allocations: 3.2 MB / 0.574 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.527, allocations: 382.3 kB / 0.5744 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006478/0.5277, allocations: 16 kB / 0.5744 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.5291, allocations: 99.83 kB / 0.5745 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.5293, allocations: 56.34 kB / 0.5745 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.5294, allocations: 39.92 kB / 0.5746 GB, free: 240 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003542/0.533, allocations: 1.632 MB / 0.5762 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.533, allocations: 0 / 0.5762 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00872/0.5417, allocations: 1.23 MB / 0.5774 GB, free: 13.36 MB / 494.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.0006891/0.5424, allocations: 151 kB / 0.5775 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01304/0.5554, allocations: 5.718 MB / 0.5831 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.5554, allocations: 7.938 kB / 0.5831 GB, free: 7.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.557, allocations: 0.7638 MB / 0.5838 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.5596, allocations: 263.6 kB / 0.5841 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.5737, allocations: 5.852 MB / 0.5898 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/0.5772, allocations: 1.739 MB / 0.5915 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007227/0.5845, allocations: 2.483 MB / 0.5939 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.5852, allocations: 164.5 kB / 0.5941 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/0.5852, allocations: 4 kB / 0.5941 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.04601/0.6313, allocations: 19.04 MB / 0.6127 GB, free: 9.434 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.614370033144951] Failed to read output from testmodel.py, exit status != 0: 0.6409741099923849 0.6565735580000001 0.33300133200000004 Calling exit ...