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.0009324/0.0009324, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009092/0.0009092, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.891/0.891, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.01493/0.01493, allocations: 4.089 MB / 264 MB, free: 9.246 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 4 kB / 388.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.612e-05, allocations: 16.97 kB / 388.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.00572/0.005746, allocations: 7.12 MB / 396 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.009806, allocations: 3.395 MB / 399.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.01025, allocations: 43.75 kB / 399.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01158, allocations: 1.124 MB / 400.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.01315, allocations: 1.443 MB / 402 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.01381, allocations: 0.6185 MB / 402.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.01576, allocations: 3.168 MB / 405.8 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.01686, allocations: 1.703 MB / 407.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009794/0.01784, allocations: 1.403 MB / 408.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.01886, allocations: 1.422 MB / 410.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.01902, allocations: 180 kB / 410.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.0198, allocations: 0.854 MB / 411.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.02046, allocations: 1.165 MB / 412.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.02091, allocations: 0.7358 MB / 413.2 MB, free: 72 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1675/0.1884, allocations: 4.4 MB / 417.6 MB, free: 20.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1884, allocations: 0.75 kB / 417.6 MB, free: 20.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1884, allocations: 0 / 417.6 MB, free: 20.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.1885, allocations: 1.406 kB / 417.6 MB, free: 20.71 MB / 330.7 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.004399/0.1929, allocations: 3.191 MB / 420.8 MB, free: 19.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1929, allocations: 14.19 kB / 420.8 MB, free: 19.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/0.1962, allocations: 1.724 MB / 422.5 MB, free: 19.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.198, allocations: 1.399 MB / 423.9 MB, free: 18.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.1981, allocations: 141.8 kB / 424.1 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.1984, allocations: 184 kB / 424.3 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/0.205, allocations: 6.774 MB / 431 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.205, allocations: 36.98 kB / 431.1 MB, free: 16.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.2052, allocations: 89.11 kB / 431.2 MB, free: 16.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.2067, allocations: 1.455 MB / 432.6 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005663/0.2124, allocations: 5.987 MB / 438.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.2296, allocations: 25.96 MB / 464.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.2324, allocations: 1.932 MB / 466.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.2333, allocations: 0.9939 MB / 467.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.2333, allocations: 8 kB / 467.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2334, allocations: 49.84 kB / 467.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 4.969e-06/0.2334, allocations: 0 / 467.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.0111/0.2445, allocations: 8.225 MB / 475.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.2445, allocations: 170.5 kB / 475.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.247, allocations: 2.818 MB / 478.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.2471, allocations: 41.7 kB / 478.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.2481, allocations: 2.279 MB / 481.1 MB, free: 3.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.2484, allocations: 465.2 kB / 481.5 MB, free: 3.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007808/0.2491, allocations: 0.8924 MB / 482.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2492, allocations: 361.9 kB / 482.8 MB, free: 1.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.2506, allocations: 1.496 MB / 484.3 MB, free: 460 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.2533, allocations: 4.35 MB / 488.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004359/0.2577, allocations: 6.278 MB / 494.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.66e-05/0.2577, allocations: 32 kB / 494.9 MB, free: 3.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00518/0.2629, allocations: 5.579 MB / 0.4888 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.2629, allocations: 48 kB / 0.4888 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-05/0.263, allocations: 104 kB / 0.4889 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-05/0.2631, allocations: 132.8 kB / 0.489 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.2651, allocations: 1.24 MB / 0.4903 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.87e-05/0.2652, allocations: 207.2 kB / 0.4905 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.2668, allocations: 275.6 kB / 0.4907 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.267, allocations: 280 kB / 0.491 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002919/0.2699, allocations: 2.592 MB / 0.4935 GB, free: 8.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002664/0.2726, allocations: 4.353 MB / 0.4978 GB, free: 2.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004359/0.277, allocations: 6.242 MB / 0.5039 GB, free: 11.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.568e-05/0.277, allocations: 28 kB / 0.5039 GB, free: 11.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.005245/0.2822, allocations: 5.564 MB / 0.5093 GB, free: 5.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.2823, allocations: 48 kB / 0.5094 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/0.2823, allocations: 100.8 kB / 0.5095 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.451e-05/0.2824, allocations: 139 kB / 0.5096 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.2844, allocations: 1.232 MB / 0.5108 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.191e-05/0.2845, allocations: 199.2 kB / 0.511 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.286, allocations: 279.6 kB / 0.5113 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.2863, allocations: 276 kB / 0.5115 GB, free: 3.359 MB / 410.7 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.0006823/0.2869, allocations: 0.5515 MB / 0.5121 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.2871, allocations: 234.4 kB / 0.5123 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2885, allocations: 1.272 MB / 0.5135 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.2885, allocations: 16 kB / 0.5135 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2885, allocations: 0 / 0.5135 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2886, allocations: 7.969 kB / 0.5136 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/0.2929, allocations: 3.685 MB / 0.5171 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2929, allocations: 3.938 kB / 0.5172 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.2938, allocations: 375.3 kB / 0.5175 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2939, allocations: 4 kB / 0.5175 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.2939, allocations: 26.98 kB / 0.5175 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2939, allocations: 4 kB / 0.5175 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2939, allocations: 4 kB / 0.5175 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.2965, allocations: 3.202 MB / 0.5207 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.297, allocations: 378.3 kB / 0.521 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.2972, allocations: 16 kB / 0.5211 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.2977, allocations: 104.2 kB / 0.5212 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2978, allocations: 56.23 kB / 0.5212 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.2979, allocations: 32 kB / 0.5212 GB, free: 9.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0014/0.2993, allocations: 1.632 MB / 0.5228 GB, free: 7.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2993, allocations: 3.938 kB / 0.5228 GB, free: 7.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003719/0.303, allocations: 1.229 MB / 0.524 GB, free: 6.48 MB / 426.7 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.0003373/0.3033, allocations: 157.8 kB / 0.5242 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005262/0.3086, allocations: 5.702 MB / 0.5298 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3086, allocations: 0 / 0.5298 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.3093, allocations: 0.7647 MB / 0.5305 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.3102, allocations: 265.2 kB / 0.5308 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.3163, allocations: 6.055 MB / 0.5367 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.3177, allocations: 1.741 MB / 0.5384 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.3181, allocations: 200.5 kB / 0.5386 GB, free: 7.578 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3181, allocations: 0 / 0.5386 GB, free: 7.578 MB / 442.7 MB Notification: Performance of Templates: time 0.2115/0.5295, allocations: 39.65 MB / 0.5773 GB, free: 157.5 MB / 474.7 MB " [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: 6.216374839656055] Failed to read output from testmodel.py, exit status != 0: 0.5364164374768734 0.5461097610000001 0.35588325000000004 Calling exit ...