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.001463/0.001463, allocations: 96.81 kB / 19.44 MB, free: 328 kB / 13.93 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.001691/0.001691, allocations: 157.3 kB / 22.75 MB, free: 1.664 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.02832/0.02832, allocations: 4.084 MB / 263.6 MB, free: 9.078 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.124e-06/2.124e-06, allocations: 0 / 334.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.939e-05, allocations: 2.312 kB / 334.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.007587/0.007617, allocations: 7.146 MB / 341.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006705/0.01432, allocations: 3.38 MB / 344.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.01581, allocations: 47.75 kB / 344.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.01834, allocations: 1.14 MB / 345.9 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.02195, allocations: 1.439 MB / 347.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.02336, allocations: 0.6352 MB / 347.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004625/0.02798, allocations: 3.162 MB / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.03153, allocations: 1.755 MB / 352.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.03403, allocations: 1.403 MB / 354.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.03652, allocations: 1.43 MB / 355.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.03687, allocations: 180 kB / 355.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.03867, allocations: 0.8501 MB / 356.7 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.03997, allocations: 1.165 MB / 357.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.04103, allocations: 0.7319 MB / 358.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006412/0.04745, allocations: 4.415 MB / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.04745, allocations: 0 / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04745, allocations: 0 / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.534e-05/0.04753, allocations: 0 / 363 MB, free: 1.762 MB / 282.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.006843/0.05437, allocations: 3.193 MB / 366.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.05442, allocations: 8.031 kB / 366.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007144/0.06156, allocations: 2.117 MB / 368.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.06478, allocations: 1.419 MB / 369.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.06494, allocations: 135.7 kB / 369.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.06533, allocations: 172.3 kB / 370.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.07851, allocations: 6.787 MB / 376.9 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.07865, allocations: 31.7 kB / 376.9 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/0.07918, allocations: 91.88 kB / 377 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/0.08209, allocations: 1.456 MB / 378.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.09562, allocations: 6.009 MB / 384.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04497/0.1406, allocations: 26.03 MB / 410.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1848/0.3253, allocations: 1.917 MB / 412.4 MB, free: 81.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.3267, allocations: 1.001 MB / 413.4 MB, free: 81.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.234e-05/0.3268, allocations: 13.62 kB / 413.4 MB, free: 81.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3268, allocations: 44.97 kB / 413.4 MB, free: 81.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 3.336e-06/0.3268, allocations: 0 / 413.4 MB, free: 81.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.01781/0.3446, allocations: 8.248 MB / 421.7 MB, free: 78.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3447, allocations: 171.2 kB / 421.9 MB, free: 78.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.3477, allocations: 2.819 MB / 424.7 MB, free: 77.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.3477, allocations: 41.7 kB / 424.7 MB, free: 77.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000959/0.3487, allocations: 2.266 MB / 427 MB, free: 75.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.349, allocations: 461.5 kB / 427.4 MB, free: 74.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/0.3498, allocations: 0.8932 MB / 428.3 MB, free: 74.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3499, allocations: 362.7 kB / 428.7 MB, free: 73.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.3517, allocations: 1.504 MB / 430.2 MB, free: 72.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.3544, allocations: 4.371 MB / 434.6 MB, free: 66.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/0.3597, allocations: 6.292 MB / 440.8 MB, free: 59.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-05/0.3597, allocations: 28 kB / 440.9 MB, free: 58.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007165/0.3669, allocations: 5.831 MB / 446.7 MB, free: 53.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.3669, allocations: 48 kB / 446.8 MB, free: 53.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-05/0.367, allocations: 103.1 kB / 446.9 MB, free: 53.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.3671, allocations: 140.7 kB / 447 MB, free: 52.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.3706, allocations: 1.251 MB / 448.2 MB, free: 51.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.942e-05/0.3707, allocations: 199.2 kB / 448.4 MB, free: 51.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.3734, allocations: 303.5 kB / 448.7 MB, free: 51.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.3737, allocations: 289.5 kB / 449 MB, free: 50.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003087/0.3768, allocations: 2.593 MB / 451.6 MB, free: 48.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002726/0.3795, allocations: 4.361 MB / 456 MB, free: 42.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004798/0.3843, allocations: 6.261 MB / 462.2 MB, free: 34.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.096e-05/0.3844, allocations: 28 kB / 462.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.007036/0.3914, allocations: 5.814 MB / 468.1 MB, free: 28.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.3914, allocations: 48 kB / 468.1 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-05/0.3915, allocations: 100 kB / 468.2 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.631e-05/0.3916, allocations: 136.8 kB / 468.4 MB, free: 28.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/0.395, allocations: 1.244 MB / 469.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.3951, allocations: 209.7 kB / 469.8 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.3979, allocations: 295.6 kB / 470.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/0.3982, allocations: 280 kB / 470.4 MB, free: 26.62 MB / 330.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.0008944/0.3991, allocations: 0.5424 MB / 470.9 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.3995, allocations: 258.5 kB / 471.2 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.4013, allocations: 1.287 MB / 472.4 MB, free: 24.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.4013, allocations: 19.88 kB / 472.5 MB, free: 24.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4013, allocations: 0 / 472.5 MB, free: 24.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.4013, allocations: 7.984 kB / 472.5 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/0.4066, allocations: 3.683 MB / 476.2 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4066, allocations: 0 / 476.2 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.4083, allocations: 375.4 kB / 476.5 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.4083, allocations: 4 kB / 476.5 MB, free: 20.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.4084, allocations: 24.03 kB / 476.5 MB, free: 20.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.4084, allocations: 7.938 kB / 476.6 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4084, allocations: 0 / 476.6 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.4118, allocations: 3.223 MB / 479.8 MB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000695/0.4125, allocations: 386.2 kB / 480.2 MB, free: 16.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.4128, allocations: 16 kB / 480.2 MB, free: 16.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4139, allocations: 107.8 kB / 480.3 MB, free: 16.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.4141, allocations: 60.33 kB / 480.3 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.4142, allocations: 28 kB / 480.4 MB, free: 16.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.4163, allocations: 1.632 MB / 482 MB, free: 14.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4163, allocations: 0 / 482 MB, free: 14.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006232/0.4225, allocations: 1.234 MB / 483.2 MB, free: 13.68 MB / 330.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.0004518/0.423, allocations: 155 kB / 483.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007958/0.4309, allocations: 5.727 MB / 489.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4309, allocations: 0 / 489.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009055/0.4318, allocations: 0.7639 MB / 489.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.4335, allocations: 269.2 kB / 490.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.4427, allocations: 5.858 MB / 496 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/0.4455, allocations: 1.74 MB / 497.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00649/0.452, allocations: 2.481 MB / 0.4885 GB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/0.4527, allocations: 164.5 kB / 0.4886 GB, free: 12.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.595e-06/0.4527, allocations: 0 / 0.4886 GB, free: 12.52 MB / 346.7 MB Notification: Performance of Templates: time 0.04855/0.5012, allocations: 19.1 MB / 0.5073 GB, free: 9.809 MB / 362.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: 5.858954071067274]