Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_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.001837/0.001837, allocations: 85.48 kB / 19.44 MB, free: 340 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.002048/0.002048, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.03155/0.03155, allocations: 4.081 MB / 263.6 MB, free: 9.094 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.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 334.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.983e-05, allocations: 4 kB / 334.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.006781/0.006811, allocations: 7.658 MB / 341.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.0122, allocations: 3.406 MB / 345.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.01317, allocations: 43.81 kB / 345.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.01528, allocations: 1.159 MB / 346.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.01799, allocations: 1.439 MB / 347.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.01896, allocations: 0.5729 MB / 348.4 MB, free: 428 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004414/0.02337, allocations: 3.115 MB / 351.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.0261, allocations: 1.716 MB / 353.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.02855, allocations: 1.383 MB / 354.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.03121, allocations: 1.43 MB / 356.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005265/0.03174, allocations: 176 kB / 356.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.03363, allocations: 0.8461 MB / 357.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.03514, allocations: 1.169 MB / 358.3 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.03674, allocations: 0.7241 MB / 359 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.04343, allocations: 4.372 MB / 363.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.04344, allocations: 4 kB / 363.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04344, allocations: 0 / 363.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.04356, allocations: 0 / 363.4 MB, free: 1.422 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.008386/0.05195, allocations: 3.718 MB / 367.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.05201, allocations: 12.02 kB / 367.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007339/0.05935, allocations: 2.031 MB / 369.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.06301, allocations: 1.297 MB / 370.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.06317, allocations: 131.7 kB / 370.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/0.06368, allocations: 180.2 kB / 370.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.07378, allocations: 4.378 MB / 375.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.0739, allocations: 31.7 kB / 375.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005782/0.07448, allocations: 91.89 kB / 375.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.07753, allocations: 1.448 MB / 376.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008691/0.08622, allocations: 2.491 MB / 379.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.169/0.2552, allocations: 33.84 MB / 413 MB, free: 54.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.2588, allocations: 1.041 MB / 414 MB, free: 54.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.2596, allocations: 364.3 kB / 414.4 MB, free: 54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.2596, allocations: 15.62 kB / 414.4 MB, free: 54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2596, allocations: 51.53 kB / 414.5 MB, free: 53.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 3.807e-06/0.2596, allocations: 3.438 kB / 414.5 MB, free: 53.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.01557/0.2752, allocations: 5.676 MB / 420.1 MB, free: 52.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.2753, allocations: 145.6 kB / 420.3 MB, free: 52.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.2791, allocations: 3.213 MB / 423.5 MB, free: 51.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.2792, allocations: 44.25 kB / 423.5 MB, free: 51.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.2805, allocations: 2.542 MB / 426.1 MB, free: 50.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/0.281, allocations: 0.4975 MB / 426.6 MB, free: 49.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.2823, allocations: 1.154 MB / 427.7 MB, free: 49.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2824, allocations: 0.5629 MB / 428.3 MB, free: 48.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.2835, allocations: 0.5179 MB / 428.8 MB, free: 48.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.2859, allocations: 4.884 MB / 433.7 MB, free: 42.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/0.2903, allocations: 6.1 MB / 439.8 MB, free: 35.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.392e-05/0.2903, allocations: 38.94 kB / 439.8 MB, free: 35.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.006288/0.2966, allocations: 3.934 MB / 443.8 MB, free: 31.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.2967, allocations: 48 kB / 443.8 MB, free: 31.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-05/0.2968, allocations: 100 kB / 443.9 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-05/0.2969, allocations: 132 kB / 444 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/0.3006, allocations: 1.238 MB / 445.3 MB, free: 30.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001256/0.3007, allocations: 199.2 kB / 445.5 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/0.3037, allocations: 279.6 kB / 445.7 MB, free: 29.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.304, allocations: 284 kB / 446 MB, free: 29.53 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = \"rad\" fixed = true stateSelect=StateSelect.prefer ) \"Relative rotation angle from frame_a to frame_b\" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"First derivative of angle phi (relative angular velocity)\" type: Real 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],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 553 * 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.001084/0.3051, allocations: 0.6107 MB / 446.6 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/0.3055, allocations: 254.1 kB / 446.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.3068, allocations: 0.6744 MB / 447.6 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.3068, allocations: 12 kB / 447.6 MB, free: 27.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3068, allocations: 0 / 447.6 MB, free: 27.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3068, allocations: 7.984 kB / 447.6 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.3129, allocations: 3.699 MB / 451.3 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3129, allocations: 4 kB / 451.3 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.3149, allocations: 363.3 kB / 451.6 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.3149, allocations: 4 kB / 451.6 MB, free: 23.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.315, allocations: 28.02 kB / 451.7 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.315, allocations: 4 kB / 451.7 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.315, allocations: 2.875 kB / 451.7 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.3173, allocations: 1.693 MB / 453.4 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.3178, allocations: 222.3 kB / 453.6 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3181, allocations: 19.83 kB / 453.6 MB, free: 21.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.3191, allocations: 87.86 kB / 453.7 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.3192, allocations: 52.41 kB / 453.7 MB, free: 21.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.3193, allocations: 35.92 kB / 453.8 MB, free: 21.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001773/0.3211, allocations: 1.303 MB / 455.1 MB, free: 20.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3211, allocations: 3.938 kB / 455.1 MB, free: 20.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003325/0.3244, allocations: 0.6757 MB / 455.8 MB, free: 19.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.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 (87): * Single equations (assignments): 84 * 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.0003519/0.3248, allocations: 161.9 kB / 455.9 MB, free: 19.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.3285, allocations: 2.208 MB / 458.1 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3285, allocations: 4 kB / 458.1 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000626/0.3291, allocations: 384.2 kB / 458.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.3308, allocations: 261.7 kB / 458.8 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.3371, allocations: 4.7 MB / 463.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.3385, allocations: 1.557 MB / 465 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002367/0.3408, allocations: 1.222 MB / 466.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.3413, allocations: 164.5 kB / 466.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3413, allocations: 0 / 466.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of Templates: time 0.03779/0.3791, allocations: 17.47 MB / 483.9 MB, free: 7.941 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.629537740955129]